Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:gmcgarry:20090412111811

Diff

Diff from 1.25 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc/cc/cpp/Makefile.in

Annotated File View

gmcgarry
1.25
1 #       $Id: Makefile.in,v 1.25 2009/04/12 11:18:12 gmcgarry Exp $
ragge
1.1
2 #
3 # Makefile.in for cpp
4 #
ragge
1.17
5 VPATH=@srcdir@
6 srcdir=@srcdir@
7 top_srcdir=@top_srcdir@
8 builddir=@builddir@
9 top_builddir=@top_builddir@
gmcgarry
1.19
10 XFL=-DCPP_DEBUG
ragge
1.1
11
12 prefix = @prefix@
13 exec_prefix = @exec_prefix@
14 bindir = @bindir@
15 libexecdir = @libexecdir@
ragge
1.14
16 datarootdir = @datarootdir@
17 mandir = @mandir@
ragge
1.1
18 strip = @strip@
19 CC = @CC@
gmcgarry
1.24
20 EXEEXT = @EXEEXT@
gmcgarry
1.21
21 CFLAGS = @CFLAGS@ @ADD_CFLAGS@
gmcgarry
1.25
22 CPPFLAGS = @CPPFLAGS@ @ADD_CPPFLAGS@ ${XFL} -I${srcdir} -I${top_builddir} -I${builddir} -I${MIPDIR} -I${MDIR}
ragge
1.1
23 LIBS = @LIBS@
24 LDFLAGS = @LDFLAGS@
25 LEX = @LEX@
26 YACC = @YACC@
27 INSTALL = @INSTALL@
28 INSTALL_PROGRAM = @INSTALL_PROGRAM@
ragge
1.13
29 TARGMACH = @targmach@
ragge
1.1
30
ragge
1.13
31 OBJS=cpp.o cpy.o scanner.o compat.o
ragge
1.1
32 HEADERS=cpp.h
gmcgarry
1.23
33 DEST=@BINPREFIX@cpp$(EXEEXT)
ragge
1.1
34
ragge
1.17
35 MIPDIR=$(top_srcdir)/mip
36 MDIR=$(top_srcdir)/arch/$(TARGMACH)
ragge
1.13
37
ragge
1.1
38 all: ${DEST}
39
40 ${DEST}: $(OBJS) $(HEADERS)
41         $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
42
43 .c.o:
44         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $<
45
pj
1.5
46 .l.o:
ragge
1.1
47         $(LEX) $(LFLAGS) $<
gmcgarry
1.20
48         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ lex.yy.c
ragge
1.1
49
pj
1.5
50 .y.o:
ragge
1.7
51         $(YACC) -d $(YFLAGS) $<
pj
1.5
52         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ y.tab.c
ragge
1.1
53
ragge
1.13
54 compat.o: $(MIPDIR)/compat.c
55         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/compat.c
56
ragge
1.1
57 $(OBJS): $(HEADERS)
58
ragge
1.8
59 cpp.o: cpy.o
60
ragge
1.4
61 test:
ragge
1.3
62         ./cpp < tests/test1 > tests/run1
63         cmp tests/run1 tests/res1
64         ./cpp < tests/test2 > tests/run2
65         cmp tests/run2 tests/res2
66         ./cpp < tests/test3 > tests/run3
67         cmp tests/run3 tests/res3
68         ./cpp < tests/test4 > tests/run4
69         cmp tests/run4 tests/res4
ragge
1.7
70         ./cpp < tests/test5 > tests/run5
71         cmp tests/run5 tests/res5
72         ./cpp < tests/test6 > tests/run6
73         cmp tests/run6 tests/res6
74         ./cpp < tests/test7 > tests/run7
75         cmp tests/run7 tests/res7
76         ./cpp < tests/test8 > tests/run8
77         cmp tests/run8 tests/res8
ragge
1.10
78         ./cpp < tests/test9 > tests/run9
79         cmp tests/run9 tests/res9
ragge
1.2
80
81
ragge
1.1
82 install:
ragge
1.12
83         test -z "${DESTDIR}$(libexecdir)" || mkdir -p "${DESTDIR}$(libexecdir)"
84         ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${libexecdir}
ragge
1.1
85         @if [ ${strip} = yes ]; then            \
ragge
1.12
86                 strip ${DESTDIR}${libexecdir}/${DEST} ; \
87                 echo strip ${DESTDIR}${libexecdir}/${DEST} ;    \
ragge
1.1
88         fi
ragge
1.14
89         test -z "${DESTDIR}$(mandir)/man1" || mkdir -p "${DESTDIR}$(mandir)/man1"       
gmcgarry
1.22
90         ${INSTALL} $(srcdir)/cpp.1 ${DESTDIR}${mandir}/man1/$(DEST).1
ragge
1.1
91
92 clean:
gmcgarry
1.16
93         /bin/rm -f $(OBJS) $(DEST) lex.yy.c y.tab.[ch] tests/run*
ragge
1.1
94
95 distclean: clean
96         /bin/rm -f Makefile
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-23 21:49 +0200