mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
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
|