chiark / gitweb /
Make sure that the bits testcase gets its test vector from the source
[mLib] / Makefile.am
index 1c21f822e5314f978d829de6e29aa5a4b9bd60e0..4a2a0185434043ca553736b6196b6aaf31335f65 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.23 2000/07/29 10:06:10 mdw Exp $
+## $Id: Makefile.am,v 1.26 2000/10/14 16:46:44 mdw Exp $
 ##
 ## Building the distribution
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.26  2000/10/14 16:46:44  mdw
+## Make sure that the bits testcase gets its test vector from the source
+## directory.
+##
+## Revision 1.25  2000/10/08 11:20:57  mdw
+## Clean some more files.
+##
+## Revision 1.24  2000/10/08 11:08:25  mdw
+## (crc-mktab): now requires str.c.
+##
 ## Revision 1.23  2000/07/29 10:06:10  mdw
 ## Support `make -j' building.
 ##
@@ -122,7 +132,7 @@ crc32-tab.c: crc-mktab
                -p0x04c11db7 -b32 -B8 -r \
                -c -scrc32_table -icrc32.h -tuint32 -ocrc32-tab.c
 
-crc_mktab_SOURCES = crc-mktab.c mdwopt.c quis.c pquis.c report.c
+crc_mktab_SOURCES = crc-mktab.c mdwopt.c quis.c pquis.c report.c str.c
 
 ## --- Test code ---
 
@@ -155,6 +165,8 @@ sym-test.test: sym-test sym-test.in sym-test.ref
 bits_t_SOURCES = bits.c
 bits_t_LDADD = libmLib.la
 bits_t_LDFLAGS = -static
+bits.o: bits.c
+       $(COMPILE) -c -DSRCDIR=\"$(srcdir)\" $(srcdir)/bits.c -o bits.o
 bits-test: bits.t
        ./bits.t -f $(srcdir)/bits.test
 
@@ -186,7 +198,8 @@ bres.lo: $(srcdir)/bres.c
 install-man:
        (cd man && make install-man)
 
-CLEANFILES = $(TEST_CLEAN)
+CLEANFILES = $(TEST_CLEAN) crc32-tab.c
+DISTCLEANFILES = libtool
 EXTRA_DIST = $(TEST_DIST)
 
 ##----- That's all, folks ---------------------------------------------------