]> granicus.if.org Git - libexpat/commitdiff
Build & run the test suite.
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 17 Aug 2001 19:16:41 +0000 (19:16 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 17 Aug 2001 19:16:41 +0000 (19:16 +0000)
expat/tests/Makefile.in [new file with mode: 0644]

diff --git a/expat/tests/Makefile.in b/expat/tests/Makefile.in
new file mode 100644 (file)
index 0000000..fc8c47f
--- /dev/null
@@ -0,0 +1,21 @@
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+
+CC=@CC@
+CPPFLAGS = @CPPFLAGS@ -I../lib
+LDFLAGS = @LDFLAGS@ -L../lib
+LIBS = @LIBS@ -lexpat -lcheck
+CFLAGS = @CFLAGS@
+
+
+check: runtests
+       @./runtests
+
+runtests.o:  runtests.c
+       $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
+runtests:  runtests.o
+       $(CC) $(LDFLAGS) $< -o $@ $(LIBS)