# # The contents of this file are subject to the Mozilla Public License # Version 1.0 (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/MPL/ # # 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 Initial Developer of the Original Code is Sun Microsystems, # Inc. Portions created by Sun are Copyright (C) 1999 Sun Microsystems, # Inc. All Rights Reserved. # -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # 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) 1999 Netscape Communications Corporation. All Rights # Reserved. IGNORE_MANIFEST=1 #//------------------------------------------------------------------------ #// #// Makefile to build #// #//------------------------------------------------------------------------ MODULE = nppluglet LIBRARY_NAME = nppluglet DEPTH= ..\..\..\ REQUIRES = java plug xpcom raptor oji OBJS = \ .\$(OBJDIR)\Pluglet.obj \ .\$(OBJDIR)\PlugletEngine.obj \ .\$(OBJDIR)\PlugletList.obj \ .\$(OBJDIR)\PlugletLoader.obj \ .\$(OBJDIR)\PlugletsDir.obj \ .\$(OBJDIR)\PlugletInstance.obj \ .\$(OBJDIR)\PlugletStreamListener.obj \ .\$(OBJDIR)\PlugletStreamInfo.obj \ .\$(OBJDIR)\PlugletInstancePeer.obj \ .\$(OBJDIR)\PlugletManager.obj \ .\$(OBJDIR)\PlugletInputStream.obj \ .\$(OBJDIR)\PlugletInstanceView.obj MAKE_OBJ_TYPE = DLL #//------------------------------------------------------------------------ #// #// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...) #// (these must be defined before the common makefiles are included) #// #//------------------------------------------------------------------------ DLLNAME=nppluglet PDBFILE=nppluglet.pdb MAPFILE=nppluglet.map DEFFILE=PlugletEngine.def RESFILE=PlugletEngine.res DLL = .\$(OBJDIR)\$(DLLNAME).dll #//------------------------------------------------------------------------ #// #// Define any local options for the make tools #// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS) #// #//------------------------------------------------------------------------ LLIBS=$(LLIBS) $(LIBNSPR) $(DIST)\lib\xpcom.lib $(DIST)\lib\oji.lib $(JDKHOME)\lib\jvm.lib #//------------------------------------------------------------------------ #// #// Include the common makefile rules #// #//------------------------------------------------------------------------ include <$(DEPTH)/config/rules.mak> install:: $(DLL) $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\plugins