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

This commit is contained in:
av%netscape.com 2001-12-02 23:39:03 +00:00
Родитель 968dc3e710
Коммит b7e8c0552f
4 изменённых файлов: 65 добавлений и 20 удалений

Просмотреть файл

@ -26,9 +26,9 @@ DIRS = samples
include <$(DEPTH)\config\rules.mak>
export::
if not exist "bin" mkdir "bin"
if not exist "idl" mkdir "idl"
if not exist "include" mkdir "include"
if not exist "bin" MKDIR "bin"
if not exist "idl" MKDIR "idl"
if not exist "include" MKDIR "include"
$(MAKE_INSTALL) $(XPDIST)\idl\nsISupports.idl .\idl
$(MAKE_INSTALL) $(XPDIST)\idl\nsrootidl.idl .\idl

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

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