Bug #56601 r=pavlov git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
#
|
|
# 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 Communicator client code,
|
|
# released March 31, 1998.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape Communications
|
|
# Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1999 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
|
|
DEPTH=..\..\..\..
|
|
|
|
MAKE_OBJ_TYPE = EXE
|
|
USE_NON_MT_LIBS = 1
|
|
|
|
MODULE = TestXPI
|
|
PROGRAM = .\$(OBJDIR)\$(MODULE).exe
|
|
|
|
OBJS = \
|
|
.\$(OBJDIR)\testxpi.obj \
|
|
.\$(OBJDIR)\xpi.obj \
|
|
$(NULL)
|
|
|
|
LLFLAGS= \
|
|
/machine:i386 \
|
|
$(NULL)
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
libs:: $(PROGRAM)
|
|
$(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin
|
|
|
|
if not exist test1\nul mkdir test1
|
|
copy test1.txt test1
|
|
copy test1.js test1\install.js
|
|
cd test1
|
|
zip test1.xpi *.*
|
|
cd ..
|
|
copy test1\test1.xpi $(DIST)\bin
|
|
|
|
if not exist test2\nul mkdir test2
|
|
copy test2.txt test2
|
|
copy test2.js test2\install.js
|
|
cd test2
|
|
zip test2.xpi *.*
|
|
cd ..
|
|
copy test2\test2.xpi $(DIST)\bin
|
|
|
|
|
|
clobber_all::
|
|
$(RM) $(DIST)\bin\$(MODULE).exe
|
|
$(RM) $(DIST)\bin\test1.xpi
|
|
$(RM) $(DIST)\bin\test2.xpi
|
|
$(RM) -rf $(DIST)\bin\testxpi
|
|
$(RM) -rf test1
|
|
$(RM) -rf test2
|
|
|