2020-09-30 17:12:32 +02:00

94 lines
2.6 KiB
Plaintext

!IF 0
Copyright (c) 1989-1996 Microsoft Corporation
Module Name:
sources.
Abstract:
This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.
History:
Common ccshell makefile and cleanup 15-Apr-96 Scott Hysom (scotth)
Created 27-Sep-94 by Bob Day (bobday)
from template created 12-Apr-1990 by Steve Wood (stevewo)
NOTE: Commented description of this file is in \nt\public\oak\bin\sources.tpl
!ENDIF
CCSHELL_DIR = $(BASEDIR)\private\shell
# WARNING: NOT_UNICODE=1 no longer works (probably),
# since we check for various 'W' ifaces and clipboard formats.
# (see '// #ifdef UNICODE' in *.c, which shows where we probably
# should be #ifdef'ed).
#NOT_UNICODE = 1
TARGET_BOTH = 1
!include $(CCSHELL_DIR)\common.inc
NO_BROWSER_FILE = 1
SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
TARGETNAME = sendmail
TARGETPATH = obj
TARGETTYPE = DYNLINK
# NOTE!! We deliberately link to an NT4 compatible shell32.lib
# so shdocvw can be loaded in the browser-only installations.
# We use the NT version because it contains lego info.
# The debug version of shdocvw links to the Win95 version
# of shell32.lib simply so we can verify that we load in the
# browser-only installations on Win95.
TARGETLIBS = $(LIBRARY_PATH)\kernel32.lib \
$(LIBRARY_PATH)\ole32.lib \
$(LIBRARY_PATH)\uuid.lib \
$(LIBRARY_PATH)\shlwapip.lib \
$(LIBRARY_PATH)\user32.lib \
!if $(386)
! if !$(FREEBUILD)
$(BASEDIR)\private\lib\chicago\*\shell32.w95 \
! else
$(BASEDIR)\private\lib\*\shell32.nt4 \
! endif
!else
$(SDK_LIB_PATH)\shell32p.lib \
!endif
$(CCSHELL_DIR)\lib\$(O)\shguid.lib \
$(CCSHELL_DIR)\lib\$(O)\shguidp.lib \
$(LIBRARY_PATH)\advapi32.lib \
$(CCSHELL_DIR)\lib\$O\stocklib.lib
!if $(IA64) || $(AXP64)
USE_LIBCMT = 1
!else
USE_IERT = 1
!endif
DLLDEF = $(O)\sendmail.def
DLLBASE = 0x71300000
DLLENTRY = DllMain
SOURCES = sendmail.rc \
sendmail.c \
comdll.c \
desklink.c \
debug.c
PRECOMPILED_INCLUDE = sendmail.h
PRECOMPILED_PCH = precomp.pch
PRECOMPILED_OBJ = precomp.obj