mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
[OS/2] Bug 507807 - Clean up linking on OS/2 by removing obsolete files and flags, r=pweilbacher
This commit is contained in:
parent
a3848d76ac
commit
384abc5e88
@ -217,7 +217,6 @@ ifeq ($(OS_ARCH),OS2)
|
||||
RESFILE=splashos2.res
|
||||
RCFLAGS += -DMOZ_PHOENIX
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
EXE_DEF_FILE = browser.def
|
||||
RCFLAGS += -DMOZ_STATIC_BUILD -i $(DIST)/include/widget
|
||||
endif
|
||||
ifdef DEBUG
|
||||
@ -262,20 +261,6 @@ endif
|
||||
|
||||
$(PROGRAM): $(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
|
||||
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
$(EXE_DEF_FILE):
|
||||
rm -f $@
|
||||
@echo NAME mozilla >$(EXE_DEF_FILE)
|
||||
@echo IMPORTS >>$(EXE_DEF_FILE)
|
||||
@echo WinQueryProperty = PMMERGE.5450 >>$(EXE_DEF_FILE)
|
||||
@echo WinRemoveProperty = PMMERGE.5451 >>$(EXE_DEF_FILE)
|
||||
@echo WinSetProperty = PMMERGE.5452 >>$(EXE_DEF_FILE)
|
||||
|
||||
LDFLAGS += -Zlinker /NOE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter-out OS2 WINNT WINCE,$(OS_ARCH)))
|
||||
|
||||
$(MOZ_APP_NAME):: $(topsrcdir)/build/unix/mozilla.in $(GLOBAL_DEPS)
|
||||
|
@ -135,6 +135,4 @@ export::
|
||||
test -d ./res || mkdir ./res
|
||||
test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.* ./res
|
||||
|
||||
ADD_TO_DEF_FILE = cat < $(srcdir)/extradefs.os2 >>$(DEF_FILE)
|
||||
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
IMPORTS
|
||||
WinQueryProperty = PMMERGE.5450
|
||||
WinRemoveProperty = PMMERGE.5451
|
||||
WinSetProperty = PMMERGE.5452
|
Loading…
x
Reference in New Issue
Block a user