gecko-dev/cck/muc/makefile.win

90 строки
2.0 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.
IGNORE_MANIFEST = 1
DEPTH = ..\
# Get CFLAGS, OBJDIR and such defined before using them in this makefile...
!include "$(DEPTH)\config\config.mak"
#################################################################
INCS = \
-I. \
-I$(DEPTH)\dist\public\nspr \
-I$(DEPTH)\dist\public\pref \
-I$(DEPTH)\dist\public\js \
$(INCS)
CPP_OBJS = \
.\$(OBJDIR)\dialshr.obj \
.\$(OBJDIR)\muc.obj \
.\$(OBJDIR)\rasnt40.obj \
.\$(OBJDIR)\ras95.obj \
$(NULL)
OBJS = \
.\$(OBJDIR)\muc.res
#################################################################
MAKE_OBJ_TYPE = DLL
LIBNAME = muc
PDBFILE = $(LIBNAME).pdb
MAPFILE = $(LIBNAME).map
RESFILE = $(LIBNAME).res
# not sure what of all this crap is really necessary
CFLAGS = \
$(CFLAGS) \
-MD \
-D_USRDLL \
-D_AFXDLL \
-DWINVER=0x401
RCFLAGS = \
$(RCFLAGS) \
-D_AFXDLL
# again, not sure what is necessary here, NODEFAULTLIB seems
# to be, and probably the export
LFLAGS = \
$(LFLAGS) \
-export:PEPluginFunc=_PEPluginFunc@12 \
-nodefaultlib:MSVCRT \
-machine:Ix86
DEFFILE = \
muc.def
DLL_LIBS = \
rasapi32.lib \
tapi32.lib \
ole32.lib \
$(DEPTH)\dist\$(OBJDIR)\lib\xppref32.lib \
$(DLL_LIBS)
DLL= \
$(OBJDIR)\$(LIBNAME).dll
#################################################################
libs:: $(DLL)
!include "$(DEPTH)\config\rules.mak"
install::
$(MAKE_INSTALL) .\$(OBJDIR)\$(LIBNAME).dll $(DIST)\lib