r=pedemont
OS/2 only changes - cleanup resource compiling, get branding working on Firefox


git-svn-id: svn://10.0.0.236/trunk@155977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com 2004-05-05 13:27:19 +00:00
parent 0814a90c96
commit b995d56575
2 changed files with 2 additions and 12 deletions

View File

@ -841,11 +841,6 @@ ifdef BEOS_PROGRAM_RESOURCE
mimeset $@
endif
endif # BeOS
ifeq ($(OS_ARCH),OS2)
ifdef RESFILE
$(RC) $(RCFLAGS) $(RESFILE) $@
endif
endif
$(HOST_PROGRAM): $(HOST_PROGOBJS) $(HOST_LIBS_DEPS) $(HOST_EXTRA_DEPS) Makefile Makefile.in
ifeq ($(MOZ_OS2_TOOLS),VACPP)
@ -1015,11 +1010,6 @@ endif # NO_LD_ARCHIVE_FLAGS
else # os2 vacpp
$(MKSHLIB) /O:$@ /DLL /INC:_dllentry $(LDFLAGS) $(OBJS) $(LOBJS) $(EXTRA_DSO_LDOPTS) $(OS_LIBS) $(EXTRA_LIBS) $(DEF_FILE)
endif # !os2 vacpp
ifeq ($(OS_ARCH),OS2)
ifdef RESFILE
$(RC) $(RCFLAGS) $(RESFILE) $@
endif
endif # OS2
chmod +x $@
ifndef NO_COMPONENT_LINK_MAP
ifndef MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS
@ -1143,7 +1133,7 @@ $(OBJ_PREFIX)%.$(OBJ_SUFFIX): %.mm Makefile Makefile.in
%.res: %.rc
@echo Creating Resource file: $@
ifeq ($(OS_ARCH),OS2)
$(RC) $(RCFLAGS) -i $(subst /,\,$(srcdir)) -r $< $@
$(RC) $(RCFLAGS:-D%=-d %) -i $(subst /,\,$(srcdir)) -r $< $@
else
ifdef GNU_CC
$(RC) $(RCFLAGS) $(filter-out -U%,$(DEFINES)) $(INCLUDES:-I%=--include-dir %) $(OUTOPTION)$@ $(_VPATH_SRCS)

View File

@ -1385,7 +1385,7 @@ case "$target" in
GFXWIN_DLL='\"gfx_$(MOZ_GFX_TOOLKIT)$(DLL_SUFFIX)\"'
MOZ_ENABLE_POSTSCRIPT=
RC=rc.exe
RCFLAGS='-n -x2'
RCFLAGS='-n'
MOZ_USER_DIR="Mozilla"
if test "$MOZTOOLS"; then