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
22
DEPTH = ../../../../../..
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
29
PROGRAM = setup$(BIN_SUFFIX)
62
LIBS = $(EXTRA_DSO_LIBS)
64
LOCAL_INCLUDES = -I$(srcdir) -I$(srcdir)/../uninstall
70
include $(topsrcdir)/config/rules.mk
72
_OS_LIBS = ole32 comdlg32 comctl32 shell32 version
74
_OS_LIBS += gdi32 ws2_32 uuid
76
OS_LIBS += $(call EXPAND_LIBNAME,$(_OS_LIBS))
79
$(INSTALL) $(PROGRAM) $(DIST)/install
82
$(INSTALL) $(PROGRAM) $(DESTDIR)$(mozappdir)/install
84
clean clobber realclean clobber_all::
85
$(RM) $(DIST)/install/$(PROGRAM)