5 lib_LTLIBRARIES=libdispatch.la
7 libdispatch_la_SOURCES= \
26 semaphore_internal.h \
38 INCLUDES=-I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/private \
39 @APPLE_LIBC_SOURCE_PATH@ @APPLE_LIBCLOSURE_SOURCE_PATH@ @APPLE_XNU_SOURCE_PATH@
41 libdispatch_la_CFLAGS=-Wall $(VISIBILITY_FLAGS) $(OMIT_LEAF_FP_FLAGS)
42 libdispatch_la_CFLAGS+=$(MARCH_FLAGS) $(CBLOCKS_FLAGS) $(KQUEUE_CFLAGS)
44 libdispatch_la_LDFLAGS=-avoid-version
47 libdispatch_la_LDFLAGS+=-Wl,-compatibility_version,1 -Wl,-current_version,$(VERSION)
59 nodist_libdispatch_la_SOURCES=$(BUILT_SOURCES)
60 CLEANFILES+=$(BUILT_SOURCES)
62 %User.c %.h %Server.c %Server.h: $(abs_srcdir)/%.defs
63 $(MIG) -user $*User.c -header $*.h \
64 -server $*Server.c -sheader $*Server.h $<
68 # hack for pthread_machdep.h's #include <System/machine/cpu_capabilities.h>
69 $(libdispatch_la_OBJECTS): $(abs_srcdir)/System
71 $(LN_S) -fh "@APPLE_XNU_SOURCE_SYSTEM_PATH@" System