makefile
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. ##########################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1991
  5. # All Rights Reserved.
  6. #
  7. ##########################################################################
  8. NAME=shell
  9. RCVNAME = shell.rcv
  10. RCNAME  = shell.rc
  11. DEFNAME = shell.def
  12. PRIVINC=shprv
  13. ROOT=........
  14. RES_DIR=....
  15. SRCDIR=....
  16. BUILDDLL=TRUE
  17. !ifdef VERDIR
  18. ROOT=..$(ROOT)
  19. CLEANLIST=*.pdb
  20. !endif
  21. #========================================================================
  22. # 16-bit
  23. #
  24. #  This grouping of segments is the result of some segment tuning.
  25. # Please don't move thing around unless you are absolutely sure that
  26. # you are doing the right thing.
  27. #
  28. # _TEXT         -- Resident portion (keep this minimum)
  29. # THUNK_TEXT    -- 16-bit/32-bit thunking related code
  30. # WIN31_TEXT    -- Win31 API entries
  31. # RARE_TEXT     -- Rarely used code (if any)
  32. #
  33. #========================================================================
  34. !ifndef OPK2
  35. CFLAGS= $(CFLAGS) /DNASH
  36. !endif
  37. OPK2=1
  38. CFLAGS= $(CFLAGS) /DT_DROCH
  39. # /Fc
  40. ## shstart.obj MUST BE FIRST. <chee>
  41. FIRSTOBJS=shstart.obj
  42. THKOBJ0=shl1632.obj shl3216.obj
  43. CODESEG0=_TEXT
  44. PCHOBJ0=cbthook.obj init.obj
  45. CODESEG1=THUNK_TEXT
  46. PCHOBJ1=cpl16.obj prt16.obj pifmgr.obj
  47. CODESEG2=WIN31_TEXT
  48. PCHOBJ2= dragdrop.obj dbf.obj expenv.obj util.obj #path.obj
  49. CODESEG3=WIN31_TEXT
  50. PCHOBJ3= extract.obj
  51. CODESEG4=WIN31_TEXT
  52. PCHOBJ4=start.obj msgbox.obj ## os.obj futil.obj
  53. CODESEG5=FORMAT_TEXT
  54. PCHOBJ5=format.obj sedlg.obj
  55. CODESEG6=FORMAT_TEXT2
  56. PCHOBJ6=chkdsk.obj
  57. !ifdef DBCS
  58. PCHOBJ4=$(PCHOBJ4) shlexec.obj
  59. !endif
  60. LIB0=libw mdllcew commctrl
  61. # Always enable frosting...
  62. CFLAGS = $(CFLAGS) -DFROSTING -DOPK2
  63. RCFLAGS = $(RCFLAGS) -DFROSTING -DOPK2
  64. !if "$(DBCS)"=="NEC"
  65. CFLAGS = $(CFLAGS) -DNEC_98
  66. !endif
  67. !include $(ROOT)shellcommon.mk
  68. INCLUDE=$(ROOT)shellwin16inc;$(INCLUDE);$(ROOT)devsdkinc
  69. shstart.obj: ....shstart.asm
  70. shell.res : ....format.rc ....format.h  ....shell.rc ....shell.rcv 
  71. !ifdef OPK2
  72.     ....chkdlg2.ico ....chkdlg3.ico 
  73. !endif
  74.     ....check.ico ....checkdlg.ico
  75. chkdsk.obj  : ....chkdsk.c ....format.h $(ROOT)devinc16dskmaint.h
  76. format.obj : ....format.c ....format.h $(ROOT)devinc16dskmaint.h
  77. sedlg.obj : ....sedlg.c ....format.h $(ROOT)devinc16dskmaint.h