1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
samba-mirror/lib/tevent/config.mk
2008-12-17 13:31:29 +01:00

60 lines
1.7 KiB
Makefile

##############################
[MODULE::TEVENT_AIO]
PRIVATE_DEPENDENCIES = LIBAIO_LINUX
SUBSYSTEM = LIBTEVENT
INIT_FUNCTION = s4_events_aio_init
##############################
TEVENT_AIO_OBJ_FILES = $(libteventsrcdir)/tevent_aio.o
##############################
[MODULE::TEVENT_EPOLL]
SUBSYSTEM = LIBTEVENT
INIT_FUNCTION = s4_events_epoll_init
##############################
TEVENT_EPOLL_OBJ_FILES = $(libteventsrcdir)/tevent_epoll.o
##############################
[MODULE::TEVENT_SELECT]
SUBSYSTEM = LIBTEVENT
INIT_FUNCTION = s4_events_select_init
##############################
TEVENT_SELECT_OBJ_FILES = $(libteventsrcdir)/tevent_select.o
##############################
[MODULE::TEVENT_STANDARD]
SUBSYSTEM = LIBTEVENT
INIT_FUNCTION = s4_events_standard_init
##############################
TEVENT_STANDARD_OBJ_FILES = $(libteventsrcdir)/tevent_standard.o
################################################
# Start SUBSYSTEM LIBTEVENT
[LIBRARY::LIBTEVENT]
PUBLIC_DEPENDENCIES = LIBTALLOC
OUTPUT_TYPE = MERGED_OBJ
CFLAGS = -I../lib/tevent
#
# End SUBSYSTEM LIBTEVENT
################################################
LIBTEVENT_OBJ_FILES = $(addprefix $(libteventsrcdir)/, tevent.o tevent_timed.o tevent_signal.o tevent_debug.o tevent_util.o tevent_s4.o)
PUBLIC_HEADERS += $(addprefix $(libteventsrcdir)/, tevent.h tevent_internal.h)
# TODO: Change python stuff to tevent
[PYTHON::swig_events]
LIBRARY_REALNAME = samba/_events.$(SHLIBEXT)
PRIVATE_DEPENDENCIES = LIBTEVENT LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL
swig_events_OBJ_FILES = $(libteventsrcdir)/events_wrap.o
$(eval $(call python_py_module_template,samba/events.py,$(libteventsrcdir)/events.py))
$(swig_events_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
PC_FILES += $(libteventsrcdir)/tevent.pc