###############################################################################
# Instructions to Make, for compilation of the ISODE RT-file transfer utility
###############################################################################
###############################################################################
# $Header: /f/osi/others/rtf/RCS/Makefile,v 7.3 91/02/22 09:34:13 mrose Interim $
# Revision 7.3 91/02/22 09:34:13 mrose
# Revision 7.2 90/12/23 18:44:54 mrose
# Revision 7.1 90/07/01 21:04:43 mrose
# Revision 7.0 89/11/23 22:10:43 mrose
###############################################################################
###############################################################################
# Acquisition, use, and distribution of this module and related
# materials are subject to the restrictions of a license agreement.
# Consult the Preface in the User's Manual for the full terms of
###############################################################################
###############################################################################
# Generation Rules for program modules
###############################################################################
.c.o
:; $(CC
) $(CFLAGS
) -c
$*.c
###############################################################################
###############################################################################
LIBES
= $(TOPDIR
)libisode.a
LLIBS
= $(TOPDIR
)llib-lisode
###############################################################################
###############################################################################
CFILES
= rtf.c rtfd.c rtfsbr.c
##################################################################
##################################################################
inst-all
: inst-rtfd inst-rtf manuals
##################################################################
##################################################################
inst-rtfd
: $(SBINDIR
)iso.rtf
xrtfd
: rtfd.o rtfsbr.o RTF_tables.o
$(LDCC
) $(LDFLAGS
) -o
$@ rtfd.o rtfsbr.o RTF_tables.o \
l-rtfd
: RTF_tables.c true
$(LINT
) $(LFLAGS
) rtfd.c rtfsbr.c RTF_tables.c
$(LLIBS
) \
| grep
-v
"warning: possible pointer alignment problem"
rtfd.o
: $(HFILES
) RTF-types.h
##################################################################
##################################################################
xrtf
: rtf.o rtfsbr.o RTF_tables.o
$(LDCC
) $(LDFLAGS
) -o
$@ rtf.o rtfsbr.o RTF_tables.o \
$(LINT
) $(LFLAGS
) rtf.c rtfsbr.c RTF_tables.c
$(LLIBS
) \
| grep
-v
"warning: possible pointer alignment problem"
rtf.o
: $(HFILES
) RTF-types.h
################################################################
################################################################
RTF_tables.o
: RTF_tables.c RTF-types.h
RTF_tables.c RTF-types.h
: rtf.py
$(TOPDIR
)pepsy
/xpepsy
$(TOPDIR
)pepsy
/xpepsy
-A
-f
-h
-m rtf.py
################################################################
################################################################
manuals
:; @
$(UTILDIR
)inst-man.sh
$(MANOPTS
) $(MANUALS
)
##################################################################
##################################################################
clean:; rm -f
*.o
*.a RTF
* x
* z
* _
* core
tgrind
-lc
$(HFILES
) $(CFILES
)
tgrind
-lpepy
-d
$(TOPDIR
)pepy
/grindefs
$(PYFILES
)
sed
-e
"s%.*%itroff -man &%" | \