Preparing the Plugin SDK to become a part of the build, it is not yet.

git-svn-id: svn://10.0.0.236/trunk@109503 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2001-12-02 23:39:03 +00:00
parent 0daeecc032
commit b80617f16a
4 changed files with 65 additions and 20 deletions

View File

@@ -22,28 +22,29 @@
DEPTH=..\..\..\..\..\..\..
include <$(DEPTH)\config\config.mak>
#MODULE=npbasic
MODULE=npbasic
#MAKE_OBJ_TYPE = DLL
#DLLNAME = npbasic
#RESFILE = basic.res
#DEFFILE = basic.def
#DLL=.\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = DLL
DLLNAME = npbasic
RESFILE = basic.res
DEFFILE = basic.def
DLL=.\$(OBJDIR)\$(DLLNAME).dll
#LCFLAGS = $(LCFLAGS) -I..\..\include -I..\..\..\include
CFLAGS = $(CFLAGS) -I..\..\include -I..\..\..\include
#OBJS = \
# .\$(OBJDIR)\npn_gate.obj \
# .\$(OBJDIR)\npp_gate.obj \
# .\$(OBJDIR)\np_entry.obj \
# .\$(OBJDIR)\plugin.obj \
# $(NULL)
OBJS = \
.\$(OBJDIR)\plugin.obj \
$(NULL)
#WIN_LIBS = version.lib
LLIBS = \
..\..\common\$(OBJDIR)\plugingate.lib \
$(NULL)
WIN_LIBS = version.lib
include <$(DEPTH)\config\rules.mak>
#libs:: $(DLL)
libs:: $(DLL)
clobber::
rm -f *.sbr
$(RM) -f *.sbr

View File

@@ -0,0 +1,44 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..\..\..
include <$(DEPTH)\config\config.mak>
MAKE_OBJ_TYPE = LIB
LIBRARY_NAME = plugingate
LIB=.\$(OBJDIR)\$(LIBRARY_NAME).lib
CFLAGS = $(CFLAGS) -I..\include -I..\..\include
CPP_OBJS = \
.\$(OBJDIR)\npn_gate.obj \
.\$(OBJDIR)\npp_gate.obj \
.\$(OBJDIR)\np_entry.obj \
$(NULL)
include <$(DEPTH)\config\rules.mak>
# it will export the lib to the dist/lib dir, so do not forget to remove it
libs:: $(LIB)
$(RM) $(DIST)\lib\$(LIBRARY_NAME).lib
clobber::
$(RM) *.sbr

View File

@@ -21,6 +21,6 @@
DEPTH=..\..\..\..\..\
DIRS= basic\windows scriptable\windows simple
DIRS= common basic\windows scriptable\windows simple
include <$(DEPTH)\config\rules.mak>