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.

65 lines
1.4 KiB

  1. !IF 0
  2. Copyright (C) 1997 - 1999 Microsoft Corporation
  3. !ENDIF
  4. #
  5. # We take advantage of the ALT_PROJECT/ALT_PROJECT_TARGET macro
  6. # to place FE speicfic files in appropriate language subdirectories
  7. # (e.g. binaries\jpn, binaries\cht, etc.) of the bild image.
  8. #
  9. # n.b. Though these macros are used, we do not necessarily expect
  10. # that we have DBCS, JPN, etc. symbols are defined in C_DEFINES.
  11. # This is purely for binlacing location issue..
  12. #
  13. ALT_PROJECT=FE
  14. ALT_PROJECT_TARGET=$(ALT_PROJECT)
  15. !include ..\sources.inc
  16. TARGETNAME=cnrstres
  17. TARGETPATH=obj
  18. TARGETTYPE=DYNLINK
  19. !if 1 # !ifdef USERMODE_DRIVER
  20. TARGETLIBS=\
  21. $(SDK_LIB_PATH)\kernel32.lib \
  22. $(SDK_LIB_PATH)\winspool.lib \
  23. $(PRNROOT)\lib\utils\um\$O\utils.lib
  24. USE_LIBCNTPR=1
  25. C_DEFINES=$(C_DEFINES) -DKERNEL_MODE -DUSERMODE_DRIVER -DUNICODE
  26. !else
  27. TARGETLIBS=$(SDK_LIB_PATH)\libcntpr.lib \
  28. $(PRNROOT)\lib\utils\km\$O\utils.lib \
  29. $(DDK_LIB_PATH)\win32k.lib
  30. USE_NOLIBS=1
  31. C_DEFINES=$(C_DEFINES) -DKERNEL_MODE -DUNICODE
  32. !endif
  33. !IF 0
  34. DLLBASE=@$(COFFBASE_TXT_FILE),cnrstres
  35. !ELSE
  36. DLLBASE=0x8000000
  37. !ENDIF
  38. INCLUDES=$(PRNROOT)\inc;$(UNIDIR)\inc
  39. UMTYPE=windows
  40. SRCDIR=..
  41. DLLDEF=$(SRCDIR)\cnrstres.def
  42. SOURCES=\
  43. $(SRCDIR)\cnrstres.rc \
  44. $(SRCDIR)\cnrstres.c \
  45. $(SRCDIR)\common.c
  46. MISCFILES=\
  47. $(SRCDIR)\cnrstres.ini