2
# The contents of this file are subject to the Netscape 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/NPL/
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 Communicator client code,
13
# released March 31, 1998.
15
# The Initial Developer of the Original Code is Netscape Communications
16
# Corporation. Portions created by Netscape are
17
# Copyright (C) 1998 Netscape Communications Corporation. All
21
# Samir Gehani <sgehani@netscape.com>
25
topsrcdir = @top_srcdir@
29
include $(DEPTH)/config/autoconf.mk
32
PROGRAM = xpicleanup$(BIN_SUFFIX)
41
EXPORTS = InstallCleanupDefines.h \
45
CPPSRCS += InstallCleanupOS2.cpp
47
ifeq ($(OS_ARCH),WINNT)
48
CPPSRCS += InstallCleanupWin.cpp
52
CPPSRCS += InstallCleanupUnix.cpp
56
EXTRA_DSO_LIBS = mozregsa_s
62
DEFINES += -DSTANDALONE_REGISTRY
64
include $(topsrcdir)/config/rules.mk
66
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
67
LIBS += -lmacmorefiles_s
71
ifeq ($(OS_ARCH),WINNT)
73
LDFLAGS += /SUBSYSTEM:WINDOWS
78
$(INSTALL) $(srcdir)/cmessage.txt $(DIST)/bin/res
81
$(SYSINSTALL) $(IFLAGS1) $(srcdir)/cmessage.txt $(DESTDIR)$(mozappdir)/res