Source code of Windows XP (NT5)
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.

98 lines
1.9 KiB

  1. #******************************************************************************
  2. #
  3. # MAKEFILE FOR DVA
  4. #
  5. # Copyright (C) Microsoft Corporation 1990-1993. All Rights reserved.
  6. #
  7. # goal Create executables (default).
  8. # clean Remove all files created by any goal.
  9. #
  10. # DEBUG =YES Create debug version and define "DEBUG" (default).
  11. # =NO Create non-debug version.
  12. # STRICT =YES Define STRICT
  13. # = No strict definition (default).
  14. !if "$(NTMAKEENV)" != ""
  15. !error Use BUILD on NT environment!
  16. !endif
  17. NAME =dva
  18. EXT =lib
  19. ROOT =..\..
  20. OBJ1 =$(LOBJ)\dva.obj $(LOBJ)\vflat.obj $(LOBJ)\dvavga.obj $(LOBJ)\dvathun.obj $(LOBJ)\dvavlb.obj
  21. OBJ2 =$(LOBJ)\dvaati.obj $(LOBJ)\dvadib.obj $(LOBJ)\lockbm.obj
  22. OBJ3 =
  23. OBJS =$(OBJ1) $(OBJ2) $(OBJ3)
  24. GOALS =$(PLIB)\$(NAME).$(EXT) $(PINC)\$(NAME).h $(PINC)\$(NAME)DDI.h
  25. !if "$(DEBUG)" == "NO"
  26. DEF =
  27. CDEBUG =
  28. ADEBUG =
  29. !else
  30. !if "$(DEBUG)" == "RETAIL"
  31. DEF =-DDEBUG_RETAIL
  32. CDEBUG =-Zd $(DEF)
  33. ADEBUG =$(DEF)
  34. !else
  35. DEF =-DDEBUG
  36. CDEBUG =-Zid $(DEF)
  37. ADEBUG =-Zi $(DEF)
  38. !endif
  39. !endif
  40. !if "$(STRICT)" == "YES"
  41. TYPES =-DSTRICT
  42. !else
  43. TYPES =
  44. !endif
  45. CFLAGS =-DWIN16 -DWIN31 -Asnw -Oxwti $(TYPES) $(CDEBUG) -Fd$* -Fo$@ -Fc$*
  46. AFLAGS =-D?MEDIUM -D?QUIET $(ADEBUG)
  47. IS_16 =TRUE
  48. IS_SDK =TRUE
  49. IS_PRIVATE =TRUE # temporaray until shlobj.h is added to sdk
  50. !include $(ROOT)\build\project.mk
  51. $(LOBJ)\vflat.obj: $$(@B).asm
  52. @echo $(@B).asm
  53. @$(ASM) $(AFLAGS) -DSEGNAME=DVA -I..\vflatd $(@B),$@;
  54. $(LOBJ)\dva.obj: $$(@B).c *.h
  55. @$(CL) @<<
  56. $(CFLAGS) -NT DVA $(@B).c
  57. <<
  58. $(LOBJ)\dvaati.obj: $$(@B).c *.h
  59. @$(CL) @<<
  60. $(CFLAGS) -NT DVA $(@B).c
  61. <<
  62. $(LOBJ)\dvavga.obj: $$(@B).c *.h
  63. @$(CL) @<<
  64. $(CFLAGS) -NT DVA $(@B).c
  65. <<
  66. $(LOBJ)\dvadib.obj: $$(@B).c *.h
  67. @$(CL) @<<
  68. $(CFLAGS) -NT DVA $(@B).c
  69. <<
  70. $(LOBJ)\dvavlb.obj: $$(@B).c *.h
  71. @$(CL) @<<
  72. $(CFLAGS) -NT DVA $(@B).c
  73. <<
  74. $(LOBJ)\dvathun.obj: $$(@B).c *.h
  75. @$(CL) @<<
  76. $(CFLAGS) -NT DVA $(@B).c
  77. <<
  78. $(LOBJ)\lockbm.obj: $$(@B).c *.h
  79. @$(CL) @<<
  80. $(CFLAGS) -NT DVA $(@B).c
  81. <<