Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20110608091425

Diff

Diff from 1.38 to:

Annotations

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

Annotated File View

plunky
1.38
1 #       $Id: Makefile.in,v 1.38 2011/06/08 09:14:25 plunky 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@
ragge
1.1
10 prefix = @prefix@
11 exec_prefix = @exec_prefix@
12 bindir = @bindir@
13 libexecdir = @libexecdir@
ragge
1.14
14 datarootdir = @datarootdir@
15 mandir = @mandir@
ragge
1.1
16 strip = @strip@
17 CC = @CC@
gmcgarry
1.24
18 EXEEXT = @EXEEXT@
gmcgarry
1.21
19 CFLAGS = @CFLAGS@ @ADD_CFLAGS@
plunky
1.32
20 CPPFLAGS = @CPPFLAGS@ @ADD_CPPFLAGS@ -I${srcdir} -I${top_builddir} -I${builddir} -I${MIPDIR} -I${MDIR}
ragge
1.1
21 LIBS = @LIBS@
22 LDFLAGS = @LDFLAGS@
23 LEX = @LEX@
24 YACC = @YACC@
plunky
1.33
25 YFLAGS = @YFLAGS@
ragge
1.1
26 INSTALL = @INSTALL@
27 INSTALL_PROGRAM = @INSTALL_PROGRAM@
ragge
1.13
28 TARGMACH = @targmach@
ragge
1.1
29
ragge
1.26
30 OBJS=cpp.o cpy.o token.o compat.o
ragge
1.1
31 HEADERS=cpp.h
gmcgarry
1.23
32 DEST=@BINPREFIX@cpp$(EXEEXT)
ragge
1.1
33
ragge
1.17
34 MIPDIR=$(top_srcdir)/mip
35 MDIR=$(top_srcdir)/arch/$(TARGMACH)
ragge
1.13
36
ragge
1.1
37 all: ${DEST}
38
39 ${DEST}: $(OBJS) $(HEADERS)
plunky
1.35
40         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
ragge
1.1
41
42 .c.o:
plunky
1.38
43         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
ragge
1.1
44
pj
1.5
45 .l.o:
ragge
1.1
46         $(LEX) $(LFLAGS) $<
plunky
1.38
47         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ lex.yy.c
ragge
1.1
48
pj
1.5
49 .y.o:
ragge
1.7
50         $(YACC) -d $(YFLAGS) $<
plunky
1.38
51         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ y.tab.c
ragge
1.1
52
ragge
1.13
53 compat.o: $(MIPDIR)/compat.c
plunky
1.38
54         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(MIPDIR)/compat.c
ragge
1.13
55
ragge
1.1
56 $(OBJS): $(HEADERS)
57
ragge
1.8
58 cpp.o: cpy.o
ragge
1.27
59 token.o: cpy.o
ragge
1.8
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.28
80         ./cpp < tests/test10 > tests/run10
81         cmp tests/run10 tests/res10
ragge
1.29
82         ./cpp < tests/test11 > tests/run11
83         cmp tests/run11 tests/res11
84         ./cpp < tests/test12 > tests/run12
85         cmp tests/run12 tests/res12
ragge
1.30
86         ./cpp < tests/test13 > tests/run13
87         cmp tests/run13 tests/res13
ragge
1.2
88
89
ragge
1.1
90 install:
ragge
1.12
91         test -z "${DESTDIR}$(libexecdir)" || mkdir -p "${DESTDIR}$(libexecdir)"
92         ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${libexecdir}
ragge
1.1
93         @if [ ${strip} = yes ]; then            \
ragge
1.12
94                 strip ${DESTDIR}${libexecdir}/${DEST} ; \
95                 echo strip ${DESTDIR}${libexecdir}/${DEST} ;    \
ragge
1.1
96         fi
plunky
1.36
97         test -z "${DESTDIR}$(mandir)/man1" || mkdir -p "${DESTDIR}$(mandir)/man1"
gmcgarry
1.22
98         ${INSTALL} $(srcdir)/cpp.1 ${DESTDIR}${mandir}/man1/$(DEST).1
ragge
1.1
99
100 clean:
plunky
1.37
101         rm -f $(OBJS) $(DEST) lex.yy.c y.tab.[ch] tests/run*
ragge
1.1
102
103 distclean: clean
plunky
1.37
104         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-07-11 06:38 +0200