Two useful "regshell" improvements
[Samba.git] / source4 / lib / events / config.mk
blob127d9647754fa29c6404050cbcca94979d78af69
1 ##############################
2 [MODULE::EVENTS_AIO]
3 PRIVATE_DEPENDENCIES = LIBAIO_LINUX
4 SUBSYSTEM = LIBEVENTS
5 INIT_FUNCTION = s4_events_aio_init
6 ##############################
8 EVENTS_AIO_OBJ_FILES = $(libeventssrcdir)/events_aio.o
10 ##############################
11 [MODULE::EVENTS_EPOLL]
12 SUBSYSTEM = LIBEVENTS
13 INIT_FUNCTION = s4_events_epoll_init
14 ##############################
16 EVENTS_EPOLL_OBJ_FILES = $(libeventssrcdir)/events_epoll.o
18 ##############################
19 [MODULE::EVENTS_SELECT]
20 SUBSYSTEM = LIBEVENTS
21 INIT_FUNCTION = s4_events_select_init
22 ##############################
24 EVENTS_SELECT_OBJ_FILES = $(libeventssrcdir)/events_select.o
26 ##############################
27 [MODULE::EVENTS_STANDARD]
28 SUBSYSTEM = LIBEVENTS
29 INIT_FUNCTION = s4_events_standard_init
30 ##############################
32 EVENTS_STANDARD_OBJ_FILES = $(libeventssrcdir)/events_standard.o
34 ################################################
35 # Start SUBSYSTEM LIBEVENTS
36 [LIBRARY::LIBEVENTS]
37 PUBLIC_DEPENDENCIES = LIBTALLOC
38 OUTPUT_TYPE = MERGED_OBJ
39 CFLAGS = -Ilib/events
41 # End SUBSYSTEM LIBEVENTS
42 ################################################
44 LIBEVENTS_OBJ_FILES = $(addprefix $(libeventssrcdir)/, events.o events_timed.o events_signal.o events_debug.o events_util.o events_s4.o)
46 PUBLIC_HEADERS += $(addprefix $(libeventssrcdir)/, events.h events_internal.h)
48 [PYTHON::swig_events]
49 LIBRARY_REALNAME = samba/_events.$(SHLIBEXT)
50 PRIVATE_DEPENDENCIES = LIBEVENTS LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL
52 swig_events_OBJ_FILES = $(libeventssrcdir)/events_wrap.o
54 $(eval $(call python_py_module_template,samba/events.py,$(libeventssrcdir)/events.py))
56 $(swig_events_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
58 PC_FILES += $(libeventssrcdir)/events.pc