Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20141018150203

Diff

Diff from 1.51 to:

Annotations

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

Annotated File View

ragge
1.51
1 #       $Id: Makefile.in,v 1.51 2014/10/18 15:02:03 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@ \
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
ragge
1.51
37 OBJS=   compat.o cpp.o cpc.o token.o
plunky
1.43
38 HDRS=   cpp.h
ragge
1.1
39
ragge
1.51
40 $(OBJS): $(HDRS)
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
ragge
1.51
48 cpc.o: $(srcdir)/cpc.c
49         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/cpc.c
plunky
1.43
50
51 token.o: $(srcdir)/token.c
52         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/token.c
53
54 $(DEST): $(OBJS)
55         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
ragge
1.8
56
plunky
1.48
57 test: $(DEST)
58         @for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ; do                \
59                 echo -n "test$${n} " ;                                          \
60                 ./$(DEST) < tests/test$${n} > tests/run$${n} &&                 \
61                 cmp tests/run$${n} tests/res$${n} && echo ;                     \
62                 if test -f tests/res$${n}C ; then                               \
63                         echo -n "test$${n}C " ;                                 \
64                         ./$(DEST) -C < tests/test$${n} > tests/run$${n}C &&     \
65                         cmp tests/run$${n}C tests/res$${n}C && echo ;           \
66                 fi ;                                                            \
67         done
ragge
1.2
68
ragge
1.1
69 install:
plunky
1.42
70         test -z "$(DESTDIR)$(libexecdir)" || mkdir -p "$(DESTDIR)$(libexecdir)"
71         $(INSTALL_PROGRAM) $(DEST) $(DESTDIR)$(libexecdir)
72         test -z "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
73         $(INSTALL_DATA) $(srcdir)/cpp.1 $(DESTDIR)$(mandir)/man1/$(DEST).1
ragge
1.1
74
75 clean:
ragge
1.51
76         rm -f $(OBJS) $(DEST) tests/run*
ragge
1.1
77
78 distclean: clean
plunky
1.37
79         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-30 14:04 +0100