Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20120925111717

Diff

Diff from 1.44 to:

Annotations

Annotate by Age | Author | Mixed | None
ragge (67) plunky (33) gmcgarry (2)
/fisheye/browse/pcc/pcc/cc/cpp/Makefile.in

Annotated File View

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