CWS gnumake2: module reorg
This commit is contained in:
parent
20942b145d
commit
95f3d4c562
25 changed files with 41 additions and 60 deletions
|
@ -25,12 +25,13 @@
|
|||
#
|
||||
#*************************************************************************
|
||||
|
||||
ifeq ($(strip $(SOLARENV)),)
|
||||
$(error No environment set)
|
||||
endif
|
||||
|
||||
GBUILDDIR := $(SOLARENV)/gbuild
|
||||
include $(GBUILDDIR)/gbuild.mk
|
||||
|
||||
|
||||
gb_CURRENT_MODULE := $(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))))
|
||||
|
||||
$(eval $(call gb_Module_make_global_targets,$(gb_CURRENT_MODULE)))
|
||||
$(eval $(call gb_Module_make_global_targets))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -25,31 +25,19 @@
|
|||
#
|
||||
#*************************************************************************
|
||||
|
||||
include $(foreach targetdef,\
|
||||
lib_fwe \
|
||||
lib_fwi \
|
||||
lib_fwk \
|
||||
lib_fwl \
|
||||
lib_fwm \
|
||||
package_dtd \
|
||||
package_inc \
|
||||
package_uiconfig \
|
||||
package_unotypes \
|
||||
res_fwe \
|
||||
,$(SRCDIR)/framework/prj/target_$(targetdef).mk)
|
||||
$(eval $(call gb_Module_Module,framework))
|
||||
|
||||
|
||||
$(eval $(call gb_Module_Module,framework,\
|
||||
$(call gb_AllLangResTarget_get_target,fwe) \
|
||||
$(call gb_Library_get_target,fwe) \
|
||||
$(call gb_Library_get_target,fwi) \
|
||||
$(call gb_Library_get_target,fwk) \
|
||||
$(call gb_Library_get_target,fwl) \
|
||||
$(call gb_Library_get_target,fwm) \
|
||||
$(call gb_Library_get_target,fwe) \
|
||||
$(call gb_Package_get_target,framework_dtd) \
|
||||
$(call gb_Package_get_target,framework_inc) \
|
||||
$(call gb_Package_get_target,framework_uiconfig) \
|
||||
$(call gb_Package_get_target,framework_unotypes) \
|
||||
$(eval $(call gb_Module_add_targets,framework,\
|
||||
AllLangResTarget_fwe \
|
||||
Library_fwe \
|
||||
Library_fwi \
|
||||
Library_fwk \
|
||||
Library_fwl \
|
||||
Library_fwm \
|
||||
Package_dtd \
|
||||
Package_inc \
|
||||
Package_uiconfig \
|
||||
Package_unotypes \
|
||||
))
|
||||
|
||||
# vim: set noet ts=4 sw=4:
|
|
@ -25,12 +25,13 @@
|
|||
#
|
||||
#*************************************************************************
|
||||
|
||||
ifeq ($(strip $(SOLARENV)),)
|
||||
$(error No environment set)
|
||||
endif
|
||||
|
||||
GBUILDDIR := $(SOLARENV)/gbuild
|
||||
include $(GBUILDDIR)/gbuild.mk
|
||||
|
||||
|
||||
gb_CURRENT_MODULE := $(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))))
|
||||
|
||||
$(eval $(call gb_Module_make_global_targets,$(gb_CURRENT_MODULE)))
|
||||
$(eval $(call gb_Module_make_global_targets))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -25,19 +25,13 @@
|
|||
#
|
||||
#*************************************************************************
|
||||
|
||||
$(eval $(call gb_Module_Module,sfx2,\
|
||||
$(call gb_AllLangResTarget_get_target,sfx) \
|
||||
$(call gb_Library_get_target,sfx) \
|
||||
$(call gb_Package_get_target,sfx2_inc) \
|
||||
$(call gb_Package_get_target,sfx2_sdi) \
|
||||
))
|
||||
# $(call gb_Library_get_target,qstart) \
|
||||
$(eval $(call gb_Module_Module,sfx2))
|
||||
|
||||
$(eval $(call gb_Module_read_includes,sfx2,\
|
||||
lib_sfx2 \
|
||||
package_inc \
|
||||
package_sdi \
|
||||
res_sfx2 \
|
||||
$(eval $(call gb_Module_add_targets,sfx2,\
|
||||
AllLangResTarget_sfx2 \
|
||||
Library_sfx2 \
|
||||
Package_inc \
|
||||
Package_sdi \
|
||||
))
|
||||
# lib_qstart \
|
||||
|
|
@ -25,12 +25,13 @@
|
|||
#
|
||||
#*************************************************************************
|
||||
|
||||
ifeq ($(strip $(SOLARENV)),)
|
||||
$(error No environment set)
|
||||
endif
|
||||
|
||||
GBUILDDIR := $(SOLARENV)/gbuild
|
||||
include $(GBUILDDIR)/gbuild.mk
|
||||
|
||||
|
||||
gb_CURRENT_MODULE := $(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))))
|
||||
|
||||
$(eval $(call gb_Module_make_global_targets,$(gb_CURRENT_MODULE)))
|
||||
$(eval $(call gb_Module_make_global_targets))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -25,20 +25,16 @@
|
|||
#
|
||||
#*************************************************************************
|
||||
|
||||
$(eval $(call gb_Module_Module,xmloff,\
|
||||
$(call gb_Library_get_target,xo) \
|
||||
$(call gb_Library_get_target,xof) \
|
||||
$(call gb_Package_get_target,xmloff_dtd) \
|
||||
$(call gb_Package_get_target,xmloff_inc) \
|
||||
))
|
||||
$(eval $(call gb_Module_Module,xmloff))
|
||||
|
||||
$(eval $(call gb_Module_read_includes,xmloff,\
|
||||
lib_xo \
|
||||
lib_xof \
|
||||
package_dtd \
|
||||
package_inc \
|
||||
$(eval $(call gb_Module_add_targets,xmloff,\
|
||||
Library_xo \
|
||||
Library_xof \
|
||||
Package_dtd \
|
||||
Package_inc \
|
||||
))
|
||||
|
||||
#todo: map file
|
||||
#todo: xmlkywd.lib - built, but never used?!
|
||||
|
||||
# vim: set noet ts=4 sw=4:
|
Loading…
Reference in a new issue