X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=d48cfb641d51522f91f751a1751fcfb479874406;hb=2824afabef34b9bd0aa41644c7da1858d1532da8;hp=c5471a8aab159591db2d2c53ca22d16bd9b8c0c3;hpb=d422fdfd62d851b345562ad4d093465d2bec604b;p=ashd.git diff --git a/lib/Makefile.am b/lib/Makefile.am index c5471a8..d48cfb6 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,4 +1,12 @@ -noinst_LIBRARIES = libht.a +lib_LIBRARIES = libht.a -libht_a_SOURCES = utils.c mt.c log.c req.c proc.c mtio.c resp.c -libht_a_CFLAGS = -fPIC +libht_a_SOURCES = utils.c mt.c log.c req.c proc.c mtio.c resp.c cf.c +libht_a_CFLAGS = -fPIC +libht_a_CPPFLAGS = -D_GNU_SOURCE +if USE_EPOLL +libht_a_SOURCES += mtio-epoll.c +else +libht_a_SOURCES += mtio-select.c +endif + +pkginclude_HEADERS = utils.h mt.h log.h req.h proc.h mtio.h resp.h cf.h