From bdbe12be37185369f5508fe0b730966c235010b5 Mon Sep 17 00:00:00 2001 From: "av%netscape.com" Date: Sun, 2 Dec 2001 00:14:05 +0000 Subject: [PATCH] Preparing pluign SDK for becoming a part of the build (it is not yet). git-svn-id: svn://10.0.0.236/trunk@109472 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/tools/sdk/makefile.win | 10 +++- .../sdk/samples/basic/windows/makefile.win | 49 +++++++++++++++++++ .../plugin/tools/sdk/samples/makefile.win | 26 ++++++++++ .../samples/scriptable/windows/makefile.win | 31 ++++++++++++ .../tools/sdk/samples/simple/makefile.win | 31 ++++++++++++ 5 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 mozilla/modules/plugin/tools/sdk/samples/basic/windows/makefile.win create mode 100644 mozilla/modules/plugin/tools/sdk/samples/makefile.win create mode 100644 mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/makefile.win create mode 100644 mozilla/modules/plugin/tools/sdk/samples/simple/makefile.win diff --git a/mozilla/modules/plugin/tools/sdk/makefile.win b/mozilla/modules/plugin/tools/sdk/makefile.win index 670c520253a..62904788625 100644 --- a/mozilla/modules/plugin/tools/sdk/makefile.win +++ b/mozilla/modules/plugin/tools/sdk/makefile.win @@ -19,10 +19,13 @@ # # Contributor(s): -DEPTH=..\..\..\.. +DEPTH = ..\..\..\.. + +DIRS = samples + include <$(DEPTH)\config\rules.mak> -libs:: +export:: if not exist "bin" mkdir "bin" if not exist "idl" mkdir "idl" if not exist "include" mkdir "include" @@ -74,3 +77,6 @@ libs:: $(MAKE_INSTALL) $(DIST)\bin\regxpcom.exe .\bin $(MAKE_INSTALL) $(DIST)\bin\xpidl.exe .\bin $(MAKE_INSTALL) $(DIST)\bin\xpt_dump.exe .\bin + +clobber:: + $(RM_R) bin idl include diff --git a/mozilla/modules/plugin/tools/sdk/samples/basic/windows/makefile.win b/mozilla/modules/plugin/tools/sdk/samples/basic/windows/makefile.win new file mode 100644 index 00000000000..7747281bba0 --- /dev/null +++ b/mozilla/modules/plugin/tools/sdk/samples/basic/windows/makefile.win @@ -0,0 +1,49 @@ +#!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> + +#MODULE=npbasic + +#MAKE_OBJ_TYPE = DLL +#DLLNAME = npbasic +#RESFILE = basic.res +#DEFFILE = basic.def +#DLL=.\$(OBJDIR)\$(DLLNAME).dll + +#LCFLAGS = $(LCFLAGS) -I..\..\include -I..\..\..\include + +#OBJS = \ +# .\$(OBJDIR)\npn_gate.obj \ +# .\$(OBJDIR)\npp_gate.obj \ +# .\$(OBJDIR)\np_entry.obj \ +# .\$(OBJDIR)\plugin.obj \ +# $(NULL) + +#WIN_LIBS = version.lib + +include <$(DEPTH)\config\rules.mak> + +#libs:: $(DLL) + +clobber:: + rm -f *.sbr diff --git a/mozilla/modules/plugin/tools/sdk/samples/makefile.win b/mozilla/modules/plugin/tools/sdk/samples/makefile.win new file mode 100644 index 00000000000..0d47a0439c0 --- /dev/null +++ b/mozilla/modules/plugin/tools/sdk/samples/makefile.win @@ -0,0 +1,26 @@ +#!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=..\..\..\..\..\ + +DIRS= basic\windows scriptable\windows simple + +include <$(DEPTH)\config\rules.mak> diff --git a/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/makefile.win b/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/makefile.win new file mode 100644 index 00000000000..9591afcca59 --- /dev/null +++ b/mozilla/modules/plugin/tools/sdk/samples/scriptable/windows/makefile.win @@ -0,0 +1,31 @@ +#!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> + + +include <$(DEPTH)\config\rules.mak> + +#libs:: $(DLL) + +clobber:: + rm -f *.sbr diff --git a/mozilla/modules/plugin/tools/sdk/samples/simple/makefile.win b/mozilla/modules/plugin/tools/sdk/samples/simple/makefile.win new file mode 100644 index 00000000000..6ebc6a4e440 --- /dev/null +++ b/mozilla/modules/plugin/tools/sdk/samples/simple/makefile.win @@ -0,0 +1,31 @@ +#!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> + + +include <$(DEPTH)\config\rules.mak> + +#libs:: $(DLL) + +clobber:: + rm -f *.sbr