Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20121107100358

Diff

Diff from 1.48 to:

Annotations

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

Annotated File View

plunky
1.48
1 #       $Id: Makefile.in,v 1.48 2012/11/07 10:03:58 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
plunky
1.48
62 test: $(DEST)
63         @for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ; do                \
64                 echo -n "test$${n} " ;                                          \
65                 ./$(DEST) < tests/test$${n} > tests/run$${n} &&                 \
66                 cmp tests/run$${n} tests/res$${n} && echo ;                     \
67                 if test -f tests/res$${n}C ; then                               \
68                         echo -n "test$${n}C " ;                                 \
69                         ./$(DEST) -C < tests/test$${n} > tests/run$${n}C &&     \
70                         cmp tests/run$${n}C tests/res$${n}C && echo ;           \
71                 fi ;                                                            \
72         done
ragge
1.2
73
ragge
1.1
74 install:
plunky
1.42
75         test -z "$(DESTDIR)$(libexecdir)" || mkdir -p "$(DESTDIR)$(libexecdir)"
76         $(INSTALL_PROGRAM) $(DEST) $(DESTDIR)$(libexecdir)
77         test -z "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
78         $(INSTALL_DATA) $(srcdir)/cpp.1 $(DESTDIR)$(mandir)/man1/$(DEST).1
ragge
1.1
79
80 clean:
plunky
1.43
81         rm -f $(OBJS) $(DEST) cpy.[ch] y.tab.[ch] tests/run*
ragge
1.1
82
83 distclean: clean
plunky
1.37
84         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 00:50 +0100