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

59 lines
1.5 KiB
Plaintext

!include ..\..\win95upg.mk
TARGETLIBS=
!include $(WIN95UPG_ROOT)\common\libs.mk
# component
MINORCOMP=osuninst
# target
TARGETNAME=osuninst
TARGETPATH=obj
TARGETTYPE=DYNLINK
# selfreg
SELFREGNAME=$(O)\selfreg.inf
MISCFILES=$(MISCFILES) $(SELFREGNAME)
NTTARGETFILE0=$(SELFREGNAME)
# compiler options
USE_MSVCRT=1
C_DEFINES=$(C_DEFINES) -DUNICODE -DSPUTILSW
INCLUDES=$(INCLUDES);$(WIN95UPG_ROOT)\undo\pch
# linker options
DLLDEF=undo.def
DLLENTRY=_DllMainCRTStartup
TARGETLIBS=\
$(WIN95UPG_ROOT)\undo\pch\$(O)\pch.lib \
$(WIN95UPG_BIN)\migutil.lib \
$(SDK_LIB_PATH)\setupapi.lib \
$(BASE_LIB_PATH)\sputilsw.lib \
$(BASE_LIB_PATH)\sputilsa.lib \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\version.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\shlwapi.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\cabinet.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\ole32.lib \
# msg.mc
PASS0_HEADERDIR=$(O)
PASS0_SOURCEDIR=$(O)
INCLUDES=$(O);$(INCLUDES)
# source files
I386_SOURCES=interface.c uninst.c cleanup.c validate.c undo.rc com.cpp diskcleaner.cpp register.cpp alert.c memmsg.mc
PRECOMPILED_OPTION=/Yupch.h /Fp$(WIN95UPG_ROOT)\undo\pch\$(O)\pch.pch
PRECOMPILED_TARGET=$(WIN95UPG_ROOT)\undo\pch\$(O)\pch.pch
# binplace options
PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(PROJECT_LIB_PATH)\$(TARGETNAME).lib}