Use libmagic for sendfile.
[ashd.git] / src / Makefile.am
index 2ce8c7d..db9f833 100644 (file)
@@ -1,4 +1,4 @@
-bin_PROGRAMS = htparser dirplex sendfile callcgi
+bin_PROGRAMS = htparser dirplex sendfile callcgi patplex
 noinst_PROGRAMS = debugsink
 
 htparser_SOURCES = htparser.c
@@ -7,3 +7,5 @@ debugsink_SOURCES = debugsink.c
 
 LDADD = $(top_srcdir)/lib/libht.a
 AM_CPPFLAGS = -I$(top_srcdir)/lib
+
+sendfile_LDADD = $(LDADD) -lmagic