Updated Mac OS X specific recipe commands to a shell script to minimize future changes in these files.
This commit is contained in:
parent
3c9eca4269
commit
a001f7ca4f
4 changed files with 26 additions and 114 deletions
|
@ -49,14 +49,8 @@ $(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -205,14 +199,8 @@ $(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -361,14 +349,8 @@ $(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -517,14 +499,8 @@ $(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -673,14 +649,8 @@ $(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -829,14 +799,8 @@ $(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -985,14 +949,8 @@ $(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -1141,14 +1099,8 @@ $(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -1297,14 +1249,8 @@ $(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
@ -1453,14 +1399,8 @@ $(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
|
|
@ -327,10 +327,8 @@ $(SHL1TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -676,10 +674,8 @@ $(SHL2TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -1025,10 +1021,8 @@ $(SHL3TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -1374,10 +1368,8 @@ $(SHL4TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -1723,10 +1715,8 @@ $(SHL5TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -2072,10 +2062,8 @@ $(SHL6TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -2421,10 +2409,8 @@ $(SHL7TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -2770,10 +2756,8 @@ $(SHL8TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -3119,10 +3103,8 @@ $(SHL9TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
@ -3468,10 +3450,8 @@ $(SHL10TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#* $Workfile: tg_app.mk $
|
||||
#*
|
||||
#* Ersterstellung XX TT.MM.JJ
|
||||
#* Letzte Aenderung $Author: pluby $ $Date: 2000-10-26 02:52:11 $
|
||||
#* $Revision: 1.7 $
|
||||
#* Letzte Aenderung $Author: pluby $ $Date: 2000-10-26 21:41:43 $
|
||||
#* $Revision: 1.8 $
|
||||
#*
|
||||
#* $Logfile: T:/solar/inc/tg_app.mkv $
|
||||
#*
|
||||
|
@ -95,14 +95,8 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
|
|||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
.IF "$(TARGETTYPE)"=="GUI"
|
||||
@+-$(RM) -R $@.app
|
||||
@echo "Making: $@.app"
|
||||
@$(MKDIRHIER) $@.app$/Contents$/MacOS
|
||||
@$(COPY) $@ $@.app$/Contents$/MacOS$/$(@:f)
|
||||
@$(RM) $@
|
||||
@echo '#\!/bin/sh' >> $@
|
||||
@echo 'exec `dirname $$0`$/$(@:f).app$/Contents$/MacOS$/$(@:f)' >> $@
|
||||
@chmod a+x $@
|
||||
@create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ENDIF # "$(OS)"=="MACOSX"
|
||||
.ENDIF
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#* $Workfile: tg_shl.mk $
|
||||
#*
|
||||
#* Ersterstellung MH 01.09.97
|
||||
#* Letzte Aenderung $Author: pluby $ $Date: 2000-10-26 03:39:24 $
|
||||
#* $Revision: 1.7 $
|
||||
#* Letzte Aenderung $Author: pluby $ $Date: 2000-10-26 21:41:43 $
|
||||
#* $Revision: 1.8 $
|
||||
#*
|
||||
#* $Logfile: T:/solar/inc/tg_shl.mkv $
|
||||
#*
|
||||
|
@ -379,10 +379,8 @@ $(SHL$(TNR)TARGETN) : \
|
|||
.ENDIF
|
||||
@ls -l $@
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+-$(RM) -R $@.framework
|
||||
@echo "Making: $@.framework"
|
||||
@$(MKDIRHIER) $@.framework
|
||||
@$(COPY) $@ $@.framework$/$(@:f)
|
||||
@create-bundle $@
|
||||
.ENDIF
|
||||
.IF "$(UPDATER)"=="YES"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
|
|
Loading…
Reference in a new issue