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

⟦b1e7577af⟧ TextFile

    Length: 5777 (0x1691)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

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

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

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

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


LIBES	=	$(TOPDIR)libftam.a $(TOPDIR)libisode.a
LLIBS	=	$(TOPDIR)llib-lftam $(TOPDIR)llib-lisode
CFILES	=	ftamd.c ftamsystem.c ftamd-manage.c ftamd-select.c \
			ftamd-trans.c \
		ftam.c ftamuser.c ftam-assoc.c ftam-dir.c ftam-get.c \
			ftam-glob.c ftam-ls.c ftam-mgmt.c ftam-put.c \
		ftamsbr.c
PYFILES	=	docs.py
HFILES	=	$(HDIR)ftam.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:		ftamd ftam
inst-all:	inst-ftamd inst-ftam manuals
install:	inst-all clean
lint:		l-ftamd l-ftam


##################################################################
# ftamd
##################################################################

inst-ftamd:	$(ETCDIR)iso.ftam

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

ftamd:		xftamd

xftamd:		ftamd.o ftamsystem.o ftamd-manage.o ftamd-select.o \
			ftamd-trans.o ftamsbr.o DOCS-O DOCS-print.o $(LIBES)
		$(LDCC) $(LDFLAGS) -o $@ ftamd.o ftamsystem.o ftamd-manage.o \
			ftamd-select.o ftamd-trans.o ftamsbr.o $(DOCS-O) \
			DOCS-print.o $(LIBES) $(LSOCKET)

l-ftamd:	DOCS-C DOCS-print.c true
		$(LINT) $(LFLAGS) ftamd.c ftamsystem.c ftamd-manage.c \
			ftamd-select.c ftamd-trans.c ftamsbr.c $(DOCS-C) \
			DOCS-print.c $(LLIBS)

ftamd.o:	ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES)
ftamsystem.o:	ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) $(HDIR)logger.h
ftamd-manage.o:	ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES)
ftamd-select.o:	ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES)
ftamd-trans.o:	ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) \
			$(HDIR)usr.dirent.h $(HDIR)sys.dirent.h


##################################################################
# ftam
##################################################################

inst-ftam:	$(BINDIR)ftam

$(BINDIR)ftam:	xftam
		-cp $@ zxftam
		-rm -f $@
		cp xftam $@
		-@ls -gls $@
		-@echo ""

ftam:		xftam

xftam:		ftam.o ftamuser.o ftam-assoc.o ftam-dir.o ftam-get.o \
			ftam-glob.o ftam-ls.o ftam-mgmt.o ftam-put.o \
			ftamsbr.o DOCS-O DOCS-print.o $(LIBES)
		$(LDCC) $(LDFLAGS) -o $@ ftam.o ftamuser.o ftam-assoc.o \
			ftam-dir.o ftam-get.o ftam-glob.o ftam-ls.o \
			ftam-mgmt.o ftam-put.o ftamsbr.o $(DOCS-O) \
			DOCS-print.o $(LIBES) $(LSOCKET)

l-ftam:		DOCS-C DOCS-print.c true
		$(LINT) $(LFLAGS) ftam.c ftamuser.c ftam-assoc.c ftam-dir.c \
			ftam-get.c ftam-glob.c ftam-ls.c ftam-mgmt.c \
			ftam-put.c ftamsbr.c $(DOCS-C) DOCS-print.c $(LLIBS)

ftam.o:		ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) $(HDIR)tailor.h \
		$(HDIR)logger.h
ftamuser.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) $(HDIR)tailor.h \
		$(HDIR)logger.h
ftam-assoc.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES)
ftam-dir.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES)
ftam-get.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES)
ftam-glob.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) \
			$(HDIR)usr.dirent.h $(HDIR)sys.dirent.h
ftam-ls.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES)
ftam-mgmt.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES)
ftam-put.o:	ftamuser.h ftamsbr.h DOCS-types.h $(HFILES)


##################################################################
# ftamsbr/DOCS
##################################################################

ftamsbr.o:	ftamsbr.h DOCS-types.h $(HFILES)

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

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

DOCS-C:		DOCS-types.py $(TOPDIR)pepy/xpepy
		-@rm -f $(DOCS-C) $(DOCS-O)
		$(TOPDIR)pepy/xpepy -a PY_advise -A -b DOCS -m $(PYFLAGS) \
			DOCS-types.py
		-@touch $@

DOCS-types.h DOCS-types.py: docs.py $(TOPDIR)pepy/xposy
		$(TOPDIR)pepy/xposy -f -h -m -o DOCS-types.py $(POFLAGS) \
			docs.py

DOCS-print.c:	docs.py $(TOPDIR)pepy/xpepy
		$(TOPDIR)pepy/xpepy -a PY_advise -d -m -S PRINT -o $@ \
			$(PYFLAGS) docs.py


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

MANUALS	=	ftamd.8c ftam.1c ftamusers.5

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


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

clean:;		rm -f *.ph *.o DOCS* x* z* _* core 

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

true:;