Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20160308184213

Diff

Diff from 1.54 to:

Annotations

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

Annotated File View

ragge
1.54
1 #       $Id: Makefile.in,v 1.54 2016/03/08 18:42:13 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 CC = @CC@
gmcgarry
1.24
17 EXEEXT = @EXEEXT@
gmcgarry
1.21
18 CFLAGS = @CFLAGS@ @ADD_CFLAGS@
plunky
1.39
19 CPPFLAGS = @CPPFLAGS@ @ADD_CPPFLAGS@ \
ragge
1.54
20         -I$(srcdir) -I$(top_builddir) -I$(builddir) -I$(MIPDIR) -I$(MDIR) \
21         -I$(COMMONDIR)
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.54
33 COMMONDIR=$(top_srcdir)/common
ragge
1.13
34
plunky
1.43
35 DEST=@BINPREFIX@cpp$(EXEEXT)
plunky
1.53
36 MANPAGE=@BINPREFIX@cpp
plunky
1.43
37
plunky
1.42
38 all: $(DEST)
ragge
1.1
39
ragge
1.51
40 OBJS=   compat.o cpp.o cpc.o token.o
plunky
1.43
41 HDRS=   cpp.h
ragge
1.1
42
ragge
1.51
43 $(OBJS): $(HDRS)
ragge
1.1
44
ragge
1.54
45 compat.o: $(COMMONDIR)/compat.c
46         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(COMMONDIR)/compat.c
ragge
1.13
47
plunky
1.43
48 cpp.o: $(srcdir)/cpp.c
49         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/cpp.c
ragge
1.1
50
ragge
1.51
51 cpc.o: $(srcdir)/cpc.c
52         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/cpc.c
plunky
1.43
53
54 token.o: $(srcdir)/token.c
55         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/token.c
56
57 $(DEST): $(OBJS)
58         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
ragge
1.8
59
plunky
1.48
60 test: $(DEST)
ragge
1.52
61         @for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ; do     \
62                 echo -n "test$${n} " ;                                  \
63                 ./$(DEST) < tests/test$${n} > tests/run$${n} &&         \
64                 cmp tests/run$${n} tests/res$${n} && echo ;             \
65                 if test -f tests/res$${n}C ; then                       \
66                         echo -n "test$${n}C " ;                         \
67                         ./$(DEST) -C < tests/test$${n} > tests/run$${n}C && \
68                         cmp tests/run$${n}C tests/res$${n}C && echo ;   \
69                 fi ;                                                    \
plunky
1.48
70         done
ragge
1.2
71
ragge
1.1
72 install:
plunky
1.42
73         test -z "$(DESTDIR)$(libexecdir)" || mkdir -p "$(DESTDIR)$(libexecdir)"
74         $(INSTALL_PROGRAM) $(DEST) $(DESTDIR)$(libexecdir)
75         test -z "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
plunky
1.53
76         $(INSTALL_DATA) $(srcdir)/cpp.1 $(DESTDIR)$(mandir)/man1/$(MANPAGE).1
ragge
1.1
77
78 clean:
ragge
1.51
79         rm -f $(OBJS) $(DEST) tests/run*
ragge
1.1
80
81 distclean: clean
plunky
1.37
82         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 2016-09-29 17:14 +0200