Commit 515da7c8 authored by thomas's avatar thomas
Browse files

updated build system

git-svn-id: https://svn.grrrr.org/ext/trunk@950 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent db016bba
......@@ -51,21 +51,5 @@ FLEXTNAME=flext-$(RTSYS)_s
# product name and folder
##############################################
!ifdef DEBUG
TARGETMODE=debug
!else
TARGETMODE=release
!endif
!ifdef SHARED
TARGETTYPE=shared
!else
!ifdef THREADED
TARGETTYPE=multi
!else
TARGETTYPE=single
!endif
!endif
OUTNAME=$(NAME)
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
......@@ -51,20 +51,4 @@ endif # SHARED
# product name and folder
##############################################
ifdef DEBUG
TARGETMODE=debug
else
TARGETMODE=release
endif
ifdef SHARED
TARGETTYPE=shared
else
ifdef THREADED
TARGETTYPE=multi
else
TARGETTYPE=single
endif
endif
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
......@@ -49,20 +49,4 @@ FLEXTNAME=flext-$(RTSYS)_s
# product name and folder
##############################################
!ifdef DEBUG
TARGETMODE=debug
!else
TARGETMODE=release
!endif
!ifdef SHARED
TARGETTYPE=shared
!else
!ifdef THREADED
TARGETTYPE=multi
!else
TARGETTYPE=single
!endif
!endif
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
......@@ -49,62 +49,62 @@ clean-all-shared: clean-release-shared clean-debug-shared
###########################################################
build-release-single: config
$(MAKE) $(OPTIONS) _build_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _build_
build-debug-single: config
$(MAKE) $(OPTIONS) DEBUG=1 _build_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _build_
build-release-multi: config
$(MAKE) $(OPTIONS) THREADED=1 _build_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
build-debug-multi: config
$(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _build_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _build_
build-release-shared: config
$(MAKE) $(OPTIONS) SHARED=1 _build_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _build_
build-debug-shared: config
$(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _build_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _build_
###########################################################
install-release-single: config
$(MAKE) $(OPTIONS) _install_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _install_
install-debug-single: config
$(MAKE) $(OPTIONS) DEBUG=1 _install_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _install_
install-release-multi: config
$(MAKE) $(OPTIONS) THREADED=1 _install_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _install_
install-debug-multi: config
$(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _install_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _install_
install-release-shared: config
$(MAKE) $(OPTIONS) SHARED=1 _install_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _install_
install-debug-shared: config
$(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _install_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _install_
###########################################################
clean-release-single: config
$(MAKE) $(OPTIONS) _clean_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _clean_
clean-debug-single: config
$(MAKE) $(OPTIONS) DEBUG=1 _clean_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _clean_
clean-release-multi: config
$(MAKE) $(OPTIONS) THREADED=1 _clean_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _clean_
clean-debug-multi: config
$(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _clean_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _clean_
clean-release-shared: config
$(MAKE) $(OPTIONS) SHARED=1 _clean_
$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _clean_
clean-debug-shared: config
$(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _clean_
$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _clean_
###########################################################
......
Supports Markdown
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