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.

47 lines
1.3 KiB

  1. # Autodoc MAKEFILE
  2. #
  3. # Eric Artzt, Program Manager
  4. # Consumer Division, Kids Software Group
  5. # Internet : [email protected]
  6. #
  7. OUTDIR = $(ProjDir)\Doc
  8. TARGET = $(Project)
  9. TITLE = $(TARGET) Help
  10. DOCHDR = $(TARGET) API Reference
  11. AD = $(AdDir)\autodoc.exe
  12. ADHLP = /RH /O$(OUTDIR)\$(TARGET).RTF /D "title=$(TITLE)"
  13. ADDOC = /RD /O$(OUTDIR)\$(TARGET).DOC /D "doc_header=$(DOCHDR)"
  14. ADTAB = 8
  15. HC = hcw /a /e /c
  16. SOURCE = *.d ..\..\..\staxinc\export\mailmsg.idl ..\..\..\staxinc\export\mailmsgi.idl ..\..\..\staxinc\export\immprops.h
  17. FILTER = /x "MAILMSG MAILMSGI INTERNAL EXTERNAL PROPERTIES"
  18. SUPPFMT = /s localdoc.fmt
  19. # Help and Doc targets
  20. target ::
  21. !if !EXIST("$(OUTDIR)")
  22. md $(OUTDIR)
  23. ! endif
  24. target :: $(TARGET).hlp $(TARGET).doc
  25. clean:
  26. if exist $(OUTDIR)\*.rtf del $(OUTDIR)\*.rtf
  27. if exist $(OUTDIR)\$(TARGET).doc del $(OUTDIR)\$(TARGET).doc
  28. if exist $(OUTDIR)\$(TARGET).hlp del $(OUTDIR)\$(TARGET).hlp
  29. # Generate a Help file
  30. $(TARGET).rtf : $(SOURCE)
  31. $(AD) $(SUPPFMT) $(FILTER) $(ADHLP) /t$(ADTAB) $(SOURCE)
  32. $(TARGET).hlp : $(TARGET).rtf
  33. $(HC) $(OUTDIR)\$(TARGET).HPJ
  34. # Generate a print documentation file
  35. $(TARGET).doc : $(SOURCE)
  36. $(AD) $(SUPPFMT) $(FILTER) $(ADDOC) /t$(ADTAB) $(SOURCE)