document where the posix module is on Debian
[notion/jeffpc.git] / libmainloop / Makefile
blob77ec659472f9730da1d3b56d0d368b3c92d20d9b
1 ##
2 ## Libmainloop Makefile
3 ##
5 # System-specific configuration is in system.mk
6 TOPDIR=..
7 include $(TOPDIR)/build/system-inc.mk
9 ######################################
11 INCLUDES += $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I..
13 CFLAGS += $(POSIX_SOURCE) $(XOPEN_SOURCE) $(C99_SOURCE)
15 SOURCES = select.c defer.c signal.c hooks.c exec.c
17 #MAKE_EXPORTS=mainloop
19 TARGETS = libmainloop.a
21 ######################################
23 include $(TOPDIR)/build/rules.mk
25 ######################################
27 libmainloop.a: $(OBJS)
28 $(AR) $(ARFLAGS) $@ $+
29 $(RANLIB) $@
31 _install: