зеркало из https://github.com/mozilla/pjs.git
Bug 166417 -- Plugin SDK does not build, not part of the build process
This commit is contained in:
Родитель
04f187735b
Коммит
1ba036355e
|
@ -0,0 +1,34 @@
|
|||
#
|
||||
# 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 = ../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = common simple
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DIRS += basic/windows scriptable/windows winless/windows
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
|
@ -0,0 +1,44 @@
|
|||
#
|
||||
# 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 = ../../../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
XPIDL_MODULE = npbasic
|
||||
LIBRARY_NAME = npbasic
|
||||
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
CPPSRCS = plugin.cpp
|
||||
|
||||
SHARED_LIBRARY_LIBS = ../../common/plugingate_s.$(LIB_SUFFIX)
|
||||
|
||||
DEFFILE = basic.def
|
||||
RESFILE = basic.res
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../../include \
|
||||
-I$(srcdir)/../../../include \
|
||||
$(NULL)
|
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# 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 = ../../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = plugingate_s
|
||||
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
CPPSRCS = npn_gate.cpp \
|
||||
npp_gate.cpp \
|
||||
np_entry.cpp \
|
||||
$(NULL)
|
||||
|
||||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../../include
|
|
@ -0,0 +1,49 @@
|
|||
#
|
||||
# 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 = ../../../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
XPIDL_MODULE = npscriptable
|
||||
LIBRARY_NAME = npscriptable
|
||||
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
CPPSRCS = plugin.cpp \
|
||||
nsScriptablePeer.cpp \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS = nsIScriptablePluginSample.idl
|
||||
|
||||
SHARED_LIBRARY_LIBS = ../../common/plugingate_s.$(LIB_SUFFIX)
|
||||
|
||||
DEFFILE = npscriptable.def
|
||||
RESFILE = npscriptable.res
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/$(XPIDL_GEN_DIR) \
|
||||
-I$(srcdir)/../../include \
|
||||
-I$(srcdir)/../../../include \
|
||||
$(NULL)
|
|
@ -29,18 +29,19 @@ include $(DEPTH)/config/autoconf.mk
|
|||
XPIDL_MODULE = npsimple
|
||||
LIBRARY_NAME = npsimple
|
||||
|
||||
BUILD_STATIC_LIBS = 1
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
CPPSRCS = nsScriptablePeer.cpp plugin.cpp
|
||||
CPPSRCS = nsScriptablePeer.cpp \
|
||||
plugin.cpp \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS = nsISimplePlugin.idl
|
||||
|
||||
SHARED_LIBRARY_LIBS = ../common/psdkplugingate_s.$(LIB_SUFFIX)
|
||||
SHARED_LIBRARY_LIBS = ../common/plugingate_s.$(LIB_SUFFIX)
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFFILE = $(srcdir)/npsimple.def
|
||||
DEFFILE = npsimple.def
|
||||
RESFILE = npsimple.res
|
||||
OS_LIBS = version.lib
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -49,4 +50,7 @@ ifeq ($(OS_ARCH),Linux)
|
|||
EXTRA_DSO_LDOPTS += -L/usr/lib -L/usr/X11R6/lib -rdynamic -lXi -lXext -lX11 -lm -lXt
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../../include
|
||||
LOCAL_INCLUDES = -I$(srcdir)/$(XPIDL_GEN_DIR) \
|
||||
-I$(srcdir)/../include \
|
||||
-I$(srcdir)/../../include \
|
||||
$(NULL)
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
#
|
||||
# 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 = ../../../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
XPIDL_MODULE = npwinless
|
||||
LIBRARY_NAME = npwinless
|
||||
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
CPPSRCS = plugin.cpp
|
||||
|
||||
SHARED_LIBRARY_LIBS = ../../common/plugingate_s.$(LIB_SUFFIX)
|
||||
|
||||
DEFFILE = npwinless.def
|
||||
RESFILE = npwinless.res
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../../include \
|
||||
-I$(srcdir)/../../../include \
|
||||
$(NULL)
|
Загрузка…
Ссылка в новой задаче