Category : C Source Code
Archive   : RTFPARSE.ZIP
Filename : IMAKEFIL

 
Output of file : IMAKEFIL contained in archive : RTFPARSE.ZIP
/**/# RTF Tools Imakefile

/**/# Try "make Bootstrap" to rebuild the initial Makefile.
/**/# (assuming you have the WRPRC configuration project 1.03 installed.

/**/# Look at the files in the config subdirectory to see if you want
/**/# to change anything.

# any special -D's or other flags for compiling
DEFINES = $(VARARGS_DEFINES)

# any special -I's for compiling
INCLUDES =

# any special libraries needed for linking
LIBRARIES =

# stuff common to all translators
COMMONSRCS = reader.c
COMMONOBJS = reader.o

# RTF-to-nothing translator (the minimal translator)
NULLSRCS = rtf2null.c
NULLOBJS = rtf2null.o $(COMMONOBJS)

# RTF-to-troff
TROFFSRCS = rtf2troff.c trf-charmap.c trf-stack.c trf-flush.c \
trf-table.c trf-nwid.c
TROFFOBJS = rtf2troff.o trf-charmap.o trf-stack.o trf-flush.o \
trf-table.o trf-nwid.o $(COMMONOBJS)

# RTF-to-text translator
TEXTSRCS = rtf2text.c
TEXTOBJS = rtf2text.o $(COMMONOBJS)

# RTF diagnostic "translator"
DIAGSRCS = rtfdiag.c
DIAGOBJS = rtfdiag.o $(COMMONOBJS)

# RTF word count "translator"
WCSRCS = rtfwc.c
WCOBJS = rtfwc.o $(COMMONOBJS)

# skeleton RTF translator
SKELSRCS = rtfskel.c
SKELOBJS = rtfskel.o $(COMMONOBJS)

# RTF file indenter ("beautifier")
INDSRCS = rtfindent.c
INDOBJS = rtfindent.o

SRCS = $(COMMONSRCS) $(NULLSRCS) $(TROFFSRCS) $(DIAGSRCS) \
$(TEXTSRCS) $(WCSRCS) $(SKELSRCS) $(INDSRCS)


NormalProgramTarget(rtf2null,$(NULLOBJS),/**/,$(LIBRARIES))
InstallProgramTarget(rtf2null,$(BINDIR))

NormalProgramTarget(rtf2troff,$(TROFFOBJS),/**/,$(LIBRARIES))
InstallProgramTarget(rtf2troff,$(BINDIR))

NormalProgramTarget(rtf2text,$(TEXTOBJS),/**/,$(LIBRARIES))
InstallProgramTarget(rtf2text,$(BINDIR))

NormalProgramTarget(rtfdiag,$(DIAGOBJS),/**/,$(LIBRARIES))
InstallProgramTarget(rtfdiag,$(BINDIR))

NormalProgramTarget(rtfwc,$(WCOBJS),/**/,$(LIBRARIES))
InstallProgramTarget(rtfwc,$(BINDIR))

# this isn't installed anywhere...
NormalProgramTarget(rtfskel,$(SKELOBJS),/**/,$(LIBRARIES))

NormalProgramTarget(rtfindent,$(INDOBJS),/**/,$(LIBRARIES))
InstallProgramTarget(rtfindent,$(BINDIR))

# documents

TroffDoc(rtf.ms,$(MSMACROS),/**/)

TroffDoc(rtf-misc.ms,$(MSMACROS),/**/)

TroffDoc(rtf2troff.ms,$(MSMACROS),/**/)

# other

DependTarget()

BootstrapTarget()

World::
@echo "Making $(PROJECTNAME) project, Release $(PROJECTRELEASE)"
$(MAKE) Bootstrap
$(MAKE) clean
$(MAKE) depend
$(MAKE) all


  3 Responses to “Category : C Source Code
Archive   : RTFPARSE.ZIP
Filename : IMAKEFIL

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/