!include ..\..\win95upg.mk

# common include
!include $(WIN95UPG_ROOT)\w95upgnt\w95upgnt.mk

# component
MINORCOMP=w95upgnt

# target
TARGETNAME=w95upgnt
TARGETTYPE=DYNLINK

DLLENTRY=_DllMainCRTStartup

INCLUDES=$(WIN95UPG_ROOT)\w95upgnt\ntui;                \
         $(WIN95UPG_ROOT)\w95upgnt\dll;                 \
         $(INCLUDES)


# x86-specific sources
I386_SOURCES= \
             dllentry.c \
             w95upgnt.rc

# precompiled header options (x86-only)
!if $(386)
PRECOMPILED_OPTION=/Yupch.h /Fp$(WIN95UPG_ROOT)\w95upgnt\pch\$(O)\pch.pch
PRECOMPILED_TARGET=$(WIN95UPG_ROOT)\w95upgnt\pch\$(O)\pch.pch
!endif

# linker options
USE_MSVCRT=1

LINKER_FLAGS=$(LINKER_FLAGS) -SWAPRUN:NET -SWAPRUN:CD /MAP

# link libraries
!include $(WIN95UPG_ROOT)\w95upgnt\libs.mk