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

⟦48d67f3ca⟧ TextFile

    Length: 5845 (0x16d5)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

###############################################################################
#   Instructions to Make, for compilation of ISODE RtSAP processes
###############################################################################

###############################################################################
#
# $Header: /f/osi/rtsap/RCS/Makefile,v 6.0 89/03/18 23:43:01 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 6.0  89/03/18  23:43:01  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.
#
###############################################################################


.SUFFIXES:	.py .c .o

.py.c:;		$(TOPDIR)pepy/xpepy -a PY_advise -m $(PYFLAGS) $<


LIBES	=	librtsap.a
LLIBS   =	$(TOPDIR)llib-lacsap $(TOPDIR)llib-lpsap2 $(TOPDIR)llib-lpsap \
		$(TOPDIR)llib-lssap $(TOPDIR)llib-lcompat
HFILES	=	$(HDIR)rtsap.h $(HDIR)acsap.h $(HDIR)psap2.h $(HDIR)psap.h \
		$(HDIR)ssap.h $(HDIR)isoaddrs.h \
		$(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h


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

all:		librtsap
inst-all:	inst-librtsap manuals
install:	inst-all clean
lint:		l-librtsap


################################################################
# librtsap
################################################################

CFILES	=	rtsaperror.c \
		rtsappturn.c rtsapgturn.c rtsaptrans.c rtsapwait.c \
		rtsapasync.c rtsapselect.c rtsaplose.c \
		rtsapdtrans.c rtsaputrans.c \
		rt2psrespond.c rt2psinitiat.c rt2psabort.c rt2psreleas1.c \
		rt2psreleas2.c rt2ps.c \
		rt2ssexec.c rt2ssrespond.c rt2ssinitiat.c rt2ssreleas1.c \
		rt2ssreleas2.c rt2ss.c
PYFILES	=	rts.py
OFILES	=	rtsaperror.o \
		rtsappturn.o rtsapgturn.o rtsaptrans.o rtsapwait.o \
		rtsapasync.o rtsapselect.o rtsaplose.o \
		rtsapdtrans.o rtsaputrans.o \
		rt2psrespond.o rt2psinitiat.o rt2psabort.o rt2psreleas1.o \
		rt2psreleas2.o rt2ps.o \
		rt2ssexec.o rt2ssrespond.o rt2ssinitiat.o rt2ssreleas1.o \
		rt2ssreleas2.o rt2ss.o \
		rts.o vrts.o $(OSTRINGS)

inst-librtsap:	$(LIBDIR)librtsap.a $(LINTDIR)llib-lrtsap

$(LIBDIR)librtsap.a:	librtsap.a
		-rm -f $@
		cp librtsap.a $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
		-@ls -gls $@
		-@echo ""

$(LINTDIR)llib-lrtsap:	llib-lrtsap
		-cp $@ zllib-lrtsap
		-rm -f $@
		sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \
			< llib-lrtsap | \
			sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@
		@$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@
		-@ls -gls $@ $@.ln
		-@echo ""

librtsap:	librtsap.a

librtsap.a:	rtsapvrsn.o
		-rm -f $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \
			rtsapvrsn.o
		-@rm -f $(TOPDIR)librtsap.a $(TOPDIR)llib-lrtsap
		-@$(LN) librtsap.a $(TOPDIR)librtsap.a
		-@$(LN) llib-lrtsap $(TOPDIR)llib-lrtsap
		-@ls -l $@
		-@echo "RtSAP library built normally"

rtsapvrsn.c:	$(OFILES)
		@$(UTILDIR)version.sh rtsap > $@

l-librtsap:	rts.c true
		$(LINT) $(LFLAGS) $(CFILES) rts.c rtsapvrsn.c $(LLIBS)

rtsaperror.o:	$(HFILES)
rtsappturn.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsapgturn.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsaptrans.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsapwait.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsapasync.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsapselect.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsaplose.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rtsapdtrans.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rtsaputrans.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rt2psrespond.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rt2psinitiat.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rt2psabort.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rt2psreleas1.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rt2psreleas2.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rt2ps.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rt2ssexec.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)isoservent.h \
		$(HDIR)tailor.h $(HDIR)logger.h
rt2ssrespond.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rt2ssinitiat.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)isoservent.h \
		$(HDIR)tailor.h $(HDIR)logger.h
rt2ssreleas1.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rt2ssreleas2.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES)
rt2ss.o:	$(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \
			$(HDIR)logger.h
rts.o:		$(HDIR)rtpkt.h $(HFILES)
rts.o:		rts.c
rts.c:		rts.py $(TOPDIR)pepy/xpepy
vrts.o:		$(HDIR)rtpkt.h $(HFILES)
vrts.o:		vrts.c
vrts.c:		rts.py $(TOPDIR)pepy/xpepy
		$(TOPDIR)pepy/xpepy -a PY_advise -m -d -S PRINT -o $@ $(PYFLAGS) rts.py


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

MANUALS	=	librtsap.3n

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


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

clean:;		rm -f *.ph *.o *.a rts.c vrts.c z* _* core rtsapvrsn.c \
			$(CLEANSTRINGS)

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

true:;