INTEGRATION: CWS ause068 (1.55.108); FILE MERGED
2006/09/15 13:26:34 hjs 1.55.108.1: #i69536# don't force shell for echo
This commit is contained in:
parent
4724f992c3
commit
8eeb436077
1 changed files with 11 additions and 11 deletions
|
@ -4,9 +4,9 @@
|
|||
#
|
||||
# $RCSfile: tg_app.mk,v $
|
||||
#
|
||||
# $Revision: 1.56 $
|
||||
# $Revision: 1.57 $
|
||||
#
|
||||
# last change: $Author: vg $ $Date: 2006-09-25 13:09:25 $
|
||||
# last change: $Author: kz $ $Date: 2006-10-05 10:38:35 $
|
||||
#
|
||||
# The Contents of this file are made available subject to
|
||||
# the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -99,13 +99,13 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
|
|||
@echo Making: $@
|
||||
.IF "$(GUI)"=="UNX"
|
||||
.IF "$(OS)"=="MACOSX"
|
||||
@+echo unx
|
||||
@echo unx
|
||||
@+-$(RM) $(MISC)$/$(@:b).list
|
||||
@+-$(RM) $(MISC)$/$(@:b).cmd
|
||||
@+-$(RM) $(MISC)$/$(@:b).strip
|
||||
@+echo $(STDSLO) $(APP$(TNR)OBJS:s/.obj/.o/) \
|
||||
@echo $(STDSLO) $(APP$(TNR)OBJS:s/.obj/.o/) \
|
||||
`cat /dev/null $(APP$(TNR)LIBS) | sed s\#$(ROUT)\#$(OUT)\#g` | tr -s " " "\n" > $(MISC)$/$(@:b).list
|
||||
@+echo $(APP$(TNR)LINKER) $(APP$(TNR)LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) -o $@ \
|
||||
@echo $(APP$(TNR)LINKER) $(APP$(TNR)LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) -o $@ \
|
||||
`macosx-dylib-link-list $(PRJNAME) $(SOLARVERSION)$/$(INPATH)$/lib $(PRJ)$/$(INPATH)$/lib $(APP$(TNR)STDLIBS) $(APP$(TNR)STDLIB) $(STDLIB$(TNR))` \
|
||||
$(APP$(TNR)LINKTYPEFLAG) $(APP$(TNR)STDLIBS) $(APP$(TNR)STDLIB) $(STDLIB$(TNR)) -filelist $(MISC)$/$(@:b).list > $(MISC)$/$(@:b).cmd
|
||||
@cat $(MISC)$/$(@:b).cmd
|
||||
|
@ -120,12 +120,12 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
|
|||
@macosx-create-bundle $@
|
||||
.ENDIF # "$(TARGETTYPE)"=="GUI"
|
||||
.ELSE # "$(OS)"=="MACOSX"
|
||||
@+echo unx
|
||||
@echo unx
|
||||
@+-$(RM) $(MISC)$/$(@:b).cmd
|
||||
@+echo $(APP$(TNR)LINKER) $(APP$(TNR)LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
|
||||
@echo $(APP$(TNR)LINKER) $(APP$(TNR)LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
|
||||
$(APP$(TNR)OBJS:s/.obj/.o/) '\' > $(MISC)$/$(@:b).cmd
|
||||
@cat $(mktmp /dev/null $(APP$(TNR)LIBS)) | xargs -n 1 cat | sed s\#$(ROUT)\#$(OUT)\#g | sed 's#$$# \\#' >> $(MISC)$/$(@:b).cmd
|
||||
@+echo $(APP$(TNR)LINKTYPEFLAG) $(APP$(TNR)LIBSALCPPRT) $(APP$(TNR)STDLIBS) $(APP$(TNR)STDLIB) $(STDLIB$(TNR)) -o $@ >> $(MISC)$/$(@:b).cmd
|
||||
@echo $(APP$(TNR)LINKTYPEFLAG) $(APP$(TNR)LIBSALCPPRT) $(APP$(TNR)STDLIBS) $(APP$(TNR)STDLIB) $(STDLIB$(TNR)) -o $@ >> $(MISC)$/$(@:b).cmd
|
||||
cat $(MISC)$/$(@:b).cmd
|
||||
@source $(MISC)$/$(@:b).cmd
|
||||
@ls -l $@
|
||||
|
@ -137,14 +137,14 @@ $(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
|
|||
@+-$(RM) $(MISC)$/$(APP$(TNR)LINKRES:b).rc >& $(NULLDEV)
|
||||
.IF "$(APP$(TNR)ICON)" != ""
|
||||
.IF "$(USE_SHELL)"=="4nt"
|
||||
@-+echo 1 ICON "$(APP$(TNR)ICON:s/\/\\/)" >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
@-echo 1 ICON "$(APP$(TNR)ICON:s/\/\\/)" >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
.ELSE # "$(USE_SHELL)"=="4nt"
|
||||
@-+$(WRAPCMD) echo 1 ICON $(EMQ)"$(APP$(TNR)ICON)$(EMQ)" | $(SED) 'sX\\X\\\\Xg' >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
.ENDIF # "$(USE_SHELL)"=="4nt"
|
||||
.ENDIF # "$(APP$(TNR)ICON)" != ""
|
||||
.IF "$(APP$(TNR)VERINFO)" != ""
|
||||
@-+echo $(EMQ)#define VERVARIANT $(BUILD) >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
@-+echo $(EMQ)#include $(EMQ)"$(APP$(TNR)VERINFO)$(EMQ)" >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
@-echo $(EMQ)#define VERVARIANT $(BUILD) >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
@-echo $(EMQ)#include $(EMQ)"$(APP$(TNR)VERINFO)$(EMQ)" >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
.ENDIF # "$(APP$(TNR)VERINFO)" != ""
|
||||
$(RC) -DWIN32 $(APP$(TNR)PRODUCTDEF) -I$(SOLARRESDIR) $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP$(TNR)LINKRES:b).rc
|
||||
.ENDIF # "$(APP$(TNR)LINKRES)" != ""
|
||||
|
|
Loading…
Reference in a new issue