X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=30de42a29b90d0e36d6aeb822d13bf412a835f3c;hb=10f3ffeba5689f21f405caf2f93a3953ae5f1c80;hp=74dec1ad778020561d0a56b0bb0bddf7c485ec8a;hpb=e1cdf02ebc900813c2395c58ee528440a9699e18;p=ashd.git diff --git a/lib/Makefile.am b/lib/Makefile.am index 74dec1a..30de42a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,5 +1,15 @@ -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_CPPFLAGS = -D_GNU_SOURCE +libht_a_SOURCES = utils.c mt.c log.c req.c proc.c mtio.c resp.c cf.c +libht_a_CFLAGS = -fPIC +if USE_EPOLL +libht_a_SOURCES += mtio-epoll.c +else +if USE_KQUEUE +libht_a_SOURCES += mtio-kqueue.c +else +libht_a_SOURCES += mtio-select.c +endif +endif + +pkginclude_HEADERS = utils.h mt.h log.h req.h proc.h mtio.h resp.h cf.h