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.

105 lines
2.2 KiB

  1. !IF 0
  2. Copyright (c) 1989-1991 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. Created 27-Sep-94 by Bob Day (bobday)
  12. from template created 12-Apr-1990 by Steve Wood (stevewo)
  13. NOTE: Commented description of this file is in \nt\public\oak\bin\sources.tpl
  14. !ENDIF
  15. NTLEANANDMEAN=
  16. TARGETNAME=grpconv
  17. TARGETPATH=obj
  18. TARGETTYPE=PROGRAM
  19. NOT_LEAN_AND_MEAN=1
  20. # this is an OS component and therefore it needs the OS version stamp
  21. USE_NT_PRODUCT_VER=1
  22. CCSHELL_DIR = $(PROJECT_ROOT)
  23. !include $(CCSHELL_DIR)\shell32\shell32.inc
  24. !if defined(TARGET_WIN95)
  25. USE_LIBCMT = 1
  26. !else
  27. # Need to use libc.lib for NT version for now
  28. USE_MSVCRT=1
  29. !endif
  30. !if defined(TARGET_WIN95)
  31. C_DEFINES=$(C_DEFINES)
  32. !else
  33. C_DEFINES=$(C_DEFINES) -DNT -DWINNT -DUNICODE
  34. !endif
  35. # Make warnings equivalent to errors
  36. !IFNDEF MSC_WARNING_LEVEL
  37. MSC_WARNING_LEVEL=/W3
  38. !ENDIF
  39. MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
  40. INCLUDES=.;..;
  41. SOURCES= \
  42. ..\gcinst.c \
  43. ..\group.c \
  44. ..\util.c \
  45. ..\init.c \
  46. ..\grpconv.rc
  47. UMTYPE=windows
  48. !IF $(386)
  49. UMENTRYABS=ModuleEntry@0
  50. !ELSE
  51. UMENTRYABS=ModuleEntry
  52. !ENDIF
  53. !if defined(TARGET_WIN95)
  54. UMLIBS= \
  55. $(SDK_LIB_DEST)\chicago\i386\kernel32.lib \
  56. $(SDK_LIB_DEST)\chicago\i386\gdi32.lib \
  57. $(SDK_LIB_DEST)\chicago\i386\user32.lib
  58. TARGETLIBS=\
  59. $(SHELL_LIB_PATH)\comctlp.lib \
  60. $(CCSHELL_DIR)\lib\i386\shell32.w95 \
  61. $(PROJECT_ROOT)\lib\$(O)\shguid.lib \
  62. $(SDK_LIB_PATH)\version.lib
  63. !else
  64. TARGETLIBS= \
  65. $(SHELL_LIB_PATH)\comctlp.lib \
  66. $(SDK_LIB_PATH)\version.lib \
  67. $(PROJECT_ROOT)\lib\$(O)\shguid.lib \
  68. !if $(386)
  69. $(CCSHELL_DIR)\lib\i386\shell32.nt4
  70. !else
  71. $(SHELL_LIB_PATH)\shell32p.lib
  72. !endif
  73. !endif
  74. TARGETLIBS = $(TARGETLIBS) \
  75. $(PROJECT_ROOT)\lib\$(O)\shguidp.lib \
  76. PRECOMPILED_INCLUDE=..\grpconv.h
  77. PRECOMPILED_PCH=grpconv.pch
  78. PRECOMPILED_OBJ=grpconv.obj