Clean the old Makefile.win
git-svn-id: svn://10.0.0.236/trunk@140682 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1,189 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla 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/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 Original Code is mozilla.org code.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
DIRS=win32
|
||||
|
||||
MODULE=webclient
|
||||
REQUIRES = xpcom \
|
||||
layout \
|
||||
shistory \
|
||||
appcomps \
|
||||
appshell \
|
||||
pref \
|
||||
locale \
|
||||
intl \
|
||||
rdf \
|
||||
bookmarks \
|
||||
content \
|
||||
editor \
|
||||
string \
|
||||
embed_base \
|
||||
webBrowser_core \
|
||||
webshell \
|
||||
windowwatcher \
|
||||
profile \
|
||||
necko \
|
||||
docshell \
|
||||
dom \
|
||||
widget \
|
||||
uriloader \
|
||||
webbrowserpersist \
|
||||
gfx \
|
||||
$(NULL)
|
||||
LIBRARY_NAME=webclient
|
||||
MODULE_NAME=nsWebClient
|
||||
|
||||
OBJS = \
|
||||
.\$(OBJDIR)\ns_util.obj \
|
||||
.\$(OBJDIR)\ns_util_export.obj \
|
||||
.\$(OBJDIR)\rdf_util.obj \
|
||||
.\$(OBJDIR)\dom_util.obj \
|
||||
.\$(OBJDIR)\nsActions.obj \
|
||||
.\$(OBJDIR)\CurrentPageImpl.obj \
|
||||
.\$(OBJDIR)\CurrentPageActionEvents.obj \
|
||||
.\$(OBJDIR)\HistoryImpl.obj \
|
||||
.\$(OBJDIR)\HistoryActionEvents.obj \
|
||||
.\$(OBJDIR)\BookmarksImpl.obj \
|
||||
.\$(OBJDIR)\WrapperFactoryImpl.obj \
|
||||
.\$(OBJDIR)\WindowControlImpl.obj \
|
||||
.\$(OBJDIR)\WindowControlActionEvents.obj \
|
||||
.\$(OBJDIR)\InputStreamShim.obj \
|
||||
.\$(OBJDIR)\NavigationImpl.obj \
|
||||
.\$(OBJDIR)\NavigationActionEvents.obj \
|
||||
.\$(OBJDIR)\CBrowserContainer.obj \
|
||||
.\$(OBJDIR)\PromptActionEvents.obj \
|
||||
.\$(OBJDIR)\NativeEventThreadActionEvents.obj \
|
||||
.\$(OBJDIR)\NativeEventThread.obj \
|
||||
.\$(OBJDIR)\RDFEnumeration.obj \
|
||||
.\$(OBJDIR)\RDFTreeNode.obj \
|
||||
.\$(OBJDIR)\RDFActionEvents.obj \
|
||||
.\$(OBJDIR)\wsRDFObserver.obj \
|
||||
.\$(OBJDIR)\PreferencesImpl.obj \
|
||||
.\$(OBJDIR)\PreferencesActionEvents.obj \
|
||||
.\$(OBJDIR)\ISupportsPeer.obj \
|
||||
.\win32\$(OBJDIR)\Win32BrowserControlCanvas.obj \
|
||||
$(NULL)
|
||||
|
||||
SUB_LIBRARIES= \
|
||||
$(DIST)\lib\wc_win32.lib \
|
||||
$(NULL)
|
||||
|
||||
LLIBS = \
|
||||
$(DIST)\lib\baseembed_s.lib \
|
||||
$(DIST)\lib\raptorbasewidget_s.lib \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\gkgfx.lib \
|
||||
$(DIST)\lib\nsreg.lib \
|
||||
$(DIST)\lib\nspr4.lib \
|
||||
$(DIST)\lib\plc4.lib \
|
||||
$(DIST)\lib\plds4.lib \
|
||||
$(JDKHOME)\jre\lib\jawt.lib \
|
||||
$(NULL)
|
||||
|
||||
WIN_LIBS= \
|
||||
ole32.lib \
|
||||
comdlg32.lib \
|
||||
shell32.lib \
|
||||
version.lib \
|
||||
$(NULL)
|
||||
|
||||
!ifdef BAL_INTERFACE
|
||||
LLIBS = $(LLIBS) \
|
||||
$(DIST)\lib\wc_share_bal.lib \
|
||||
$(NULL)
|
||||
!else
|
||||
LLIBS = $(LLIBS) \
|
||||
$(DIST)\lib\wc_share.lib \
|
||||
$(NULL)
|
||||
!endif
|
||||
|
||||
|
||||
!ifdef BAL_INTERFACE
|
||||
INCS = \
|
||||
-I..\bal\ \
|
||||
-I..\bal\win32 \
|
||||
$(INCS) \
|
||||
$(NULL)
|
||||
!else
|
||||
INCS = \
|
||||
-I$(JDKHOME)\include \
|
||||
-I$(JDKHOME)\include\win32 \
|
||||
$(INCS) \
|
||||
$(NULL)
|
||||
!endif
|
||||
|
||||
INCS = \
|
||||
-I..\src_share \
|
||||
$(INCS) \
|
||||
$(NULL)
|
||||
|
||||
LCFLAGS = \
|
||||
-DDEBUG_RAPTOR_CANVAS \
|
||||
$(NULL)
|
||||
|
||||
!ifdef BAL_INTERFACE
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
-DBAL_INTERFACE \
|
||||
$(NULL)
|
||||
!endif
|
||||
|
||||
NO_DIST_INSTALL=1
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
#!CMDSWITCHES -S
|
||||
|
||||
# generate the jni header
|
||||
|
||||
buildRunems:
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(LIBRARY_NAME).dll $(DIST)\bin
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(LIBRARY_NAME).lib $(DIST)\lib
|
||||
!ifdef MOZ_DEBUG
|
||||
copy $(DIST)\bin\windbgdlg.exe $(JDKHOME)\bin
|
||||
!endif
|
||||
!ifdef BAL_INTERFACE
|
||||
!else
|
||||
!ifndef PACKAGE_BUILD
|
||||
@echo +++ Creating runem.bat. Use this to run the test browser.
|
||||
rm -f runem.bat
|
||||
@echo SET PATH=$(JDKHOME)\jre\bin;%PATH% >> runem.bat
|
||||
@echo $(PERL) ..\src_share\runem.pl org.mozilla.webclient.test.EmbeddedMozillaImpl $(DEPTH) %1% >> runem.bat
|
||||
!endif
|
||||
!endif
|
||||
|
||||
libs:: $(DLL) buildRunems
|
||||
|
||||
|
||||
clobber_all:: clobber
|
||||
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\bin\$(DLL).dll
|
||||
!ifdef PACKAGE_BUILD
|
||||
rm -f runem_win_commercial.bat
|
||||
!else
|
||||
rm -f runem.bat
|
||||
!endif
|
||||
|
||||
edburns:
|
||||
echo $(DLL) $(MAKE_OBJ_TYPE) $(LIBRARY_NAME) $(EXPORT_LIBRARY)
|
||||
@@ -1,152 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla 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/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 Original Code is mozilla.org code.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
MODULE=wc_share
|
||||
include <$(DEPTH)/config/config.mak>
|
||||
|
||||
OBJS = \
|
||||
.\$(OBJDIR)\jni_util.obj \
|
||||
.\$(OBJDIR)\jni_util_export.obj \
|
||||
$(NULL)
|
||||
|
||||
!ifdef BAL_INTERFACE
|
||||
OBJS = \
|
||||
.\$(OBJDIR)\bal_util.obj \
|
||||
$(OBJS) \
|
||||
$(NULL)
|
||||
!endif
|
||||
|
||||
|
||||
LCFLAGS = \
|
||||
-DDEBUG_RAPTOR_CANVAS \
|
||||
$(NULL)
|
||||
|
||||
!ifdef BAL_INTERFACE
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
-DBAL_INTERFACE \
|
||||
$(NULL)
|
||||
|
||||
LIBRARY_NAME = wc_share_bal
|
||||
!else
|
||||
LIBRARY_NAME = wc_share
|
||||
!endif
|
||||
|
||||
LLIBS = \
|
||||
$(NULL)
|
||||
|
||||
WIN_LIBS = \
|
||||
version.lib
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
!ifdef BAL_INTERFACE
|
||||
INCS = \
|
||||
-I..\bal\ \
|
||||
-I..\bal\win32 \
|
||||
$(INCS) \
|
||||
$(NULL)
|
||||
!else
|
||||
INCS = \
|
||||
-I$(JDKHOME)\include \
|
||||
-I$(JDKHOME)\include\win32 \
|
||||
$(INCS) \
|
||||
$(NULL)
|
||||
!endif
|
||||
|
||||
include <$(DEPTH)\java\config\localdefs.mak>
|
||||
|
||||
!ifdef CLASSPATH
|
||||
JAVAC_CLASSPATH=$(JAVAC_CLASSPATH);$(CLASSPATH)
|
||||
!endif
|
||||
|
||||
!CMDSWITCHES -S
|
||||
|
||||
# generate the jni header
|
||||
export:: BookmarksImpl.h PreferencesImpl.h CurrentPageImpl.h HistoryImpl.h WrapperFactoryImpl.h WindowControlImpl.h NavigationImpl.h NativeEventThread.h RDFEnumeration.h RDFTreeNode.h ISupportsPeer.h
|
||||
|
||||
BookmarksImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.BookmarksImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.BookmarksImpl
|
||||
|
||||
PreferencesImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.PreferencesImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.PreferencesImpl
|
||||
|
||||
|
||||
CurrentPageImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.CurrentPageImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.CurrentPageImpl
|
||||
|
||||
HistoryImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.HistoryImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.HistoryImpl
|
||||
|
||||
WrapperFactoryImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.WrapperFactoryImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.WrapperFactoryImpl
|
||||
|
||||
NavigationImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.NavigationImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.NavigationImpl
|
||||
|
||||
RDFEnumeration.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.RDFEnumeration is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.RDFEnumeration
|
||||
|
||||
RDFTreeNode.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.RDFTreeNode is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.RDFTreeNode
|
||||
|
||||
ISupportsPeer.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.ISupportsPeer is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.ISupportsPeer
|
||||
|
||||
WindowControlImpl.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.WindowControlImpl is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.WindowControlImpl
|
||||
|
||||
NativeEventThread.h:
|
||||
@echo Assuming class org.mozilla.webclient.wrapper_native.NativeEventThread is in $(JAVAH_FLAGS)
|
||||
$(JAVAH) $(JAVAH_FLAGS) -o $@ org.mozilla.webclient.wrapper_native.NativeEventThread
|
||||
|
||||
|
||||
|
||||
install:: $(LIBRARY)
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(LIBRARY_NAME).lib $(DIST)\lib
|
||||
|
||||
clobber_all:: clobber
|
||||
rm -f BookmarksImpl.h
|
||||
rm -f PreferencesImpl.h
|
||||
rm -f CurrentPageImpl.h
|
||||
rm -f HistoryImpl.h
|
||||
rm -f WrapperFactoryImpl.h
|
||||
rm -f NavigationImpl.h
|
||||
rm -f WindowControlImpl.h
|
||||
rm -f NativeEventThread.h
|
||||
rm -f RDFEnumeration.h
|
||||
rm -f RDFTreeNode.h
|
||||
rm -f ISupportsPeer.h
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|
||||
|
||||
Reference in New Issue
Block a user