Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20141222220622

Diff

Diff from 1.53 to:

Annotations

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

Annotated File View

plunky
1.53
1 #       $Id: Makefile.in,v 1.53 2014/12/22 22:06:22 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)
plunky
1.53
34 MANPAGE=@BINPREFIX@cpp
plunky
1.43
35
plunky
1.42
36 all: $(DEST)
ragge
1.1
37
ragge
1.51
38 OBJS=   compat.o cpp.o cpc.o token.o
plunky
1.43
39 HDRS=   cpp.h
ragge
1.1
40
ragge
1.51
41 $(OBJS): $(HDRS)
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
ragge
1.51
49 cpc.o: $(srcdir)/cpc.c
50         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/cpc.c
plunky
1.43
51
52 token.o: $(srcdir)/token.c
53         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/token.c
54
55 $(DEST): $(OBJS)
56         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
ragge
1.8
57
plunky
1.48
58 test: $(DEST)
ragge
1.52
59         @for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ; do     \
60                 echo -n "test$${n} " ;                                  \
61                 ./$(DEST) < tests/test$${n} > tests/run$${n} &&         \
62                 cmp tests/run$${n} tests/res$${n} && echo ;             \
63                 if test -f tests/res$${n}C ; then                       \
64                         echo -n "test$${n}C " ;                         \
65                         ./$(DEST) -C < tests/test$${n} > tests/run$${n}C && \
66                         cmp tests/run$${n}C tests/res$${n}C && echo ;   \
67                 fi ;                                                    \
plunky
1.48
68         done
ragge
1.2
69
ragge
1.1
70 install:
plunky
1.42
71         test -z "$(DESTDIR)$(libexecdir)" || mkdir -p "$(DESTDIR)$(libexecdir)"
72         $(INSTALL_PROGRAM) $(DEST) $(DESTDIR)$(libexecdir)
73         test -z "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
plunky
1.53
74         $(INSTALL_DATA) $(srcdir)/cpp.1 $(DESTDIR)$(mandir)/man1/$(MANPAGE).1
ragge
1.1
75
76 clean:
ragge
1.51
77         rm -f $(OBJS) $(DEST) tests/run*
ragge
1.1
78
79 distclean: clean
plunky
1.37
80         rm -f Makefile
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2015-06-02 15:44 +0200