зеркало из https://github.com/mozilla/gecko-dev.git
111 строки
2.5 KiB
Plaintext
111 строки
2.5 KiB
Plaintext
# The contents of this file are subject to the Netscape Public License
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
# http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
# for the specific language governing rights and limitations under the
|
|
# NPL.
|
|
#
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
# Reserved.
|
|
|
|
!if "$(MOZ_BITS)"=="32"
|
|
PROD=x86
|
|
!else
|
|
PROD=16x86
|
|
!endif
|
|
|
|
!if defined(MOZ_DEBUG)
|
|
VERSTR=Dbg
|
|
!else
|
|
VERSTR=Rel
|
|
!endif
|
|
|
|
#OUTDIR=$(MOZ_OUT)\$(PROD)$(VERSTR)
|
|
|
|
|
|
PROJ= RESDLL
|
|
DEBUG = 1
|
|
PROGTYPE = 1
|
|
CALLER =
|
|
ARGS =
|
|
DLLS =
|
|
D_RCDEFINES = -d_DEBUG
|
|
R_RCDEFINES = -dNDEBUG
|
|
ORIGIN = MSVC
|
|
ORIGIN_VER = 1.00
|
|
PROJPATH = C:\MSVC\BIN\
|
|
USEMFC = 1
|
|
CC = cl
|
|
CPP = cl
|
|
CXX = cl
|
|
CCREATEPCHFLAG =
|
|
CPPCREATEPCHFLAG =
|
|
CUSEPCHFLAG =
|
|
CPPUSEPCHFLAG =
|
|
FIRSTC =
|
|
FIRSTCPP =
|
|
RC = rc
|
|
CFLAGS_D_WDLL = /nologo /W3 /FR /G2 /Zi /D_DEBUG /Od /GD /ALw /Fd"RESDLL.PDB"
|
|
CFLAGS_R_WDLL = /nologo /W3 /FR /O1 /DNDEBUG /GD /ALw
|
|
LFLAGS_D_WDLL = /NOLOGO /ONERROR:NOEXE /NOD /PACKC:61440 /CO /NOE /ALIGN:16 /MAP:FULL
|
|
LFLAGS_R_WDLL = /NOLOGO /ONERROR:NOEXE /NOD /PACKC:61440 /NOE /ALIGN:16 /MAP:FULL
|
|
LIBS_D_WDLL = lafxdwd oldnames libw commdlg shell olecli olesvr ldllcew
|
|
LIBS_R_WDLL = lafxdw oldnames libw commdlg shell olecli olesvr ldllcew
|
|
RCFLAGS = /nologo
|
|
RESFLAGS = /nologo
|
|
RUNFLAGS =
|
|
DEFFILE = RESDLL.DEF
|
|
OBJS_EXT =
|
|
LIBS_EXT =
|
|
!if "$(DEBUG)" == "1"
|
|
CFLAGS = $(CFLAGS_D_WDLL)
|
|
LFLAGS = $(LFLAGS_D_WDLL)
|
|
LIBS = $(LIBS_D_WDLL)
|
|
MAPFILE = nul
|
|
RCDEFINES = $(D_RCDEFINES)
|
|
!else
|
|
CFLAGS = $(CFLAGS_R_WDLL)
|
|
LFLAGS = $(LFLAGS_R_WDLL)
|
|
LIBS = $(LIBS_R_WDLL)
|
|
MAPFILE = nul
|
|
RCDEFINES = $(R_RCDEFINES)
|
|
!endif
|
|
!if [if exist MSVC.BND del MSVC.BND]
|
|
!endif
|
|
SBRS = RESDLL.SBR
|
|
|
|
|
|
RESDLL_DEP =
|
|
|
|
all: $(OUTDIR)\$(PROJ).DLL
|
|
|
|
$(OUTDIR)\RESDLL.OBJ: RESDLL.C $(RESDLL_DEP)
|
|
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c RESDLL.C
|
|
|
|
|
|
$(OUTDIR)\$(PROJ).DLL: $(OUTDIR)\RESDLL.OBJ $(OBJS_EXT) $(DEFFILE)
|
|
echo >NUL @<<$(PROJ).CRF
|
|
$(OUTDIR)\RESDLL.OBJ +
|
|
$(OBJS_EXT)
|
|
$(OUTDIR)\$(PROJ).DLL
|
|
$(MAPFILE)
|
|
C:\MSVC\LIB\+
|
|
C:\MSVC\MFC\LIB\+
|
|
$(LIBS)
|
|
$(DEFFILE)
|
|
$(OUTDIR)\netscape.res;
|
|
<<
|
|
$(MOZ_TOOLS)\bin\optlinks.exe $(LFLAGS) @$(PROJ).CRF
|
|
# $(RC) -K -i..\res $(OUTDIR)\netscape.res $(OUTDIR)\RESDLL.DLL
|
|
implib /nowep $(PROJ).LIB $(OUTDIR)\$(PROJ).DLL
|
|
|
|
|
|
run: $(OUTDIR)\$(PROJ).DLL
|
|
$(PROJ) $(RUNFLAGS)
|
|
|