tg_app.mk (2b25ddf3) | tg_app.mk (8badc1b4) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 5 unchanged lines hidden (view full) --- 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 5 unchanged lines hidden (view full) --- 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 |
22CC_PATH*="" |
|
22 | 23 |
23 | |
24####################################################### 25# instructions for linking 26# unroll begin 27 28.IF "$(GUI)" == "OS2" && "$(TARGETTYPE)" == "GUI" 29APP$(TNR)DEF = $(MISC)/$(APP$(TNR)TARGET).def 30.ENDIF 31 --- 85 unchanged lines hidden (view full) --- 117 `cat $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd` \ 118 >> $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd 119 .IF "$(VERBOSE)" == "TRUE" 120 @cat $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd 121 .ENDIF 122 @+source $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd 123# Need to strip __objcInit symbol to avoid duplicate symbols when loading 124# libraries at runtime | 24####################################################### 25# instructions for linking 26# unroll begin 27 28.IF "$(GUI)" == "OS2" && "$(TARGETTYPE)" == "GUI" 29APP$(TNR)DEF = $(MISC)/$(APP$(TNR)TARGET).def 30.ENDIF 31 --- 85 unchanged lines hidden (view full) --- 117 `cat $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd` \ 118 >> $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd 119 .IF "$(VERBOSE)" == "TRUE" 120 @cat $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd 121 .ENDIF 122 @+source $(MISC)/$(TARGET).$(@:b)_$(TNR).cmd 123# Need to strip __objcInit symbol to avoid duplicate symbols when loading 124# libraries at runtime |
125 @-nm $@ | grep -v ' U ' | $(AWK) '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)/$(@:b).strip 126 @strip -i -R $(MISC)/$(@:b).strip -X $@ | 125 @-$(CC_PATH)nm $@ | grep -v ' U ' | $(AWK) '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)/$(@:b).strip 126 @$(CC_PATH)strip -i -R $(MISC)/$(@:b).strip -X $@ |
127 @ls -l $@ 128 @$(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl \ 129 app $(APP$(TNR)RPATH) $@ 130.IF "$(TARGETTYPE)"=="GUI" 131 @echo "Making: " $(@:f).app 132 @macosx-create-bundle $@ 133.ENDIF # "$(TARGETTYPE)"=="GUI" 134.ELSE # "$(OS)"=="MACOSX" --- 154 unchanged lines hidden --- | 127 @ls -l $@ 128 @$(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl \ 129 app $(APP$(TNR)RPATH) $@ 130.IF "$(TARGETTYPE)"=="GUI" 131 @echo "Making: " $(@:f).app 132 @macosx-create-bundle $@ 133.ENDIF # "$(TARGETTYPE)"=="GUI" 134.ELSE # "$(OS)"=="MACOSX" --- 154 unchanged lines hidden --- |