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

⟦b0f3936a0⟧ TextFile

    Length: 4429 (0x114d)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.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 7.0 89/11/23 22:10:43 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 7.0  89/11/23  22:10:43  mrose
# Release 6.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	=	$(TOPDIR)libisode.a
LLIBS   =	$(TOPDIR)llib-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:	$(SBINDIR)iso.rtf

$(SBINDIR)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 $(TOPDIR)pepy/xpepy
		-@rm -f $(RTF-C) $(RTF-O)
		$(TOPDIR)pepy/xpepy -a ryr_advise -m -A -b RTF $(PYFLAGS) \
			RTF-types.py
		-@touch $@

RTF-types.py RTF-types.h:	rtf.py $(TOPDIR)pepy/xposy
		$(TOPDIR)pepy/xposy -f -h -m -o RTF-types.py $(POFLAGS) rtf.py


RTF-print.c:	rtf.py $(TOPDIR)pepy/xpepy
		$(TOPDIR)pepy/xpepy -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:;