Source code of Windows XP (NT5)
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.

58 lines
1.5 KiB

  1. !include ..\..\win95upg.mk
  2. TARGETLIBS=
  3. !include $(WIN95UPG_ROOT)\common\libs.mk
  4. # component
  5. MINORCOMP=osuninst
  6. # target
  7. TARGETNAME=osuninst
  8. TARGETPATH=obj
  9. TARGETTYPE=DYNLINK
  10. # selfreg
  11. SELFREGNAME=$(O)\selfreg.inf
  12. MISCFILES=$(MISCFILES) $(SELFREGNAME)
  13. NTTARGETFILE0=$(SELFREGNAME)
  14. # compiler options
  15. USE_MSVCRT=1
  16. C_DEFINES=$(C_DEFINES) -DUNICODE -DSPUTILSW
  17. INCLUDES=$(INCLUDES);$(WIN95UPG_ROOT)\undo\pch
  18. # linker options
  19. DLLDEF=undo.def
  20. DLLENTRY=_DllMainCRTStartup
  21. TARGETLIBS=\
  22. $(WIN95UPG_ROOT)\undo\pch\$(O)\pch.lib \
  23. $(WIN95UPG_BIN)\migutil.lib \
  24. $(SDK_LIB_PATH)\setupapi.lib \
  25. $(BASE_LIB_PATH)\sputilsw.lib \
  26. $(BASE_LIB_PATH)\sputilsa.lib \
  27. $(SDK_LIB_PATH)\kernel32.lib \
  28. $(SDK_LIB_PATH)\user32.lib \
  29. $(SDK_LIB_PATH)\gdi32.lib \
  30. $(SDK_LIB_PATH)\advapi32.lib \
  31. $(SDK_LIB_PATH)\version.lib \
  32. $(SDK_LIB_PATH)\shell32.lib \
  33. $(SDK_LIB_PATH)\shlwapi.lib \
  34. $(SDK_LIB_PATH)\uuid.lib \
  35. $(SDK_LIB_PATH)\cabinet.lib \
  36. $(SDK_LIB_PATH)\oleaut32.lib \
  37. $(SDK_LIB_PATH)\ole32.lib \
  38. # msg.mc
  39. PASS0_HEADERDIR=$(O)
  40. PASS0_SOURCEDIR=$(O)
  41. INCLUDES=$(O);$(INCLUDES)
  42. # source files
  43. I386_SOURCES=interface.c uninst.c cleanup.c validate.c undo.rc com.cpp diskcleaner.cpp register.cpp alert.c memmsg.mc
  44. PRECOMPILED_OPTION=/Yupch.h /Fp$(WIN95UPG_ROOT)\undo\pch\$(O)\pch.pch
  45. PRECOMPILED_TARGET=$(WIN95UPG_ROOT)\undo\pch\$(O)\pch.pch
  46. # binplace options
  47. PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(PROJECT_LIB_PATH)\$(TARGETNAME).lib}