Kaydet (Commit) 3e18705d authored tarafından Patrick Luby's avatar Patrick Luby

Added stripping to executables on Mac OS X to avoid duplicate __objcInit symbols…

Added stripping to executables on Mac OS X to avoid duplicate __objcInit symbols for executables that load native libraries
üst b853eb38
...@@ -58,6 +58,7 @@ $(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \ ...@@ -58,6 +58,7 @@ $(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \
$(APP_LINKTYPE) $(APP1STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP1STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -236,6 +237,7 @@ $(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \ ...@@ -236,6 +237,7 @@ $(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \
$(APP_LINKTYPE) $(APP2STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP2STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -414,6 +416,7 @@ $(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \ ...@@ -414,6 +416,7 @@ $(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \
$(APP_LINKTYPE) $(APP3STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP3STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -592,6 +595,7 @@ $(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \ ...@@ -592,6 +595,7 @@ $(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \
$(APP_LINKTYPE) $(APP4STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP4STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -770,6 +774,7 @@ $(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \ ...@@ -770,6 +774,7 @@ $(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \
$(APP_LINKTYPE) $(APP5STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP5STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -948,6 +953,7 @@ $(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \ ...@@ -948,6 +953,7 @@ $(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \
$(APP_LINKTYPE) $(APP6STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP6STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -1126,6 +1132,7 @@ $(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \ ...@@ -1126,6 +1132,7 @@ $(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \
$(APP_LINKTYPE) $(APP7STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP7STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -1304,6 +1311,7 @@ $(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \ ...@@ -1304,6 +1311,7 @@ $(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \
$(APP_LINKTYPE) $(APP8STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP8STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -1482,6 +1490,7 @@ $(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \ ...@@ -1482,6 +1490,7 @@ $(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \
$(APP_LINKTYPE) $(APP9STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP9STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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"
...@@ -1660,6 +1669,7 @@ $(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \ ...@@ -1660,6 +1669,7 @@ $(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \
$(APP_LINKTYPE) $(APP10STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP10STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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-06 19:20:33 $ #* Letzte Aenderung $Author: pluby $ $Date: 2001-03-09 04:33:09 $
#* $Revision: 1.20 $ #* $Revision: 1.21 $
#* #*
#* $Logfile: T:/solar/inc/tg_app.mkv $ #* $Logfile: T:/solar/inc/tg_app.mkv $
#* #*
...@@ -104,6 +104,7 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \ ...@@ -104,6 +104,7 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
$(APP_LINKTYPE) $(APP$(TNR)STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd $(APP_LINKTYPE) $(APP$(TNR)STDLIBS) $(STDLIB) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
@cat $(MISC)$/$(@:b).cmd @cat $(MISC)$/$(@:b).cmd
@source $(MISC)$/$(@:b).cmd @source $(MISC)$/$(@:b).cmd
@strip $@
@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