tubes: tweak makefiles
This commit is contained in:
parent
a8ef97df50
commit
b1de503a67
@ -1095,10 +1095,6 @@ $(call gb_LinkTarget_set_include,$(1),\
|
||||
$(TELEPATHY_CFLAGS) \
|
||||
)
|
||||
|
||||
$(call gb_LinkTarget_add_defs,$(1),\
|
||||
-DENABLE_TELEPATHY \
|
||||
)
|
||||
|
||||
$(call gb_LinkTarget_add_libs,$(1),\
|
||||
$(TELEPATHY_LIBS) \
|
||||
)
|
||||
|
@ -49,8 +49,8 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sc_ucalc,\
|
||||
tubes \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\
|
||||
$$(TELEPATHY_LIBS) \
|
||||
$(eval $(call gb_CppunitTest_use_externals,sc_ucalc,\
|
||||
telepathy \
|
||||
))
|
||||
|
||||
endif
|
||||
|
@ -48,14 +48,6 @@ $(eval $(call gb_Library_add_linked_libs,sc,\
|
||||
tubes \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_cxxflags,sc,\
|
||||
$$(TELEPATHY_CFLAGS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_libs,sc,\
|
||||
$$(TELEPATHY_LIBS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_use_externals,sc,\
|
||||
telepathy \
|
||||
))
|
||||
|
@ -27,25 +27,27 @@
|
||||
$(eval $(call gb_CppunitTest_CppunitTest,tubes_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_exception_objects,tubes_test, \
|
||||
tubes/qa/test_manager \
|
||||
tubes/qa/test_manager \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_linked_libs,tubes_test, \
|
||||
tubes \
|
||||
sal \
|
||||
unotest \
|
||||
$(gb_STDLIBS) \
|
||||
sal \
|
||||
tubes \
|
||||
unotest \
|
||||
$(gb_STDLIBS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_libs,tubes_test, \
|
||||
$$(TELEPATHY_LIBS) \
|
||||
$(eval $(call gb_CppunitTest_use_externals,tubes_test,\
|
||||
telepathy \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_set_include,tubes_test,\
|
||||
-I$(realpath $(SRCDIR)/tubes/inc) \
|
||||
-I$(realpath $(OUTDIR)/inc/udkapi) \
|
||||
$$(TELEPATHY_CFLAGS) \
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/tubes/inc \
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_api,tubes_test, \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
@ -28,20 +28,12 @@
|
||||
$(eval $(call gb_Library_Library,tubes))
|
||||
|
||||
$(eval $(call gb_Library_set_include,tubes,\
|
||||
-I$(realpath $(SRCDIR)/tubes/inc) \
|
||||
-I$(SRCDIR)/tubes/inc \
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_defs,tubes,\
|
||||
-DTUBES_DLLIMPLEMENTATION \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_cxxflags,tubes,\
|
||||
$$(TELEPATHY_CFLAGS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_libs,tubes,\
|
||||
$$(TELEPATHY_LIBS) \
|
||||
-DTUBES_DLLIMPLEMENTATION \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_linked_libs,tubes,\
|
||||
|
Loading…
x
Reference in New Issue
Block a user