Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20120729172759

Diff

Diff from 1.41 to:

Annotations

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

Annotated File View

ragge
1.41
1 #       $Id: Makefile.in,v 1.41 2012/07/29 17:27:59 ragge 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.39
20 CPPFLAGS = @CPPFLAGS@ @ADD_CPPFLAGS@ \
21         -I$(srcdir) -I$(top_builddir) -I$(builddir) -I$(MIPDIR) -I$(MDIR)
ragge
1.1
22 LIBS = @LIBS@
23 LDFLAGS = @LDFLAGS@
24 LEX = @LEX@
25 YACC = @YACC@
plunky
1.33
26 YFLAGS = @YFLAGS@
ragge
1.1
27 INSTALL = @INSTALL@
28 INSTALL_PROGRAM = @INSTALL_PROGRAM@
plunky
1.40
29 INSTALL_DATA = @INSTALL_DATA@
ragge
1.13
30 TARGMACH = @targmach@
ragge
1.1
31
ragge
1.26
32 OBJS=cpp.o cpy.o token.o compat.o
ragge
1.1
33 HEADERS=cpp.h
gmcgarry
1.23
34 DEST=@BINPREFIX@cpp$(EXEEXT)
ragge
1.1
35
ragge
1.17
36 MIPDIR=$(top_srcdir)/mip
37 MDIR=$(top_srcdir)/arch/$(TARGMACH)
ragge
1.13
38
ragge
1.1
39 all: ${DEST}
40
41 ${DEST}: $(OBJS) $(HEADERS)
plunky
1.35
42         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
ragge
1.1
43
44 .c.o:
plunky
1.38
45         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
ragge
1.1
46
pj
1.5
47 .l.o:
ragge
1.1
48         $(LEX) $(LFLAGS) $<
plunky
1.38
49         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ lex.yy.c
ragge
1.1
50
pj
1.5
51 .y.o:
ragge
1.7
52         $(YACC) -d $(YFLAGS) $<
plunky
1.38
53         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ y.tab.c
ragge
1.1
54
ragge
1.13
55 compat.o: $(MIPDIR)/compat.c
plunky
1.38
56         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(MIPDIR)/compat.c
ragge
1.13
57
ragge
1.1
58 $(OBJS): $(HEADERS)
59
ragge
1.8
60 cpp.o: cpy.o
ragge
1.27
61 token.o: cpy.o
ragge
1.8
62
ragge
1.4
63 test:
ragge
1.3
64         ./cpp < tests/test1 > tests/run1
65         cmp tests/run1 tests/res1
66         ./cpp < tests/test2 > tests/run2
67         cmp tests/run2 tests/res2
68         ./cpp < tests/test3 > tests/run3
69         cmp tests/run3 tests/res3
70         ./cpp < tests/test4 > tests/run4
71         cmp tests/run4 tests/res4
ragge
1.7
72         ./cpp < tests/test5 > tests/run5
73         cmp tests/run5 tests/res5
74         ./cpp < tests/test6 > tests/run6
75         cmp tests/run6 tests/res6
76         ./cpp < tests/test7 > tests/run7
77         cmp tests/run7 tests/res7
78         ./cpp < tests/test8 > tests/run8
79         cmp tests/run8 tests/res8
ragge
1.10
80         ./cpp < tests/test9 > tests/run9
81         cmp tests/run9 tests/res9
ragge
1.28
82         ./cpp < tests/test10 > tests/run10
83         cmp tests/run10 tests/res10
ragge
1.29
84         ./cpp < tests/test11 > tests/run11
85         cmp tests/run11 tests/res11
86         ./cpp < tests/test12 > tests/run12
87         cmp tests/run12 tests/res12
ragge
1.30
88         ./cpp < tests/test13 > tests/run13
89         cmp tests/run13 tests/res13
ragge
1.41
90         ./cpp < tests/test14 > tests/run14
91         cmp tests/run14 tests/res14
ragge
1.2
92
93
ragge
1.1
94 install:
ragge
1.12
95         test -z "${DESTDIR}$(libexecdir)" || mkdir -p "${DESTDIR}$(libexecdir)"
96         ${INSTALL_PROGRAM} ${DEST} ${DESTDIR}${libexecdir}
ragge
1.1
97         @if [ ${strip} = yes ]; then            \
ragge
1.12
98                 strip ${DESTDIR}${libexecdir}/${DEST} ; \
99                 echo strip ${DESTDIR}${libexecdir}/${DEST} ;    \
ragge
1.1
100         fi
plunky
1.36
101         test -z "${DESTDIR}$(mandir)/man1" || mkdir -p "${DESTDIR}$(mandir)/man1"
plunky
1.40
102         ${INSTALL_DATA} $(srcdir)/cpp.1 ${DESTDIR}${mandir}/man1/$(DEST).1
ragge
1.1
103
104 clean:
plunky
1.37
105         rm -f $(OBJS) $(DEST) lex.yy.c y.tab.[ch] tests/run*
ragge
1.1
106
107 distclean: clean
plunky
1.37
108         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-10-31 10:54 +0100