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

Added option to turn off linking to libstatic for Mac OS X build tools

üst b38a430e
...@@ -33,8 +33,12 @@ USE_APP1DEF= ...@@ -33,8 +33,12 @@ USE_APP1DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP1STDLIBS+=$(STATICLIB) APP1STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP1TARGETN)"!="" .IF "$(APP1TARGETN)"!=""
$(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \ $(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \
...@@ -212,8 +216,12 @@ USE_APP2DEF= ...@@ -212,8 +216,12 @@ USE_APP2DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP2STDLIBS+=$(STATICLIB) APP2STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP2TARGETN)"!="" .IF "$(APP2TARGETN)"!=""
$(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \ $(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \
...@@ -391,8 +399,12 @@ USE_APP3DEF= ...@@ -391,8 +399,12 @@ USE_APP3DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP3STDLIBS+=$(STATICLIB) APP3STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP3TARGETN)"!="" .IF "$(APP3TARGETN)"!=""
$(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \ $(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \
...@@ -570,8 +582,12 @@ USE_APP4DEF= ...@@ -570,8 +582,12 @@ USE_APP4DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP4STDLIBS+=$(STATICLIB) APP4STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP4TARGETN)"!="" .IF "$(APP4TARGETN)"!=""
$(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \ $(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \
...@@ -749,8 +765,12 @@ USE_APP5DEF= ...@@ -749,8 +765,12 @@ USE_APP5DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP5STDLIBS+=$(STATICLIB) APP5STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP5TARGETN)"!="" .IF "$(APP5TARGETN)"!=""
$(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \ $(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \
...@@ -928,8 +948,12 @@ USE_APP6DEF= ...@@ -928,8 +948,12 @@ USE_APP6DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP6STDLIBS+=$(STATICLIB) APP6STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP6TARGETN)"!="" .IF "$(APP6TARGETN)"!=""
$(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \ $(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \
...@@ -1107,8 +1131,12 @@ USE_APP7DEF= ...@@ -1107,8 +1131,12 @@ USE_APP7DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP7STDLIBS+=$(STATICLIB) APP7STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP7TARGETN)"!="" .IF "$(APP7TARGETN)"!=""
$(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \ $(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \
...@@ -1286,8 +1314,12 @@ USE_APP8DEF= ...@@ -1286,8 +1314,12 @@ USE_APP8DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP8STDLIBS+=$(STATICLIB) APP8STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP8TARGETN)"!="" .IF "$(APP8TARGETN)"!=""
$(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \ $(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \
...@@ -1465,8 +1497,12 @@ USE_APP9DEF= ...@@ -1465,8 +1497,12 @@ USE_APP9DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP9STDLIBS+=$(STATICLIB) APP9STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP9TARGETN)"!="" .IF "$(APP9TARGETN)"!=""
$(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \ $(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \
...@@ -1644,8 +1680,12 @@ USE_APP10DEF= ...@@ -1644,8 +1680,12 @@ USE_APP10DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP10STDLIBS+=$(STATICLIB) APP10STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP10TARGETN)"!="" .IF "$(APP10TARGETN)"!=""
$(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \ $(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \
......
...@@ -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-09 04:33:09 $ #* Letzte Aenderung $Author: pluby $ $Date: 2001-03-09 18:29:48 $
#* $Revision: 1.21 $ #* $Revision: 1.22 $
#* #*
#* $Logfile: T:/solar/inc/tg_app.mkv $ #* $Logfile: T:/solar/inc/tg_app.mkv $
#* #*
...@@ -79,8 +79,12 @@ USE_APP$(TNR)DEF= ...@@ -79,8 +79,12 @@ USE_APP$(TNR)DEF=
# Link in static data members for template classes # Link in static data members for template classes
.IF "$(OS)"=="MACOSX" .IF "$(OS)"=="MACOSX"
# Allow certain executables to not link to libstatic*.dylib. This is only used
# by build tools that are built in the bootstrap process.
.IF "$(NOSHAREDSTATICLIB)"==""
APP$(TNR)STDLIBS+=$(STATICLIB) APP$(TNR)STDLIBS+=$(STATICLIB)
.ENDIF .ENDIF
.ENDIF
.IF "$(APP$(TNR)TARGETN)"!="" .IF "$(APP$(TNR)TARGETN)"!=""
$(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
......
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