Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20120831193309

Diff

Diff from 1.43 to:

Annotations

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

Annotated File View

plunky
1.43
1 #       $Id: Makefile.in,v 1.43 2012/08/31 19:33:09 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.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 YACC = @YACC@
plunky
1.33
25 YFLAGS = @YFLAGS@
ragge
1.1
26 INSTALL = @INSTALL@
27 INSTALL_PROGRAM = @INSTALL_PROGRAM@
plunky
1.40
28 INSTALL_DATA = @INSTALL_DATA@
ragge
1.13
29 TARGMACH = @targmach@
ragge
1.1
30
ragge
1.17
31 MIPDIR=$(top_srcdir)/mip
32 MDIR=$(top_srcdir)/arch/$(TARGMACH)
ragge
1.13
33
plunky
1.43
34 DEST=@BINPREFIX@cpp$(EXEEXT)
35
plunky
1.42
36 all: $(DEST)
ragge
1.1
37
plunky
1.43
38 OBJS=   compat.o cpp.o cpy.o token.o
39 HDRS=   cpp.h
ragge
1.1
40
plunky
1.43
41 $(OBJS): $(HDRS) cpy.c
ragge
1.1
42
ragge
1.13
43 compat.o: $(MIPDIR)/compat.c
plunky
1.38
44         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(MIPDIR)/compat.c
ragge
1.13
45
plunky
1.43
46 cpp.o: $(srcdir)/cpp.c
47         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/cpp.c
ragge
1.1
48
plunky
1.43
49 cpy.c: $(srcdir)/cpy.y
50         $(YACC) $(YFLAGS) -d $(srcdir)/cpy.y
51         mv -f y.tab.c cpy.c
52         mv -f y.tab.h cpy.h
53
54 cpy.o: cpy.c
55         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ cpy.c
56
57 token.o: $(srcdir)/token.c
58         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/token.c
59
60 $(DEST): $(OBJS)
61         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
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
ragge
1.1
93 install:
plunky
1.42
94         test -z "$(DESTDIR)$(libexecdir)" || mkdir -p "$(DESTDIR)$(libexecdir)"
95         $(INSTALL_PROGRAM) $(DEST) $(DESTDIR)$(libexecdir)
96         @if [ $(strip) = yes ]; then            \
97                 strip $(DESTDIR)$(libexecdir)/$(DEST) ; \
98                 echo strip $(DESTDIR)$(libexecdir)/$(DEST) ;    \
ragge
1.1
99         fi
plunky
1.42
100         test -z "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
101         $(INSTALL_DATA) $(srcdir)/cpp.1 $(DESTDIR)$(mandir)/man1/$(DEST).1
ragge
1.1
102
103 clean:
plunky
1.43
104         rm -f $(OBJS) $(DEST) cpy.[ch] y.tab.[ch] tests/run*
ragge
1.1
105
106 distclean: clean
plunky
1.37
107         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-02 08:55 +0200