2 ## Libmainloop Makefile
5 # System-specific configuration is in system.mk
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
) $@
$+