Quick Search:

Mode

Context

Displaying the whole file. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.47
 
1.48
 
MAIN:plunky:20121107100358
 
Makefile.in
_>11 #       $Id$
 22 #
 33 # Makefile.in for cpp
 44 #
 55 VPATH=@srcdir@
 66 srcdir=@srcdir@
 77 top_srcdir=@top_srcdir@
 88 builddir=@builddir@
 99 top_builddir=@top_builddir@
 1010 prefix = @prefix@
 1111 exec_prefix = @exec_prefix@
 1212 bindir = @bindir@
 1313 libexecdir = @libexecdir@
 1414 datarootdir = @datarootdir@
 1515 mandir = @mandir@
 1616 CC = @CC@
 1717 EXEEXT = @EXEEXT@
 1818 CFLAGS = @CFLAGS@ @ADD_CFLAGS@
 1919 CPPFLAGS = @CPPFLAGS@ @ADD_CPPFLAGS@ \
 2020         -I$(srcdir) -I$(top_builddir) -I$(builddir) -I$(MIPDIR) -I$(MDIR)
 2121 LIBS = @LIBS@
 2222 LDFLAGS = @LDFLAGS@
 2323 YACC = @YACC@
 2424 YFLAGS = @YFLAGS@
 2525 INSTALL = @INSTALL@
 2626 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 2727 INSTALL_DATA = @INSTALL_DATA@
 2828 TARGMACH = @targmach@
 2929 
 3030 MIPDIR=$(top_srcdir)/mip
 3131 MDIR=$(top_srcdir)/arch/$(TARGMACH)
 3232 
 3333 DEST=@BINPREFIX@cpp$(EXEEXT)
 3434 
 3535 all: $(DEST)
 3636 
 3737 OBJS=   compat.o cpp.o cpy.o token.o
 3838 HDRS=   cpp.h
 3939 
 4040 $(OBJS): $(HDRS) cpy.c
 4141 
 4242 compat.o: $(MIPDIR)/compat.c
 4343         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(MIPDIR)/compat.c
 4444 
 4545 cpp.o: $(srcdir)/cpp.c
 4646         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/cpp.c
 4747 
 4848 cpy.c: $(srcdir)/cpy.y
 4949         $(YACC) $(YFLAGS) -d $(srcdir)/cpy.y
 5050         mv -f y.tab.c cpy.c
 5151         mv -f y.tab.h cpy.h
 5252 
 5353 cpy.o: cpy.c
 5454         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ cpy.c
 5555 
 5656 token.o: $(srcdir)/token.c
 5757         $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(srcdir)/token.c
 5858 
 5959 $(DEST): $(OBJS)
 6060         $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
 6161 
<>62 -test:
 63 -        ./cpp < tests/test1 > tests/run1
 64 -        cmp tests/run1 tests/res1
 65 -        ./cpp < tests/test2 > tests/run2
 66 -        cmp tests/run2 tests/res2
 67 -        ./cpp < tests/test3 > tests/run3
 68 -        cmp tests/run3 tests/res3
 69 -        ./cpp < tests/test4 > tests/run4
 70 -        cmp tests/run4 tests/res4
 71 -        ./cpp < tests/test5 > tests/run5
 72 -        cmp tests/run5 tests/res5
 73 -        ./cpp < tests/test6 > tests/run6
 74 -        cmp tests/run6 tests/res6
 75 -        ./cpp < tests/test7 > tests/run7
 76 -        cmp tests/run7 tests/res7
 77 -        ./cpp < tests/test8 > tests/run8
 78 -        cmp tests/run8 tests/res8
 79 -        ./cpp < tests/test9 > tests/run9
 80 -        cmp tests/run9 tests/res9
 81 -        ./cpp < tests/test10 > tests/run10
 82 -        cmp tests/run10 tests/res10
 83 -        ./cpp < tests/test11 > tests/run11
 84 -        cmp tests/run11 tests/res11
 85 -        ./cpp < tests/test12 > tests/run12
 86 -        cmp tests/run12 tests/res12
 87 -        ./cpp < tests/test13 > tests/run13
 88 -        cmp tests/run13 tests/res13
 89 -        ./cpp < tests/test14 > tests/run14
 90 -        cmp tests/run14 tests/res14
 91 -        ./cpp < tests/test15 > tests/run15
 92 -        cmp tests/run15 tests/res15
 93 -        ./cpp -C < tests/test15 > tests/run15C
 94 -        cmp tests/run15C tests/res15C
 95 -        ./cpp < tests/test16 > tests/run16
 96 -        cmp tests/run16 tests/res16
 97 -        ./cpp -C < tests/test16 > tests/run16C
 98 -        cmp tests/run16C tests/res16C
 99 -        ./cpp < tests/test17 > tests/run17
 100 -        cmp tests/run17 tests/res17
  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
<_10173 
 10274 install:
 10375         test -z "$(DESTDIR)$(libexecdir)" || mkdir -p "$(DESTDIR)$(libexecdir)"
 10476         $(INSTALL_PROGRAM) $(DEST) $(DESTDIR)$(libexecdir)
 10577         test -z "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
 10678         $(INSTALL_DATA) $(srcdir)/cpp.1 $(DESTDIR)$(mandir)/man1/$(DEST).1
 10779 
 10880 clean:
 10981         rm -f $(OBJS) $(DEST) cpy.[ch] y.tab.[ch] tests/run*
 11082 
 11183 distclean: clean
 11284         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-08-20 06:53 +0200