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