seawood%netscape.com 5ecd9d7755 Fixing win32 static build bustage in activex & simple plugin.
Bug 120675 r=bryner sr=waterson a=asa


git-svn-id: svn://10.0.0.236/trunk@112424 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 08:14:20 +00:00

96 lines
2.7 KiB
Plaintext

# -*- 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.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):
MODULE = npsimple
REQUIRES = xpcom plugin string
LIBRARY_NAME = npsimple
MODULE_NAME = SimplePlugin
# Set bogus meta component so that lib is not added to any final-link lists
META_COMPONENT=bogus_plugin
DEPTH = ..\..\..\..
# Make sure that it builds but don't install it
NO_DIST_INSTALL = 1
XPIDLSRCS = \
.\nsISimplePluginInstance.idl \
$(NULL)
OBJS = .\$(OBJDIR)\npsimple.obj
# .\$(OBJDIR)\stubs.obj \
# .\$(OBJDIR)\stubs2.obj
JDIRS = .
#xJRI_GEN = \
# Simple \
# java.lang.Object \
# netscape.plugin.Plugin \
MAKE_OBJ_TYPE=DLL
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
DLLNAME=npsimple.dll
PDBFILE=npsimple.pdb
MAPFILE=npsimple.map
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
DLL=.\$(OBJDIR)\$(DLLNAME)
MAPFILE= npsimple.map
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
#//
#//------------------------------------------------------------------------
LLIBS=$(LLIBS) $(LIBNSPR) $(DIST)\lib\xpcom.lib
# clobber and clobber_all will remove the following garbage:
GARBAGE = $(GARBAGE) _gen
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
LINCS=$(LINCS) -I$(XPIDL_GEN_DIR) -I_jri
!ifdef NEW_PLUGIN_STREAM_API
LCFLAGS = $(LCFLAGS) -DNEW_PLUGIN_STREAM_API
!endif