2
# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 2001 Netscape Communications Corporation. All
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
29
PROGRAM = nsztool$(BIN_SUFFIX)
30
REQUIRES = $(ZLIB_REQUIRES)
31
EXTRA_DSO_LIBS = mozz_s
36
LIBS = $(EXTRA_DSO_LIBS)
40
include $(topsrcdir)/config/rules.mk
43
LDFLAGS += /SUBSYSTEM:WINDOWS /MACHINE:i386
47
$(INSTALL) $(PROGRAM) $(DIST)/install
48
$(DIST)/install/$(PROGRAM) -g $(DIST)/install/nszip$(BIN_SUFFIX) $(DIST)/install/nsinstall$(BIN_SUFFIX)
51
$(SYSINSTALL) $(IFLAGS2) $(PROGRAM) $(DESTDIR)$(mozappdir)/install
52
$(DIST)/install/$(PROGRAM) -g $(DESTDIR)$(mozappdir)/install/nszip$(BIN_SUFFIX) $(DESTDIR)$(mozappdir)/install/nsinstall$(BIN_SUFFIX)
54
clean clobber clobber_all realclean::
55
$(RM) $(DIST)/install/$(PROGRAM)