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

⟦e99a6691d⟧ TextFile

    Length: 5567 (0x15bf)
    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/idist/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of ISODE idist utility
###############################################################################

###############################################################################
#
# $Header: /f/osi/others/idist/RCS/Makefile,v 7.1 89/12/01 10:44:28 mrose Exp $
#
#
# $Log:	Makefile,v $
# Revision 7.1  89/12/01  10:44:28  mrose
# touch-up
# 
# Revision 7.0  89/11/23  21:58:21  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	=	ryresponder.h defs.h
CFILES	=	docmd.c expand.c idistd.c idistd2.c install.c lookup.c \
			main.c ops.c ryinitiator.c ryresponder.c support.c
RYFILES	=	idist.ry


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

all:		idistd idist
inst-all:	inst-idistd inst-idist manuals
install:	inst-all clean
lint:		l-idistd l-idist


##################################################################
# idistd
##################################################################

inst-idistd:	$(SBINDIR)ros.idist

$(SBINDIR)ros.idist:	idistd
		-cp $@ zros.idist
		-rm -f $@
		cp idistd $@
		-@ls -gls $@
		-@echo ""

IDISTDO=	idistd.o idistd2.o support.o Idist-Rops.o ryresponder.o
IDISTDC=	idistd.c idistd2.c support.c Idist-ops.c  ryresponder.c

idistd:		$(IDISTDO) libidist.a
		$(CC) $(LDFLAGS) -o $@ $(IDISTDO) libidist.a \
			$(LIBES) $(LSOCKET)

idistd.o:	ryresponder.h Idist-ops.h Idist-types.h defs.h

Idist-Rops.o:	Idist-ops.c Idist-ops.h
		$(CC) $(CFLAGS) -DPERFORMER -c Idist-ops.c
		mv Idist-ops.o $@

ryresponder.o:	ryresponder.h ryresponder.c Idist-ops.h
		$(CC) $(CFLAGS) -c ryresponder.c

idistd2.o:	Idist-types.h defs.h idistd2.c

l-idistd:	$(IDISTDC) IDIST-C true
		$(LINT) $(LFLAGS) -DPERFORMER $(IDISTDC) \
			$(IDIST-C) $(LLIBS)


##################################################################
# idist
##################################################################

inst-idist:	$(BINDIR)idist

$(BINDIR)idist:	idist
		-cp $@ zidist
		-rm -f $@
		cp idist $@
		-@ls -gls $@
		-@echo ""

IDISTO=		main.o docmd.o expand.o gram.o install.o lookup.o support.o \
		ops.o Idist-Iops.o ryinitiator.o
IDISTC=		main.c docmd.c expand.c gram.c install.c lookup.c support.c \
		ops.c ryinitiator.c

idist:		$(IDISTO) libidist.a
		$(CC) $(LDFLAGS) -o $@ $(IDISTO) libidist.a $(LIBES) $(LSOCKET)

ops.o:		Idist-ops.h Idist-types.h defs.h

Idist-Iops.o:	Idist-ops.c Idist-ops.h
		$(CC) $(CFLAGS) -DINVOKER -c Idist-ops.c
		mv Idist-ops.o $@

main.o:		defs.h 

support.o:	defs.h Idist-ops.h Idist-types.h

docmd.o:	defs.h

expand.o:	defs.h

gram.o:		defs.h

lookup.o:	defs.h

install.o:	defs.h

l-idist:	$(IDISTC) Idist-ops.c IDIST-C true
		$(LINT) $(LFLAGS) -DINVOKER $(IDISTC) \
			$(IDIST-C) Idist-stubs.c \
			$(LLIBS)


################################################################
# libidist
################################################################

libidist.a:	IDIST-O
		-rm -f $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(IDIST-O)
		-@ls -l $@
		-@echo "IDIST library built normally"

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

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

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

Idist-types.py:	Idist-asn.py $(TOPDIR)pepy/xposy
		$(TOPDIR)pepy/xposy -f -h -m -o $@ $(POFLAGS) Idist-asn.py
Idist-types.h:	Idist-types.py

Idist-asn.py:	idist.ry $(TOPDIR)rosy/xrosy
		$(TOPDIR)rosy/xrosy $(RYFLAGS) -m -o $@ idist.ry
Idist-ops.c:	idist.ry
Idist-ops.h:	idist.ry
Idist-stubs.c:	idist.ry


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

MANUALS	=	idistd.8c idist.1c

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


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

clean:;		rm -f *.o *.a Idist* IDIST* gram.c idistd idist z* _* core

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

true:;