зеркало из https://github.com/mozilla/gecko-dev.git
Changes to support building under win95.
This commit is contained in:
Родитель
12066836a2
Коммит
af51047098
|
@ -25,6 +25,12 @@
|
||||||
DEPTH = ..\..\..
|
DEPTH = ..\..\..
|
||||||
include <$(DEPTH)\config\config.mak>
|
include <$(DEPTH)\config\config.mak>
|
||||||
|
|
||||||
|
!if "$(WINOS)" == "WIN95"
|
||||||
|
QUIET=
|
||||||
|
!else
|
||||||
|
QUIET=@
|
||||||
|
!endif
|
||||||
|
|
||||||
.SUFFIXES: .cpp .c .rc
|
.SUFFIXES: .cpp .c .rc
|
||||||
|
|
||||||
!if !defined(MOZ_SRC)
|
!if !defined(MOZ_SRC)
|
||||||
|
@ -403,8 +409,12 @@ LINK_LIBS= \
|
||||||
$(DIST)\lib\jpeg$(MOZ_BITS)$(VERSION_NUMBER).lib \
|
$(DIST)\lib\jpeg$(MOZ_BITS)$(VERSION_NUMBER).lib \
|
||||||
$(DIST)\lib\dbm$(MOZ_BITS).lib \
|
$(DIST)\lib\dbm$(MOZ_BITS).lib \
|
||||||
!endif
|
!endif
|
||||||
|
!if "$(WINOS)" == "WIN95"
|
||||||
|
$(DIST)\lib\xpcom$(MOZ_BITS).lib
|
||||||
|
!else
|
||||||
$(DIST)\lib\xpcom$(MOZ_BITS).lib \
|
$(DIST)\lib\xpcom$(MOZ_BITS).lib \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
!endif
|
||||||
|
|
||||||
## Specify MFC libs before other libs and before .obj files,
|
## Specify MFC libs before other libs and before .obj files,
|
||||||
## such that _CrtDumpMemoryLeaks will be called
|
## such that _CrtDumpMemoryLeaks will be called
|
||||||
|
@ -1829,15 +1839,16 @@ install: \
|
||||||
!ENDIF
|
!ENDIF
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
!if "$(_MSC_VER)" == "1100"
|
||||||
REBASE=rebase.exe
|
REBASE=rebase.exe
|
||||||
!if [for %i in (. %PATH%) do @if exist %i\$(REBASE) echo %i\$(REBASE) > rebase.yes]
|
!if [for %i in (. %PATH%) do $(QUIET)if exist %i\$(REBASE) echo %i\$(REBASE) > rebase.yes]
|
||||||
!endif
|
!endif
|
||||||
!if exist(rebase.yes)
|
!if exist(rebase.yes)
|
||||||
!if [for %i in ($(OUTDIR)\*.dll) do @echo %i >> rebase.lst]
|
!if [for %i in ($(OUTDIR)\*.dll) do $(QUIET)echo %i >> rebase.lst]
|
||||||
!endif
|
!endif
|
||||||
!if [for %i in ($(OUTDIR)\java\bin\*.dll) do @echo %i >> rebase.lst]
|
!if [for %i in ($(OUTDIR)\java\bin\*.dll) do $(QUIET)echo %i >> rebase.lst]
|
||||||
!endif
|
!endif
|
||||||
!if [for %i in ($(OUTDIR)\spellchk\*.dll) do @echo %i >> rebase.lst]
|
!if [for %i in ($(OUTDIR)\spellchk\*.dll) do $(QUIET)echo %i >> rebase.lst]
|
||||||
!endif
|
!endif
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
@ -1849,6 +1860,10 @@ rebase:
|
||||||
!if exist(rebase.yes)
|
!if exist(rebase.yes)
|
||||||
del rebase.yes
|
del rebase.yes
|
||||||
!endif
|
!endif
|
||||||
|
!else
|
||||||
|
rebase:
|
||||||
|
|
||||||
|
!endif
|
||||||
|
|
||||||
|
|
||||||
$(OUTDIR)\java\bin\jpw32$(VERSION_NUMBER).dll: $(DIST)\bin\jpw32$(VERSION_NUMBER).dll
|
$(OUTDIR)\java\bin\jpw32$(VERSION_NUMBER).dll: $(DIST)\bin\jpw32$(VERSION_NUMBER).dll
|
||||||
|
|
|
@ -65,5 +65,7 @@ LINCS=-I$(XPDIST)\public\dllcom -I$(XPDIST)\public\winprefs \
|
||||||
|
|
||||||
libs:: $(DLL)
|
libs:: $(DLL)
|
||||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
||||||
|
!if "$(WINOS)" != "WIN95"
|
||||||
@$(DIST)\bin\dllreg $(DIST)\bin\$(DLLNAME).dll
|
@$(DIST)\bin\dllreg $(DIST)\bin\$(DLLNAME).dll
|
||||||
|
!endif
|
||||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
||||||
|
|
|
@ -15,6 +15,10 @@ IGNORE_MANIFEST=1
|
||||||
# Reserved.
|
# Reserved.
|
||||||
|
|
||||||
|
|
||||||
|
DEPTH = ../../../../..
|
||||||
|
|
||||||
|
!include "$(MOZ_SRC)\ns\config\config.mak"
|
||||||
|
|
||||||
!if "$(MOZ_BITS)" == "16"
|
!if "$(MOZ_BITS)" == "16"
|
||||||
DLL_CFLAGS=/GA /GEd /GEf /D_WINDLL
|
DLL_CFLAGS=/GA /GEd /GEf /D_WINDLL
|
||||||
|
|
||||||
|
@ -65,6 +69,8 @@ LINCS=-I$(XPDIST)\public\dllcom -I$(XPDIST)\public\winprefs \
|
||||||
|
|
||||||
libs:: $(DLL)
|
libs:: $(DLL)
|
||||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
||||||
|
!if "$(WINOS)" != "WIN95"
|
||||||
@$(DIST)\bin\dllreg $(DIST)\bin\$(DLLNAME).dll
|
@$(DIST)\bin\dllreg $(DIST)\bin\$(DLLNAME).dll
|
||||||
|
!endif
|
||||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче