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.

50 lines
1.1 KiB

  1. # Copyright (c) 1993-1999 Microsoft Corporation
  2. !ifndef MIDLTOOLS
  3. YACC = midlyacc.exe
  4. PREGRAM = midlpg.exe
  5. EBASE = midleb.exe
  6. !else # MIDLTOOLS
  7. YACC = $(MIDLTOOLS)\yacc\midlyacc.exe
  8. PREGRAM = $(MIDLTOOLS)\pg\midlpg.exe
  9. EBASE = $(MIDLTOOLS)\erec\obj\os2\midleb.exe
  10. !endif # MIDLTOOLS
  11. TARGETS=$(O)\grammar.cxx \
  12. $(O)\acfgram.cxx
  13. grammars: $(TARGETS)
  14. .SUFFIXES: .y .c
  15. {.}.y{$(O)}.y:
  16. copy $? $(O)
  17. {.}.c{$(O)}.c:
  18. copy $? $(O)
  19. $(O)\grammar.cxx : $(O)\grammar.y xlatidl.dat $(O)\yypars.c makefile.inc
  20. cd $(O)
  21. $(YACC) -his -t "YYCONST " grammar.y
  22. findstr -v /c:"#line " grammar.c > grammar.tmp
  23. erase grammar.c
  24. $(PREGRAM) grammar.tmp > grammar.cxx
  25. erase grammar.tmp
  26. $(EBASE) - ..\..\xlatidl.dat IDL > idlerec.h
  27. cd ..\..
  28. $(O)\acfgram.cxx : $(O)\acfgram.y xlatacf.dat yypars.c makefile.inc
  29. cd $(O)
  30. $(YACC) -his -t "YYCONST " acfgram.y
  31. findstr -v /c:"#line " acfgram.c > acfgram.tmp
  32. erase acfgram.c
  33. $(PREGRAM) acfgram.tmp > acfgram.cxx
  34. erase acfgram.tmp
  35. $(EBASE) - ..\..\xlatacf.dat ACF > acferec.h
  36. cd ..\..