diff options
author | Damjan Jovanovic <damjan@apache.org> | 2016-12-04 10:57:52 +0000 |
---|---|---|
committer | Damjan Jovanovic <damjan@apache.org> | 2016-12-04 10:57:52 +0000 |
commit | 559db5c2b1cc58087b93954a0162960ffecd577a (patch) | |
tree | b06141eb709bf96b9bcdb26e01041b43fa6352f2 /basegfx | |
parent | 4ff944ac35edd4333fc41c23042c05e853aea6ad (diff) |
Standardize all gbuild bridge makefile.mk files
(main/*/prj/makefile.mk) to the version that sets gbuild
debug flags from the configure.ac debug settings, and make this the
standard gbuild template too.
Patch by: me
Notes
Notes:
ignore: obsolete
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/prj/makefile.mk | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/basegfx/prj/makefile.mk b/basegfx/prj/makefile.mk index 19eb7c11eb7f..c62c6a657d16 100644 --- a/basegfx/prj/makefile.mk +++ b/basegfx/prj/makefile.mk @@ -1,4 +1,4 @@ -############################################################### +#************************************************************** # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file @@ -17,7 +17,7 @@ # specific language governing permissions and limitations # under the License. # -############################################################### +#************************************************************** @@ -32,5 +32,13 @@ VERBOSEFLAG := VERBOSEFLAG := -s .ENDIF +.IF "$(DEBUG)"!="" +DEBUG_ARGUMENT=DEBUG=$(DEBUG) +.ELIF "$(debug)"!="" +DEBUG_ARGUMENT=debug=$(debug) +.ELSE +DEBUG_ARGUMENT= +.ENDIF + all: - cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog |