Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20110603155608

Diff

Diff from 1.32 to:

Annotations

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

Annotated File View

plunky
1.32
1 #       $Id: Makefile.in,v 1.32 2011/06/03 15:56:08 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@
25 INSTALL = @INSTALL@
26 INSTALL_PROGRAM = @INSTALL_PROGRAM@
ragge
1.13
27 TARGMACH = @targmach@
ragge
1.1
28
ragge
1.26
29 OBJS=cpp.o cpy.o token.o compat.o
ragge
1.1
30 HEADERS=cpp.h
gmcgarry
1.23
31 DEST=@BINPREFIX@cpp$(EXEEXT)
ragge
1.1
32
ragge
1.17
33 MIPDIR=$(top_srcdir)/mip
34 MDIR=$(top_srcdir)/arch/$(TARGMACH)
ragge
1.13
35
ragge
1.1
36 all: ${DEST}
37
38 ${DEST}: $(OBJS) $(HEADERS)
39         $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
40
41 .c.o:
42         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $<
43
pj
1.5
44 .l.o:
ragge
1.1
45         $(LEX) $(LFLAGS) $<
gmcgarry
1.20
46         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ lex.yy.c
ragge
1.1
47
pj
1.5
48 .y.o:
ragge
1.7
49         $(YACC) -d $(YFLAGS) $<
pj
1.5
50         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ y.tab.c
ragge
1.1
51
ragge
1.13
52 compat.o: $(MIPDIR)/compat.c
53         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(MIPDIR)/compat.c
54
ragge
1.1
55 $(OBJS): $(HEADERS)
56
ragge
1.8
57 cpp.o: cpy.o
ragge
1.27
58 token.o: cpy.o
ragge
1.8
59
ragge
1.4
60 test:
ragge
1.3
61         ./cpp < tests/test1 > tests/run1
62         cmp tests/run1 tests/res1
63         ./cpp < tests/test2 > tests/run2
64         cmp tests/run2 tests/res2
65         ./cpp < tests/test3 > tests/run3
66         cmp tests/run3 tests/res3
67         ./cpp < tests/test4 > tests/run4
68         cmp tests/run4 tests/res4
ragge
1.7
69         ./cpp < tests/test5 > tests/run5
70         cmp tests/run5 tests/res5
71         ./cpp < tests/test6 > tests/run6
72         cmp tests/run6 tests/res6
73         ./cpp < tests/test7 > tests/run7
74         cmp tests/run7 tests/res7
75         ./cpp < tests/test8 > tests/run8
76         cmp tests/run8 tests/res8
ragge
1.10
77         ./cpp < tests/test9 > tests/run9
78         cmp tests/run9 tests/res9
ragge
1.28
79         ./cpp < tests/test10 > tests/run10
80         cmp tests/run10 tests/res10
ragge
1.29
81         ./cpp < tests/test11 > tests/run11
82         cmp tests/run11 tests/res11
83         ./cpp < tests/test12 > tests/run12
84         cmp tests/run12 tests/res12
ragge
1.30
85         ./cpp < tests/test13 > tests/run13
86         cmp tests/run13 tests/res13
ragge
1.2
87
88
ragge
1.1
89 install:
ragge
1.12
90         test -z "${DESTDIR}$(libexecdir)" || mkdir -p "${DESTDIR}$(libexecdir)"
91         ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${libexecdir}
ragge
1.1
92         @if [ ${strip} = yes ]; then            \
ragge
1.12
93                 strip ${DESTDIR}${libexecdir}/${DEST} ; \
94                 echo strip ${DESTDIR}${libexecdir}/${DEST} ;    \
ragge
1.1
95         fi
ragge
1.14
96         test -z "${DESTDIR}$(mandir)/man1" || mkdir -p "${DESTDIR}$(mandir)/man1"       
gmcgarry
1.22
97         ${INSTALL} $(srcdir)/cpp.1 ${DESTDIR}${mandir}/man1/$(DEST).1
ragge
1.1
98
99 clean:
gmcgarry
1.16
100         /bin/rm -f $(OBJS) $(DEST) lex.yy.c y.tab.[ch] tests/run*
ragge
1.1
101
102 distclean: clean
103         /bin/rm -f Makefile
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-21 07:12 +0100