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.

173 lines
4.7 KiB

  1. ##############################################################################
  2. ## Copyright (c) 1993-1999 Microsoft Corporation
  3. ##
  4. ## Makefile for YACC compiler generator
  5. ## History:
  6. ## Oct-30-1991 : create for os2 and nt build process
  7. ## May-21-1992 : added C7 support and cleaned up.
  8. ##############################################################################
  9. !IFDEF NTMAKEENV
  10. !INCLUDE $(NTMAKEENV)\makefile.def
  11. !ELSE # NTMAKEENV
  12. !ifndef RPC
  13. !error - You forgot to set your build environment
  14. !endif
  15. BASEDIR = $(RPC)\midlnew
  16. !include rules.mk
  17. ##############################################################################
  18. # general defines
  19. ##############################################################################
  20. EXENAME = midlyacc.exe
  21. LIBNAME = $(CCPLR)\lib\$(LLIBCE) $(IMPORT)\os212\lib\os2.lib $(OLDNAMES)
  22. LINKFLAGS = /pm:vio $(CV) /NOD
  23. ALLYACCOBJS = \
  24. $(OBJOS2)\y1imp.obj \
  25. $(OBJOS2)\yaryfl.obj \
  26. $(OBJOS2)\ycpfir.obj \
  27. $(OBJOS2)\yacc.obj \
  28. $(OBJOS2)\ysmnam.obj \
  29. $(OBJOS2)\ysumry.obj \
  30. $(OBJOS2)\ycpuni.obj \
  31. $(OBJOS2)\ydfout.obj \
  32. $(OBJOS2)\ysetup.obj \
  33. $(OBJOS2)\yg2out.obj \
  34. $(OBJOS2)\ywarry.obj \
  35. $(OBJOS2)\yclopt.obj \
  36. $(OBJOS2)\yosmry.obj \
  37. $(OBJOS2)\y2imp.obj \
  38. $(OBJOS2)\ycemty.obj \
  39. $(OBJOS2)\ycpres.obj \
  40. $(OBJOS2)\yothrs.obj \
  41. $(OBJOS2)\ystagn.obj \
  42. $(OBJOS2)\ywritm.obj \
  43. $(OBJOS2)\ycpycd.obj \
  44. $(OBJOS2)\yfdtyp.obj \
  45. $(OBJOS2)\yskpcm.obj \
  46. $(OBJOS2)\yhdprd.obj \
  47. $(OBJOS2)\ywract.obj \
  48. $(OBJOS2)\ygin.obj \
  49. $(OBJOS2)\ystin.obj \
  50. $(OBJOS2)\y3imp.obj \
  51. $(OBJOS2)\ychcpy.obj \
  52. $(OBJOS2)\yerror.obj \
  53. $(OBJOS2)\yprlok.obj \
  54. $(OBJOS2)\ystate.obj \
  55. $(OBJOS2)\ychfnd.obj \
  56. $(OBJOS2)\ycstsh.obj \
  57. $(OBJOS2)\yfnact.obj \
  58. $(OBJOS2)\yapack.obj \
  59. $(OBJOS2)\youtpt.obj \
  60. $(OBJOS2)\ywstat.obj \
  61. $(OBJOS2)\ygtnm.obj \
  62. $(OBJOS2)\yarout.obj \
  63. $(OBJOS2)\y4imp.obj \
  64. $(OBJOS2)\yclsur.obj \
  65. $(OBJOS2)\yflset.obj \
  66. $(OBJOS2)\yptitm.obj \
  67. $(OBJOS2)\ystuni.obj \
  68. $(OBJOS2)\ycpact.obj \
  69. $(OBJOS2)\ydefin.obj \
  70. $(OBJOS2)\ygttok.obj \
  71. $(OBJOS2)\yg2gen.obj \
  72. $(OBJOS2)\yprcft.obj \
  73. $(OBJOS2)\yaoput.obj \
  74. $(OBJOS2)\ynxti.obj \
  75. $(OBJOS2)\util.obj
  76. ##############################################################################
  77. # targets of interest
  78. ##############################################################################
  79. all : prolog $(EXENAME)
  80. clean :
  81. - erase $(OBJOS2)\*.obj
  82. clobber : clean
  83. - erase $(EXENAME)
  84. tree :
  85. @echo Tree Not Implemented for this branch
  86. depend :
  87. -$(INCLUDES) -l -I. -C=c *.c 2>nul | $(SED) -e "s@[a-z0-9]*.obj@$$(OBJOS2)\\&@g" > depend.mk
  88. echo depend.mk was rebuilt, please reinvoke NMAKE
  89. prolog :
  90. - mkdir $(OBJDIR)
  91. - mkdir $(OBJOS2)
  92. $(EXENAME) : $(ALLYACCOBJS)
  93. $(LINK) $(LINKFLAGS) @<<midl.tmp
  94. $(OBJOS2)\y1imp.obj +
  95. $(OBJOS2)\yaryfl.obj +
  96. $(OBJOS2)\ycpfir.obj +
  97. $(OBJOS2)\yacc.obj +
  98. $(OBJOS2)\ysmnam.obj +
  99. $(OBJOS2)\ysumry.obj +
  100. $(OBJOS2)\ycpuni.obj +
  101. $(OBJOS2)\ydfout.obj +
  102. $(OBJOS2)\ysetup.obj +
  103. $(OBJOS2)\yg2out.obj +
  104. $(OBJOS2)\ywarry.obj +
  105. $(OBJOS2)\yclopt.obj +
  106. $(OBJOS2)\yosmry.obj +
  107. $(OBJOS2)\y2imp.obj +
  108. $(OBJOS2)\ycemty.obj +
  109. $(OBJOS2)\ycpres.obj +
  110. $(OBJOS2)\yothrs.obj +
  111. $(OBJOS2)\ystagn.obj +
  112. $(OBJOS2)\ywritm.obj +
  113. $(OBJOS2)\ycpycd.obj +
  114. $(OBJOS2)\yfdtyp.obj +
  115. $(OBJOS2)\yskpcm.obj +
  116. $(OBJOS2)\yhdprd.obj +
  117. $(OBJOS2)\ywract.obj +
  118. $(OBJOS2)\ygin.obj +
  119. $(OBJOS2)\ystin.obj +
  120. $(OBJOS2)\y3imp.obj +
  121. $(OBJOS2)\ychcpy.obj +
  122. $(OBJOS2)\yerror.obj +
  123. $(OBJOS2)\yprlok.obj +
  124. $(OBJOS2)\ystate.obj +
  125. $(OBJOS2)\ychfnd.obj +
  126. $(OBJOS2)\ycstsh.obj +
  127. $(OBJOS2)\yfnact.obj +
  128. $(OBJOS2)\yapack.obj +
  129. $(OBJOS2)\youtpt.obj +
  130. $(OBJOS2)\ywstat.obj +
  131. $(OBJOS2)\ygtnm.obj +
  132. $(OBJOS2)\yarout.obj +
  133. $(OBJOS2)\y4imp.obj +
  134. $(OBJOS2)\yclsur.obj +
  135. $(OBJOS2)\yflset.obj +
  136. $(OBJOS2)\yptitm.obj +
  137. $(OBJOS2)\ystuni.obj +
  138. $(OBJOS2)\ycpact.obj +
  139. $(OBJOS2)\ydefin.obj +
  140. $(OBJOS2)\ygttok.obj +
  141. $(OBJOS2)\yg2gen.obj +
  142. $(OBJOS2)\yprcft.obj +
  143. $(OBJOS2)\yaoput.obj +
  144. $(OBJOS2)\ynxti.obj +
  145. $(OBJOS2)\util.obj
  146. $(EXENAME)
  147. NUL.MAP
  148. $(LIBNAME)
  149. <<KEEP
  150. ##############################################################################
  151. !include depend.mk
  152. !endif # NTMAKEENV