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.

70 lines
1.4 KiB

  1. NAME=openfiles
  2. TARGETNAME=openfiles
  3. TARGETPATH=$(SASS_BINDIR)
  4. TARGETTYPE=DYNLINK
  5. DLLENTRY=_DllMainCRTStartup
  6. DLLDEF=openfiles.def
  7. INCLUDES=\
  8. $(SASS_INC);\
  9. $(BASEDIR)\public\sdk\inc\atl30; \
  10. $(BASEDIR)\public\sdk\inc\crt; \
  11. $(BASEDIR)\public\sdk\inc; \
  12. PRECOMPILED_INCLUDE = stdafx.h
  13. PRECOMPILED_SOURCEFILE = stdafx.cpp
  14. PRECOMPILED_CXX=1
  15. MIDL_OPTIMIZATION=-Oicf -robust -no_format_opt -error all
  16. USE_STATIC_ATL=1
  17. ATL_VER=30
  18. USE_PDB=1
  19. # required for STL (list, vector, string, etc.)
  20. USE_STL=1
  21. # required to support dynamic_cast
  22. USE_RTTI=1
  23. # link with vccomsup.lib
  24. USE_VCCOM=1
  25. # required for thread-safe heap
  26. USE_MSVCRT=1
  27. # enable unwind semantics. remove C4530: warnings
  28. USER_C_FLAGS=/EHsc
  29. # define UNICODE, undefine _ATL_NO_DEBUG_CRT to use ATL dbgdrt.h
  30. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
  31. #C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DUSE_POLARITY
  32. #C_DEFINES=$(C_DEFINES) -DSHOWCALLS
  33. TARGETLIBS= \
  34. $(SDK_LIB_PATH)\kernel32.lib \
  35. $(SDK_LIB_PATH)\advapi32.lib \
  36. $(SDK_LIB_PATH)\user32.lib \
  37. $(SDK_LIB_PATH)\ole32.lib \
  38. $(SDK_LIB_PATH)\oleaut32.lib \
  39. $(SDK_LIB_PATH)\uuid.lib \
  40. $(SDK_LIB_PATH)\netapi32.lib \
  41. $(SASS_LIB)\satrace.lib \
  42. SOURCES=\
  43. openfiles.idl \
  44. openfiles.cpp \
  45. openfiles.rc \
  46. openf.cpp \
  47. ShareInfo.cpp \
  48. #
  49. # Misc files to be binplaced by the build.
  50. #
  51. MISCFILES = OpenFiles.reg