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.

81 lines
1.9 KiB

  1. !IF 0
  2. Copyright (c) 1989-1996 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. History:
  11. Common ccshell makefile and cleanup 15-Apr-96 Scott Hysom (scotth)
  12. Created 27-Sep-94 by Bob Day (bobday)
  13. from template created 12-Apr-1990 by Steve Wood (stevewo)
  14. NOTE: Commented description of this file is in \nt\public\oak\bin\sources.tpl
  15. !ENDIF
  16. # relative path to root of shell project
  17. CCSHELL_DIR = $(PROJECT_ROOT)
  18. INCLUDES=$(CCSHELL_DIR)\inc
  19. !if $(386)
  20. CHICAGO_LIB_PATH=$(SDK_LIB_DEST)\chicago\i386
  21. SHELL32_LIB_FILE=$(CCSHELL_DIR)\lib\i386\shell32.w95
  22. !else
  23. CHICAGO_LIB_PATH=$(SDK_LIB_PATH)
  24. SHELL32_LIB_FILE=$(SDK_LIB_PATH)\shell32.lib
  25. !endif
  26. TARGETNAME = autorun
  27. TARGETPATH = obj
  28. TARGETTYPE = PROGRAM
  29. # msadek; DO NOT link with msvcrt.lib as it will cause problems
  30. # with win95 and winnt3.51
  31. TARGETLIBS= \
  32. $(CHICAGO_LIB_PATH)\gdi32.lib \
  33. $(SHELL32_LIB_FILE)
  34. UMTYPE=windows
  35. UMENTRY=winmain
  36. NOT_LEAN_AND_MEAN=1
  37. SUBSYSTEM_VERSION=4.00
  38. CHICAGO_PRODUCT=1
  39. SOURCES = \
  40. ..\autorun.cpp \
  41. ..\dataitem.cpp \
  42. ..\datasrc.cpp \
  43. ..\dlgapp.cpp \
  44. ..\resource.rc \
  45. ..\util.cpp
  46. #
  47. # Separate versions are built for server and professional
  48. #
  49. !if "$(SERVER)" == "1"
  50. C_DEFINES=$(C_DEFINES) -DBUILD_SERVER_VERSION
  51. !elseif "$(SERVER)" == "2"
  52. C_DEFINES=$(C_DEFINES) -DBUILD_ADVANCED_SERVER_VERSION
  53. !elseif "$(SERVER)" == "3"
  54. C_DEFINES=$(C_DEFINES) -DBUILD_DATACENTER_VERSION
  55. !elseif "$(SERVER)" == "4"
  56. C_DEFINES=$(C_DEFINES) -DBUILD_BLADE_VERSION
  57. !elseif "$(SERVER)" == "5"
  58. C_DEFINES=$(C_DEFINES) -DBUILD_SMALL_BUSINESS_VERSION
  59. !elseif "$(PERSONAL)" == "1"
  60. C_DEFINES=$(C_DEFINES) -DBUILD_PERSONAL_VERSION
  61. !endif