DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦c22dc5d02⟧ TextFile

    Length: 4281 (0x10b9)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/others/rtf/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of the ISODE RT-file transfer utility
###############################################################################

###############################################################################
#
# $Header: /f/osi/others/rtf/RCS/Makefile,v 6.0 89/03/18 23:37:05 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 6.0  89/03/18  23:37:05  mrose
# Release 5.0
# 
###############################################################################

###############################################################################
#
#				 NOTICE
#
#    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
#    this agreement.
#
###############################################################################


###############################################################################
# Generation Rules for program modules
###############################################################################

.c.o:;		$(CC) $(CFLAGS) -c $*.c


###############################################################################
# Programs and Libraries
###############################################################################

LIBES	=	-lisode
LLIBS   =	-lisode


###############################################################################
# Files
###############################################################################

HFILES	=	rtf.h
CFILES	=	rtf.c rtfd.c rtfsbr.c
PYFILES	=	rtf.py


##################################################################
# Here it is...
##################################################################

all:		rtfd rtf
inst-all:	inst-rtfd inst-rtf manuals
install:	inst-all clean
lint:		l-rtfd l-rtf


##################################################################
# rtfd
##################################################################

inst-rtfd:	$(ETCDIR)iso.rtf

$(ETCDIR)iso.rtf:	xrtfd
		-cp $@ ziso.rtf
		-rm -f $@
		cp xrtfd $@
		-@ls -gls $@
		-@echo ""

rtfd:		xrtfd

xrtfd:		rtfd.o rtfsbr.o librtf.a
		$(LDCC) $(LDFLAGS)  -o $@ rtfd.o rtfsbr.o librtf.a \
			$(LIBES) $(LSOCKET)

l-rtfd:		RTF-C true
		$(LINT) $(LFLAGS) rtfd.c rtfsbr.c $(RTF-C) $(LLIBS)


rtfd.o:		$(HFILES) RTF-types.h


##################################################################
# rtf
##################################################################

inst-rtf:	$(BINDIR)rtf

$(BINDIR)rtf:	xrtf
		-cp $@ zrtf
		-rm -f $@
		cp xrtf $@
		-@ls -gls $@
		-@echo ""

rtf:		xrtf

xrtf:		rtf.o rtfsbr.o librtf.a
		$(LDCC) $(LDFLAGS) -o $@ rtf.o rtfsbr.o librtf.a \
			$(LIBES) $(LSOCKET)

l-rtf:		RTF-C RTF-print.c true
		$(LINT) $(LFLAGS) rtf.c rtfsbr.c $(RTF-C) RTF-print.c $(LLIBS)

rtf.o:		$(HFILES) RTF-types.h
rtfsbr.o:	$(HFILES)


################################################################
# librtf
################################################################

librtf.a:	RTF-O RTF-print.o
		-rm -f $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(RTF-O) \
			RTF-print.o
		-@ls -l $@
		-@echo "RTF library built normally"

RTF-O	=	RTF-[0-9]*.o
RTF-C	=	RTF-[0-9]*.c

RTF-O:		RTF-C
		@$(MAKE) `/bin/ls $(RTF-C) | sed 's/\.c$$/.o/'`
		-@touch $@

RTF-C:		RTF-types.py
		-@rm -f $(RTF-C) $(RTF-O)
		pepy -a ryr_advise -A -b RTF $(PYFLAGS) RTF-types.py
		-@touch $@

RTF-types.py RTF-types.h:	rtf.py
		posy -f -h -o RTF-types.py $(POFLAGS) rtf.py


RTF-print.c:	rtf.py
		pepy -a PY_advise -d -m -S PRINT -o $@ $(PYFLAGS) rtf.py


################################################################
# manual pages
################################################################

MANUALS	=	rtfd.8c rtf.1c

manuals:;	@$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
		-@echo ""


##################################################################
# clean
##################################################################

clean:;		rm -f *.o *.a RTF* x* z* _* core 

grind:;		iprint Makefile
		tgrind -lc $(HFILES) $(CFILES)
		tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(PYFILES)
		@echo $(MANUALS) | \
			tr " " "\012" | \
			sed -e "s%.*%itroff -man &%" | \
			sh -ve

true:;