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.
 
 
 
 
 
 

46 lines
1.1 KiB

# Autodoc MAKEFILE
#
# Eric Artzt, Program Manager
# Consumer Division, Kids Software Group
# Internet : [email protected]
#
OUTDIR = $(ProjDir)\Doc
TARGET = $(Project)
TITLE = $(TARGET) Help
DOCHDR = $(TARGET) API Reference
AD = $(AdDir)\autodoc.exe
ADHLP = /RH /O$(OUTDIR)\$(TARGET).RTF /D "title=$(TITLE)"
ADDOC = /RD /O$(OUTDIR)\$(TARGET).DOC /D "doc_header=$(DOCHDR)"
ADTAB = 8
HC = hcw /a /e /c
SOURCE = *.cpp *.h *.d *.idl
#FILTER = /x "EVENTS & EXTERNAL"
# Help and Doc targets
target ::
!if !EXIST("$(OUTDIR)")
md $(OUTDIR)
! endif
target :: $(TARGET).hlp $(TARGET).doc
clean:
if exist $(OUTDIR)\*.rtf del $(OUTDIR)\*.rtf
if exist $(OUTDIR)\$(TARGET).doc del $(OUTDIR)\$(TARGET).doc
if exist $(OUTDIR)\$(TARGET).hlp del $(OUTDIR)\$(TARGET).hlp
# Generate a Help file
$(TARGET).rtf : $(SOURCE)
$(AD) $(FILTER) $(ADHLP) /t$(ADTAB) $(SOURCE)
$(TARGET).hlp : $(TARGET).rtf
$(HC) $(OUTDIR)\$(TARGET).HPJ
# Generate a print documentation file
$(TARGET).doc : $(SOURCE)
$(AD) $(FILTER) $(ADDOC) /t$(ADTAB) $(SOURCE)