X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=81168051a876d18b6a2d5828daac08050721e69f;hb=945d02f51b66c1ca7b8ae959cd06b4f9ebbd0954;hp=4de81667737bb89a8f06ca30ae844077e9ab6fd6;hpb=06c1a7183754349e29a6f4656d88d3f89e4f448a;p=ashd.git diff --git a/lib/Makefile.am b/lib/Makefile.am index 4de8166..8116805 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,5 +1,11 @@ -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 cf.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 +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