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

⟦4de1e8bba⟧ TextFile

    Length: 4269 (0x10ad)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

###############################################################################
#   Instructions to Make, for compilation of MITRE FTAM/FTP gateway
###############################################################################

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

.SUFFIXES:	.py .c .o

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

.py.c:;		pepy -a PY_advise $(PYFLAGS) $<


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

LIBES	=	$(TOPDIR)libftam.a $(TOPDIR)libisode.a
LLIBS	=	$(TOPDIR)llib-lftam $(TOPDIR)llib-lisode


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

FTAM	=	$(TOPDIR)ftam2/
HFILES	=	$(FTAM)ftamsystem.h $(FTAM)ftamsbr.h $(FTAM)DOCS-types.h
CFILES	=	$(FTAM)ftamd.c $(FTAM)ftamsystem.c $(FTAM)ftamd-manage.c \
			$(FTAM)ftamd-select.c $(FTAM)ftamd-trans.c \
			$(FTAM)ftamsbr.c 
OFILES	=	ftamd.o ftamsystem.o ftamd-manage.o ftamd-select.o \
			ftamd-trans.o ftamsbr.o
DOCS-O	=	$(FTAM)DOCS-[0-9]*.o $(FTAM)DOCS-print.o
DOCS-C	=	$(FTAM)DOCS-[0-9]*.c $(FTAM)DOCS-print.c


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

all:		ftamd-ftp 
inst-all:	inst-ftamd-ftp manuals
install:	inst-all clean
lint:		l-ftamd-ftp


##################################################################
# ftamd-ftp
##################################################################

inst-ftamd-ftp:	$(ETCDIR)iso.ftam-ftp

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

ftamd-ftp:	xftamd-ftp

xftamd-ftp:	$(OFILES) $(DOCS-O) ftp.o ftp_lib.o $(LIBES)
		$(LDCC) $(LDFLAGS) -o $@ $(OFILES) $(DOCS-O) ftp.o ftp_lib.o \
			$(LIBES) $(LSOCKET)

l-ftamd-ftp:;	$(LINT) $(LFLAGS) -DBRIDGE -I$(FTAM) $(CFILES) ftp.c \
			$(DOCS-C) ftp_lib.c $(LLIBS)

ftamd.o:	$(HFILES) $(FTAM)ftamd.c
		$(CC) $(CFLAGS) -DBRIDGE -I$(FTAM) -c $(FTAM)ftamd.c

ftamsystem.o:	$(HFILES) $(HDIR)logger.h $(FTAM)ftamsystem.c
		$(CC) $(CFLAGS) -DBRIDGE -I$(FTAM) -c $(FTAM)ftamsystem.c

ftamd-manage.o:	$(HFILES) $(FTAM)ftamd-manage.c
		$(CC) $(CFLAGS) -DBRIDGE -I$(FTAM) -c $(FTAM)ftamd-manage.c

ftamd-select.o:	$(HFILES) $(FTAM)ftamd-select.c
		$(CC) $(CFLAGS) -DBRIDGE -I$(FTAM) -c $(FTAM)ftamd-select.c

ftamd-trans.o:	$(HFILES) $(HDIR)usr.dirent.h $(HDIR)sys.dirent.h \
			$(FTAM)ftamd-trans.c
		$(CC) $(CFLAGS) -DBRIDGE -I$(FTAM) -c $(FTAM)ftamd-trans.c

ftamsbr.o:	$(HFILES) $(FTAM)ftamsbr.c
		$(CC) $(CFLAGS) -DBRIDGE -I$(FTAM) -c $(FTAM)ftamsbr.c

ftp.o:		ftp_var.h
ftp_lib.o:	ftp_var.h


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

MANUALS	=	ftamd-ftp.8c

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


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

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

grind:;		iprint Makefile
		tgrind -lc ftp_var.h ftp.c ftp_lib.c
		@echo $(MANUALS) | \
			tr " " "\012" | \
			sed -e "s%.*%itroff -man &%" | \
			sh -ve

true:;