!ifndef ROOT
ROOT=$(MAKEDIR:\ui\msconfwb=)
!endif
!ifndef DEVROOT
DEVROOT=$(ROOT)\dev
!endif


!include $(DEVROOT)\common.inc

MAJORCOMP=ui
MINORCOMP=msconfwb

TARGETNAME=nmoldwb
TARGETPATH=$(_OBJ_DIR)
TARGETTYPE=DYNLINK
DLLENTRY=DllMain

!if "$(FREEBUILD)" != "0"
!if $(386)
USE_SYSDLL=1
!endif
!endif

386_STDCALL=1

# Enable lego build
BBTCOMP=1

#
# 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    \
	   $(ROOT)\as\cpi32.nt\$(O)\nmas.lib

INCLUDES=$(ROOT)\as\h;$(INCLUDES)

C_DEFINES=$(C_DEFINES) -D_WINDOWS -DOS_WINDOWS -DOS_WIN95 -DWIN_95_32_BIT -D"_WIN32_WINNT"=0x0403

#
# Sources common to NT and Win95
#
SOURCES=  \
    agrp.cpp \
    ccl32.cpp \
    cgrp.cpp \
    clpbd.cpp \
	draw.cpp \
	grobj.cpp \
	grptr.cpp \
    main.cpp \
	mwnd.cpp \
    page.cpp \
	psdlg.cpp \
    tool.cpp \
    twnd.cpp \
    txted.cpp \
	user.cpp \
    wgrp.cpp \
	wboblist.cpp \
    msconfwb.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