source: trunk/third/mozilla/xpinstall/cleanup/Makefile.in @ 19518

Revision 19518, 1.8 KB checked in by rbasch, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19517, which included commits to RCS files with non-trunk default branches.
RevLine 
[18859]1#
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/
6#
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.
11#
12# The Original Code is Mozilla Communicator client code,
13# released March 31, 1998.
14#
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
18# Rights Reserved.
19#
20# Contributor(s):
21#     Samir Gehani <sgehani@netscape.com>
22#
23
24DEPTH           = ../..
25topsrcdir       = @top_srcdir@
26srcdir          = @srcdir@
27VPATH           = @srcdir@
28
29include $(DEPTH)/config/autoconf.mk
30
31MODULE          = xpinstall
32PROGRAM         = xpicleanup$(BIN_SUFFIX)
[19517]33GRE_MODULE      = 1
[18859]34REQUIRES        = libreg \
35                  $(NULL)
36
37CPPSRCS         = \
38        InstallCleanup.cpp \
39        $(NULL)
40
41EXPORTS        = InstallCleanupDefines.h \
42        $(NULL)
43
44ifeq ($(OS_ARCH),OS2)
45CPPSRCS += InstallCleanupOS2.cpp
46else
47ifeq ($(OS_ARCH),WINNT)
48CPPSRCS += InstallCleanupWin.cpp
49MOZ_WINCONSOLE = 0
50USE_NON_MT_LIBS = 1
51else
52CPPSRCS += InstallCleanupUnix.cpp
53endif
54endif
55
56EXTRA_DSO_LIBS = mozregsa_s
57
58LIBS        = \
59        $(EXTRA_DSO_LIBS) \
60        $(NULL)
61
62DEFINES += -DSTANDALONE_REGISTRY
63
64include $(topsrcdir)/config/rules.mk
65
66ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
67LIBS += -lmacmorefiles_s
68LDFLAGS += $(TK_LIBS)
69endif
70
71ifeq ($(OS_ARCH),WINNT)
[19517]72ifndef GNU_CC
[18859]73LDFLAGS += /SUBSYSTEM:WINDOWS
74endif
[19517]75endif
[18859]76
77libs::
78        $(INSTALL) $(srcdir)/cmessage.txt $(DIST)/bin/res
79
80install::
81        $(SYSINSTALL) $(IFLAGS1) $(srcdir)/cmessage.txt $(DESTDIR)$(mozappdir)/res
82
Note: See TracBrowser for help on using the repository browser.