5 lib_LTLIBRARIES=libdispatch.la
7 libdispatch_la_SOURCES= \
27 semaphore_internal.h \
38 AM_CPPFLAGS=-I$(top_builddir) -I$(top_srcdir) \
39 -I$(top_srcdir)/private -I$(top_srcdir)/os
41 AM_CFLAGS=-Wall $(VISIBILITY_FLAGS) $(OMIT_LEAF_FP_FLAGS) \
42 $(MARCH_FLAGS) $(CBLOCKS_FLAGS) $(KQUEUE_CFLAGS)
44 libdispatch_la_LDFLAGS=-avoid-version
47 libdispatch_la_LDFLAGS+=-Wl,-compatibility_version,1 \
48 -Wl,-current_version,$(VERSION) -Wl,-dead_strip
52 libdispatch_la_SOURCES+=object.m
53 libdispatch_la_OBJCFLAGS=$(AM_CFLAGS) -fobjc-gc
54 libdispatch_la_LDFLAGS+=-Wl,-upward-lobjc -Wl,-upward-lauto \
55 -Wl,-order_file,$(top_srcdir)/xcodeconfig/libdispatch.order \
56 -Wl,-alias_list,$(top_srcdir)/xcodeconfig/libdispatch.aliases \
57 -Wl,-unexported_symbols_list,$(top_srcdir)/xcodeconfig/libdispatch.unexport
61 DISTCLEANFILES=System objc
70 nodist_libdispatch_la_SOURCES=$(BUILT_SOURCES)
71 CLEANFILES+=$(BUILT_SOURCES)
73 %User.c %.h %Server.c %Server.h: $(abs_srcdir)/%.defs
74 $(MIG) -user $*User.c -header $*.h \
75 -server $*Server.c -sheader $*Server.h $<