chiark / gitweb /
automakeified, compiles, now for clean -x test
[innduct.git] / Makefile.am
diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..d81c8e5
--- /dev/null
@@ -0,0 +1,17 @@
+AUTOMAKE_OPTIONS=foreign
+
+INCLUDES = -I/usr/include/inn
+
+bin_PROGRAMS = innduct
+innduct_SOURCES = innduct.c __oop-read-copy.c
+innduct_LDADD = -L/usr/lib/news -lstorage -linn -lm -loop
+
+autoconf:
+       aclocal-1.4
+       autoheader2.50
+       autoconf2.50
+       automake-1.4
+       perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \
+               Makefile.in
+
+GENERATED_SHIP = configure config.h.in Makefile.in