X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=0f13d2bffd65df25de92043b47225e28daa4d76b;hb=595adb9922885c2a05bc6917ee8f8f02f496e618;hp=4cfeaa27007536672d3de16952dd731bf7873ce5;hpb=349b25644067aa6754197a991c3ba00143d60a19;p=ashd.git diff --git a/lib/Makefile.am b/lib/Makefile.am index 4cfeaa2..0f13d2b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,7 +1,17 @@ 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 bufio.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 +pkginclude_HEADERS = utils.h mt.h log.h req.h proc.h mtio.h resp.h \ + cf.h bufio.h