Commit e5647f1d authored by Martti Mela's avatar Martti Mela

su/Makefile.am: OSX related files optionalized

darcs-hash:20060927225028-1b897-d9977883f6d3ae3b2a89fc1e546cad33b4a98115.gz
parent 76453474
......@@ -16,12 +16,24 @@ noinst_LTLIBRARIES = libsu.la
bin_PROGRAMS = addrinfo localinfo
if COREFOUNDATION
OSXSOURCES = \
su_osx_runloop.c
OSXHEADERS = \
sofia-sip/su_osx_runloop.h
OSXTESTS = \
torture_su_root_osx
else
OSXSOURCES =
OSXHEADERS =
endif
check_PROGRAMS = torture_su torture_su_port \
torture_su_alloc torture_su_time torture_su_tag \
test_htable torture_rbtree \
test_memmem torture_su_bm \
torture_su_root torture_su_timer \
test_su su_proxy test_poll
torture_su_root $(OSXTESTS) \
torture_su_timer test_su su_proxy test_poll
# ----------------------------------------------------------------------
# Tests
......@@ -52,7 +64,7 @@ nobase_include_sofia_HEADERS = \
sofia-sip/su_log.h \
sofia-sip/su_config.h sofia-sip/su_md5.h \
sofia-sip/su_uniqueid.h sofia-sip/su_bm.h \
sofia-sip/tstdef.h sofia-sip/su_osx_runloop.h
sofia-sip/tstdef.h $(OSXHEADERS)
nobase_nodist_include_sofia_HEADERS = sofia-sip/su_configure.h
......@@ -66,7 +78,8 @@ libsu_la_SOURCES = \
su_os_nw.c sofia-sip/su_os_nw.h \
su_taglist.c su_tag.c su_tag_io.c \
su_log.c su_global_log.c su_default_log.c su_module_debug.h \
su_md5.c su_uniqueid.c su_bm.c su_osx_runloop.c
su_md5.c su_uniqueid.c su_bm.c $(OSXSOURCES)
EXTRA_libsu_la_SOURCES = \
memmem.c strtoull.c strcasestr.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment