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.5 KiB

  1. !IFDEF NTMAKEENV
  2. !INCLUDE $(NTMAKEENV)\makefile.def
  3. !ELSE
  4. # -----------------------------------------------------------------------------
  5. # $(STAXPT)\src\core\cache\common\makefile
  6. #
  7. # Copyright (C) 1997 Microsoft Corporation
  8. # -----------------------------------------------------------------------------
  9. # -----------------------------------------------------------------------------
  10. #
  11. !INCLUDE $(EXDEV)\globenv.mak
  12. PRODTYPE = DLL
  13. COMPONENT = $(STAXPT)
  14. COMPNAME = STAXPT
  15. BASENAME = fcachdll
  16. SIGNEDCHAR = 1
  17. !IF "$(PROCESSOR_ARCHITECTURE)" == "x86"
  18. USERDEFS = $(USERDEFS) -Di386=1 -D_X86_
  19. !ENDIF
  20. !IF "$(PROCESSOR_ARCHITECTURE)" == "alpha"
  21. USERDEFS = $(USERDEFS) -DALPHA -D_ALPHA_
  22. !ENDIF
  23. USERDEFS = $(USERDEFS) -DWIN32_LEAN_AND_MEAN
  24. UTESTPUSH = 1
  25. !IF $(NTX)
  26. ENTRYPOINT = _DllMainCRTStartup@12
  27. !ELSE
  28. ENTRYPOINT = _DllMainCRTStartup
  29. !ENDIF #$(NTX)
  30. !INCLUDE $(EXDEV)\xmake1.mak
  31. # -----------------------------------------------------------------------------
  32. #
  33. EXPORT_LIBS = 1
  34. NOMEMBASE = 1
  35. DEFPLUSOBJS = 1
  36. H = $(STAXPT)\src\core\fcache2\dll
  37. CFLAGS=$(CFLAGS) $(CMODEL)
  38. OTHERINCS = -I $(COMPONENT)\src\inc -I $(COMPONENT)\export
  39. OTHERLIBS= \
  40. $(LOCALLIB)\cache2.lib \
  41. $(LOCALLIB)\crchash.lib \
  42. $(COMPLIB)\rwnh.lib \
  43. $(LOCALIMPLIB)\exstrace.lib \
  44. SOURCES = \
  45. fcache.cpp \
  46. OTHERSUBS = $H\makefile
  47. DEFSOURCE = \
  48. $(H)\$(BASENAME).def
  49. DEPFILE = $(BASENAME).dep
  50. !INCLUDE $(EXDEV)\xmake2.mak
  51. !ENDIF #NTMAKEENV