107 lines
3.6 KiB
Plaintext
107 lines
3.6 KiB
Plaintext
|
|
#!nmake
|
|
#
|
|
# 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) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
# Daniel Veditz <dveditz@netscape.com>
|
|
# Douglas Turner <dougt@netscape.com>
|
|
|
|
|
|
DEPTH=..\..
|
|
|
|
include <$(DEPTH)/config/config.mak>
|
|
|
|
MAKE_OBJ_TYPE = DLL
|
|
MODULE=xpinstal
|
|
XPIDL_MODULE=xpinstall
|
|
|
|
DLL=.\$(OBJDIR)\$(MODULE).dll
|
|
|
|
DEFINES=-D_IMPL_NS_DOM -DWIN32_LEAN_AND_MEAN
|
|
|
|
LCFLAGS = \
|
|
$(LCFLAGS) \
|
|
$(DEFINES) \
|
|
$(NULL)
|
|
|
|
|
|
LLIBS = \
|
|
$(DIST)\lib\xpcom.lib \
|
|
$(DIST)\lib\js3250.lib \
|
|
$(DIST)\lib\jsdombase_s.lib \
|
|
$(DIST)\lib\jsdomevents_s.lib \
|
|
$(DIST)\lib\zlib.lib \
|
|
$(DIST)\lib\strres.lib \
|
|
$(LIBNSPR) \
|
|
$(DIST)\lib\mozreg.lib \
|
|
$(NULL)
|
|
|
|
|
|
OBJS = \
|
|
.\$(OBJDIR)\nsInstall.obj \
|
|
.\$(OBJDIR)\nsInstallTrigger.obj \
|
|
.\$(OBJDIR)\nsInstallVersion.obj \
|
|
.\$(OBJDIR)\nsInstallFolder.obj \
|
|
.\$(OBJDIR)\nsJSInstall.obj \
|
|
.\$(OBJDIR)\nsJSFile.obj \
|
|
.\$(OBJDIR)\nsJSInstallTriggerGlobal.obj \
|
|
.\$(OBJDIR)\nsJSInstallVersion.obj \
|
|
.\$(OBJDIR)\nsSoftwareUpdate.obj \
|
|
.\$(OBJDIR)\nsSoftwareUpdateRun.obj \
|
|
.\$(OBJDIR)\nsInstallFile.obj \
|
|
.\$(OBJDIR)\nsInstallDelete.obj \
|
|
.\$(OBJDIR)\nsInstallExecute.obj \
|
|
.\$(OBJDIR)\nsInstallPatch.obj \
|
|
.\$(OBJDIR)\nsInstallUninstall.obj \
|
|
.\$(OBJDIR)\nsInstallResources.obj \
|
|
.\$(OBJDIR)\nsTopProgressNotifier.obj \
|
|
.\$(OBJDIR)\nsLoggingProgressNotifier.obj\
|
|
.\$(OBJDIR)\ScheduledTasks.obj \
|
|
.\$(OBJDIR)\nsWinReg.obj \
|
|
.\$(OBJDIR)\nsJSWinReg.obj \
|
|
.\$(OBJDIR)\nsWinRegItem.obj \
|
|
.\$(OBJDIR)\nsWinRegValue.obj \
|
|
.\$(OBJDIR)\nsWinProfile.obj \
|
|
.\$(OBJDIR)\nsJSWinProfile.obj \
|
|
.\$(OBJDIR)\nsWinProfileItem.obj \
|
|
.\$(OBJDIR)\nsInstallProgressDialog.obj \
|
|
.\$(OBJDIR)\nsXPITriggerInfo.obj \
|
|
.\$(OBJDIR)\nsXPInstallManager.obj \
|
|
.\$(OBJDIR)\nsInstallFileOpItem.obj \
|
|
.\$(OBJDIR)\nsWinShortcut.obj \
|
|
.\$(OBJDIR)\nsJSFileSpecObj.obj \
|
|
# .\$(OBJDIR)\nsUpdateNotification.obj \
|
|
$(NULL)
|
|
|
|
WIN_LIBS= \
|
|
ole32.lib \
|
|
$(NULL)
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
install:: $(DLL)
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).lib $(DIST)\lib
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).dll $(DIST)\bin\components
|
|
|
|
clobber::
|
|
$(RM) $(DIST)\lib\$(MODULE).lib
|
|
$(RM) $(DIST)\bin\components\$(MODULE).dll
|
|
|