windows-nt/Source/XPSP1/NT/net/winnet/sources
2020-09-26 16:20:57 +08:00

63 lines
1.1 KiB
Plaintext

TARGETNAME=mpr
TARGETPATH=obj
TARGETTYPE=DYNLINK
PASS1_PUBLISH=\
{$(O)\mpr.lib=$(SDK_LIB_PATH)\mpr.lib} \
{$(O)\mprp.lib=$(PROJECT_LIB_PATH)\mprp.lib} \
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
!IFDEF MPR_DEBUG
C_DEFINES= -DSECRET_DEFINE=1
!ENDIF
DLLENTRY=MprDllInit
PRECOMPILED_CXX=1
PRECOMPILED_INCLUDE=precomp.hxx
UMTEST=mprtest
UMTYPE=console
USE_NTDLL=1
TARGETLIBS=\
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(ADMIN_LIB_PATH)\mprui.lib \
$(SDK_LIB_PATH)\credui.lib
UMLIBS=\
$(O)\mpr.lib \
$(SDK_LIB_PATH)\ntdll.lib
INCLUDES= $(BASE_INC_PATH); \
$(SHELL_INC_PATH); \
$(DS_INC_PATH)
SOURCES=\
connect.cxx \
connify.cxx \
connperf.cxx \
credman.cxx \
enum.cxx \
fmt.cxx \
lasterr.cxx \
mpr.rc \
mpransi.cxx \
mprbase.cxx \
mprinit.cxx \
mprlock.cxx \
mprprop.cxx \
mprreg.cxx \
mprui.cxx \
netinfo.cxx \
resinfo.cxx \
strbuf.cxx \
support.cxx \
uniname.cxx \
userdir.cxx
NTTARGETFILES=$(O)\mprp.lib
DELAYLOAD=mprui.dll;credui.dll
DLOAD_ERROR_HANDLER=kernel32