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.

135 lines
3.5 KiB

  1. !IF 0
  2. Copyright (c) 1989 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. Author:
  11. Steve Wood (stevewo) 12-Apr-1990
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. !include ..\..\ratings.inc
  15. #
  16. # The MAJORCOMP and MINORCOMP variables are defined
  17. # so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
  18. # cross compiling to provide unique filenames in a flat namespace.
  19. #
  20. MAJORCOMP=OHARE
  21. MINORCOMP=RATINGS
  22. DLLENTRY=DllMain
  23. #
  24. # The TARGETNAME variable is defined by the developer. It is the name of
  25. # the target (component) that is being built by this makefile. It
  26. # should NOT include any path or file extension information.
  27. #
  28. TARGETNAME=ienpstub
  29. #
  30. # The TARGETPATH and TARGETTYPE variables are defined by the developer.
  31. # The first specifies where the target is to be build. The second specifies
  32. # the type of target (either PROGRAM, DYNLINK, LIBRARY, UMAPPL_NOLIB or
  33. # BOOTPGM). UMAPPL_NOLIB is used when you're only building user-mode
  34. # apps and don't need to build a library.
  35. #
  36. TARGETPATH=obj
  37. PRECOMPILED_INCLUDE=..\npstub.h
  38. PRECOMPILED_PCH=pch.pch
  39. PRECOMPILED_OBJ=pch.obj
  40. PRECOMPILED_CXX=1
  41. # Pick one of the following and delete the others
  42. TARGETTYPE=DYNLINK
  43. #
  44. # The TARGETLIBS specifies additional libraries to link with you target
  45. # image. Each library path specification should contain an asterisk (*)
  46. # where the machine specific subdirectory name should go.
  47. #
  48. TARGETLIBS= \
  49. $(SDK_LIB_PATH)\kernel32.lib \
  50. $(SDK_LIB_PATH)\user32.lib \
  51. $(SDK_LIB_PATH)\advapi32.lib \
  52. ..\mpr.lib
  53. USE_NOLIBS=1
  54. #
  55. # The INCLUDES variable specifies any include paths that are specific to
  56. # this source directory. Separate multiple directory paths with single
  57. # semicolons. Relative path specifications are okay.
  58. #
  59. INCLUDES= \
  60. ..; \
  61. ..\..\inc; \
  62. ..\..\..\inc; \
  63. $(BASEDIR)\private\windows\inc;
  64. #
  65. # The SOURCES variable is defined by the developer. It is a list of all the
  66. # source files for this component. Each source file should be on a separate
  67. # line using the line continuation character. This will minimize merge
  68. # conflicts if two developers adding source files to the same component.
  69. #
  70. SOURCES= \
  71. ..\npstub.rc \
  72. ..\npstub.cpp
  73. #
  74. # Next specify options for the compiler.
  75. #
  76. C_DEFINES=
  77. #
  78. # Next specify one or more user mode test programs and their type
  79. # UMTEST is used for optional test programs. UMAPPL is used for
  80. # programs that always get built when the directory is built.
  81. #
  82. UMTYPE=windows
  83. MISCFILES=\
  84. ..\netfam.inf
  85. #
  86. # Defining either (or both) the variables NTTARGETFILE0 and/or NTTARGETFILES
  87. # will cause MAKEFILE.DEF to include .\makefile.inc immediately after it
  88. # specifies the top level targets (all, clean and loc) and their dependencies.
  89. # MAKEFILE.DEF also expands NTTARGETFILE0 as the first dependent for the
  90. # "all" target and NTTARGETFILES as the last dependent for the "all" target.
  91. # Useful for specifying additional targets and dependencies that don't fit the
  92. # general case covered by MAKEFILE.DEF
  93. #
  94. # NTTARGETFILE0=
  95. #NTTARGETFILES=$(SDK_LIB_PATH)\$(TARGETNAME).lib
  96. BUFFER_OVERFLOW_CHECKS=NO_NTDLL