windows-nt/Source/XPSP1/NT/base/ntsetup/win95upg/tools/hwwiz/sources
2020-09-26 16:20:57 +08:00

42 lines
773 B
Plaintext

!include ..\..\win95upg.mk
!include $(WIN95UPG_ROOT)\w95upg\w95upg.mk
# component
MINORCOMP=hwwiz
# target
TARGETNAME=hwwiz
TARGETTYPE=DYNLINK
DLLENTRY=_DllMainCRTStartup
INCLUDES=$(WIN95UPG_ROOT)\w95upg\ui;$(WIN95UPG_ROOT)\w95upg\dll;$(INCLUDES)
# x86-specific sources
!IF "$(UPGWIZ4FLOPPY)" == "Y"
C_DEFINES=$(C_DEFINES) -DUPGWIZ4FLOPPY
!endif
I386_SOURCES=\
hwwiz.c \
hwwiz.rc
# link libraries
TARGETLIBS=
!IF "$(UPGWIZ4FLOPPY)" != "Y"
!include $(WIN95UPG_ROOT)\w95upg\libs.mk
!ELSE
!include $(WIN95UPG_ROOT)\tools\wiztools\libs.mk
!ENDIF
TARGETLIBS=$(TARGETLIBS) $(WIN95UPG_BIN)\wiztools.lib
# linker options
LINKER_FLAGS=$(LINKER_FLAGS) -SWAPRUN:CD -SWAPRUN:NET
SUBSYSTEM_VERSION=4.00
# resource compiler settings
NTTARGETFILE0=hwwiz.rc