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

124 lines
3.3 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
TARGET_BOTH = 1
NOT_UNICODE = 1
# Build a shlwapip.lib
BUILD_PRIVLIB = 1
!include $(CCSHELL_DIR)\shlwapi\shlwapi.inc
NO_BROWSER_FILE = 1
SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\shlwapi\shlwapi.inc
TARGETNAME = shlwapi
TARGETPATH = obj
TARGETTYPE = DYNLINK
TARGETPATHLIB = $(BASEDIR)\public\sdk\lib
#
# Note! Linking to stocklib.lib generates some LNK4049 warnings
# because stocklib.lib thinks that functions like StrCpyNW are imported,
# even though they aren't. Don't worry.
#
TARGETLIBS = \
$(BASEDIR)\public\sdk\lib\*\uuid.lib \
$(BASEDIR)\public\sdk\lib\*\htmlhelp.lib \
$(CCSHELL_DIR)\lib\$(O)\shguid.lib \
$(CCSHELL_DIR)\lib\$O\shguidp.lib \
$(CCSHELL_DIR)\lib\$O\stock5.lib \
$(BASEDIR)\private\lib\*\rsa32.lib
USE_LIBCMT = 1
#
# Kernel32, Gdi32, User32, and Advapi32 go here because we forward to them.
#
LINKLIBS = ..\srca\$(O)\shlwansi.lib \
..\srcw\$(O)\shlwuni.lib \
..\srccpp\$(O)\srccpp.lib \
..\nt5api\$(O)\apithk.lib \
$(BASEDIR)\public\sdk\lib\*\gdi32.lib \
$(BASEDIR)\public\sdk\lib\*\kernel32.lib \
$(BASEDIR)\public\sdk\lib\*\user32.lib \
$(BASEDIR)\public\sdk\lib\*\advapi32.lib \
$(CCSHELL_DIR)\lib\$(O)\stocklib.lib \
DLLDEF = $(O)\shlwapi.def
DLLORDER = $(BASEDIR)\private\prf\shlwapi.prf
DLLENTRY = DllMain
PRIVDEF = $(O)\shlwapip.def
PRIVDEFSRC = ..\shlwapi.src
PRIVLIB = shlwapip.lib
SYNCHRONIZE_DRAIN=1
!ifdef UNIX
SOURCES_PLATFORM = ..\unixstuff.cpp\
!else
SOURCES_PLATFORM = \
!endif
# Sort files alphabetically
SOURCES = \
$(SOURCES_PLATFORM)\
..\shlwapi.rc \
..\color.c \
..\debug.c \
..\dll.c \
..\dllload.c \
..\fda.c \
..\menu.c \
..\ole2dup.c \
..\palette.c \
..\reg.c \
..\shared.c \
..\shperf.c \
..\strings.c \
..\strtype.c \
..\thunk.c \
..\uastrfnc.c \
..\uniansi.c \
..\wsprintf.c \
..\mirror.c
PRECOMPILED_INCLUDE = ..\priv.h