Leaked source code of windows server 2003
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.

76 lines
1.5 KiB

  1. !IF 0
  2. Copyright (c) 1996 Microsoft Corporation
  3. !ENDIF
  4. !ifndef ICMROOT
  5. ICMROOT=$(NTGDI_PATH)\icm
  6. !endif
  7. # Set this environment variable when building for Memphis
  8. # This can be done on the build command line using the -nmake switch
  9. !IFDEF MEMPHIS_BUILD
  10. !MESSAGE Building UPGRADE DLL for Memphis
  11. ANSI=1
  12. USE_MAPSYM=1
  13. MEMPHIS=1
  14. SUBSYSTEM_VERSION=4.00
  15. TARGETNAME=icmupg
  16. !ELSE
  17. !MESSAGE Building UPGRADE DLL for NT 5.0
  18. ANSI=1
  19. TARGETNAME=migrate
  20. UMTYPE=console
  21. UMLIBS=$(O)\migrate.lib
  22. !ENDIF
  23. !include $(ICMROOT)\icmsrc.inc
  24. TARGETPATH=$(_OBJ_DIR)
  25. TARGETTYPE=DYNLINK
  26. DLLBASE=0x5e980000
  27. DLLENTRY=DllEntryPoint
  28. DLLDEF=migrate.def
  29. INCLUDES=.;$(ICMROOT)\inc;$(INCLUDES)
  30. # give migrate.dll a unique PDB name.
  31. LINKER_FLAGS=$(LINKER_FLAGS) /PDB:$(O)\icmupg.pdb
  32. # make sure the dll is placed in win9xmig\icm
  33. BINPLACE_PLACEFILE=placefil.txt
  34. NTKEEPRESOURCETMPFILES=1
  35. USE_MSVCRT=1
  36. SOURCES=icmupg.c icmupg.rc $(O)\msg.mc
  37. TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
  38. $(SDK_LIB_PATH)\advapi32.lib \
  39. $(SDK_LIB_PATH)\winspool.lib \
  40. $(SDK_LIB_PATH)\user32.lib \
  41. $(SDK_LIB_PATH)\setupapi.lib
  42. !IFDEF MEMPHIS_BUILD
  43. TARGETLIBS=$(TARGETLIBS) \
  44. $(ICMROOT)\mscms\winnt\$(O)\mscms.lib
  45. !ENDIF
  46. PRECOMPILED_INCLUDE=icmupg.h
  47. PRECOMPILED_PCH=precomp.pch
  48. PRECOMPILED_OBJ=precomp.obj
  49. #
  50. # Defining NTTARGETFILE0 causes makefile.def to include .\makefile.inc
  51. #
  52. NTTARGETFILE0=$(O)\msg.mc