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.
108 lines
1.7 KiB
108 lines
1.7 KiB
!ifndef ROOT
|
|
ROOT=$(MAKEDIR:\ui\wb=)
|
|
!endif
|
|
!ifndef DEVROOT
|
|
DEVROOT=$(ROOT)\dev
|
|
!endif
|
|
|
|
!include $(DEVROOT)\common.inc
|
|
|
|
MAJORCOMP=ui
|
|
MINORCOMP=wb
|
|
|
|
TARGETNAME=nmwb
|
|
TARGETPATH=$(_OBJ_DIR)
|
|
TARGETTYPE=DYNLINK
|
|
|
|
DLLDEF=nmwb.def
|
|
DLLENTRY=DllMain
|
|
|
|
386_STDCALL=1
|
|
|
|
# Enable lego build
|
|
# BBTCOMP=1
|
|
|
|
C_DEFINES=$(C_DEFINES) -DMULTI_LEVEL_ZONES -D"_WIN32_WINNT"=0x0400
|
|
|
|
#
|
|
# Libs common to NT and Win95
|
|
#
|
|
LINKLIBS=\
|
|
$(ROOT)\nmutil\nmutila\$(O)\nmutila.lib
|
|
|
|
TARGETLIBS=\
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SDK_LIB_PATH)\winspool.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\msasn1.lib \
|
|
$(ROOT)\t120\mst120\$(O)\mst120.lib
|
|
|
|
|
|
|
|
|
|
#
|
|
# Parameters for MIDL
|
|
#
|
|
|
|
IDL_TYPE=ole
|
|
PASS0_HEADERDIR = $(ROOT)\ui\wb
|
|
MIDL_UUIDDIR = $(ROOT)\ui\wb
|
|
|
|
|
|
#
|
|
# Sources common to NT and Win95
|
|
#
|
|
SOURCES= \
|
|
nmwbobj.cpp\
|
|
agrp.cpp \
|
|
ccl32.cpp \
|
|
cgrp.cpp \
|
|
clpbd.cpp \
|
|
coder.cpp \
|
|
draw.cpp \
|
|
gcchelp.cpp \
|
|
main.cpp \
|
|
mcshelp.cpp \
|
|
mwnd.cpp \
|
|
page.cpp \
|
|
t126.c \
|
|
tool.cpp \
|
|
twnd.cpp \
|
|
wgrp.cpp \
|
|
wboblist.cpp \
|
|
t126obj.cpp \
|
|
txted.cpp \
|
|
textobj.cpp \
|
|
drawobj.cpp \
|
|
bmpobj.cpp \
|
|
wrkspobj.cpp \
|
|
wbloader.cpp \
|
|
ms_util.cpp\
|
|
nmwb.rc
|
|
|
|
#
|
|
# Precompiled specs
|
|
#
|
|
PRECOMPILED_INCLUDE = precomp.h
|
|
PRECOMPILED_PCH = precomp.pch
|
|
PRECOMPILED_OBJ = precomp.obj
|
|
PRECOMPILED_CXX = 1
|
|
|
|
CONDITIONAL_INCLUDES = \
|
|
macocidl.h \
|
|
macwin32.h \
|
|
rpcerr.h \
|
|
rpcmac.h \
|
|
winwlm.h \
|
|
macname1.h \
|
|
macname2.h \
|
|
macpub.h \
|
|
macapi.h \
|
|
values.h
|
|
|
|
|