Kaydet (Commit) 8dd8692f authored tarafından Patrick Luby's avatar Patrick Luby

More fine tuning of stripping for Mac OS X

üst 4fca4d84
...@@ -65,8 +65,8 @@ $(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \ ...@@ -65,8 +65,8 @@ $(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -252,8 +252,8 @@ $(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \ ...@@ -252,8 +252,8 @@ $(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -439,8 +439,8 @@ $(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \ ...@@ -439,8 +439,8 @@ $(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -626,8 +626,8 @@ $(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \ ...@@ -626,8 +626,8 @@ $(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -813,8 +813,8 @@ $(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \ ...@@ -813,8 +813,8 @@ $(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -1000,8 +1000,8 @@ $(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \ ...@@ -1000,8 +1000,8 @@ $(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -1187,8 +1187,8 @@ $(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \ ...@@ -1187,8 +1187,8 @@ $(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -1374,8 +1374,8 @@ $(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \ ...@@ -1374,8 +1374,8 @@ $(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -1561,8 +1561,8 @@ $(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \ ...@@ -1561,8 +1561,8 @@ $(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
...@@ -1748,8 +1748,8 @@ $(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \ ...@@ -1748,8 +1748,8 @@ $(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#* $Workfile: tg_app.mk $ #* $Workfile: tg_app.mk $
#* #*
#* Ersterstellung XX TT.MM.JJ #* Ersterstellung XX TT.MM.JJ
#* Letzte Aenderung $Author: pluby $ $Date: 2001-03-12 06:50:17 $ #* Letzte Aenderung $Author: pluby $ $Date: 2001-03-12 07:34:45 $
#* $Revision: 1.24 $ #* $Revision: 1.25 $
#* #*
#* $Logfile: T:/solar/inc/tg_app.mkv $ #* $Logfile: T:/solar/inc/tg_app.mkv $
#* #*
...@@ -111,8 +111,8 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \ ...@@ -111,8 +111,8 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
# Need to strip __objcInit symbol to avoid duplicate symbols when loading # Need to strip __objcInit symbol to avoid duplicate symbols when loading
# libraries at runtime # libraries at runtime
@+echo __objcInit > $(MISC)$/$(@:b).strip @+-nm $@ | grep -v ' U ' | awk '{ print $$NF }' | grep -F -x '__objcInit' > $(MISC)$/$(@:b).strip
@strip -R $(MISC)$/$(@:b).strip -X $@ @strip -i -R $(MISC)$/$(@:b).strip -X $@
@ls -l $@ @ls -l $@
# This is a hack as libstatic and libcppuhelper have a circular dependency # This is a hack as libstatic and libcppuhelper have a circular dependency
.IF "$(PRJNAME)"=="cppuhelper" .IF "$(PRJNAME)"=="cppuhelper"
......
Markdown is supported
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