gecko-dev/embedding/config/makefile.win

44 строки
1.5 KiB
Plaintext

#!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 the Mozilla browser.
#
# The Initial Developer of the Original Code is Netscape
# Communications, Inc. Portions created by Netscape are
# Copyright (C) 1999, Mozilla. All Rights Reserved.
#
# Contributor(s):
DEPTH=..\..
MODULE=embed_base
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\config\config.mak>
embed_chrome: embed-jar.mn
$(PERL) $(DEPTH)\config\make-jars.pl -v $(_NO_FLOCK) -s $(DIST)\bin\chrome -d $(DIST)\bin\chrome < embed-jar.mn
install:: embed_chrome
$(PERL) $(DEPTH)\xpinstall\packager\pkgcp.pl -s $(DIST)\bin -d $(DIST) --f basebrowser-win -o dos -v
$(MAKE_INSTALL) installed-chrome.txt $(DIST)\Embed\chrome
!IF "$(APP)" == "mfcembed"
$(MAKE_INSTALL) $(DIST)\bin\mfcembed.exe $(DIST)\Embed
!ELSEIF "$(APP)" == "winembed"
$(MAKE_INSTALL) $(DIST)\bin\winembed.exe $(DIST)\Embed
!ELSE
$(MAKE_INSTALL) $(DIST)\bin\mfcembed.exe $(DIST)\Embed
$(MAKE_INSTALL) $(DIST)\bin\winembed.exe $(DIST)\Embed
!ENDIF
clobber::
rm -f $(DIST)\Embed\chrome\installed-chrome.txt