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

⟦ee0508fa4⟧ TextFile

    Length: 5643 (0x160b)
    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/lookup/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of ISODE password lookup demo
###############################################################################

###############################################################################
#
# $Header: /f/osi/others/lookup/RCS/Makefile,v 7.0 89/11/23 22:56:32 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 7.0  89/11/23  22:56:32  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.
#
###############################################################################


###############################################################################
# Options
###############################################################################

BINDIR	=	/usr/new/


###############################################################################
# Generation Rules for program modules
###############################################################################

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


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

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


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

HFILES	=	ryinitiator.h ryresponder.h
CFILES	=	lookupd.c lookup.c ryinitiator.c ryresponder.c
RYFILES	=	lookup.ry


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

all:		lookupd lookup
inst-all:	inst-lookupd inst-lookup manuals
install:	inst-all clean
lint:		l-lookupd l-lookup


##################################################################
# lookupd
##################################################################

inst-lookupd:	$(SBINDIR)ros.lookup

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

lookupd:	lookupd.o PasswordLookup-Rops.o ryresponder.o liblookup.a
		$(LDCC) $(LDFLAGS) -o $@ lookupd.o \
			PasswordLookup-Rops.o ryresponder.o liblookup.a \
			$(LIBES) $(LSOCKET)

l-lookupd:	PasswordLookup-ops.c LOOKUP-C true
		$(LINT) $(LFLAGS) -DPERFORMER lookupd.c \
			PasswordLookup-ops.c ryresponder.c \
			$(LOOKUP-C) $(LLIBS)

lookupd.o:	ryresponder.h PasswordLookup-ops.h \
			PasswordLookup-types.h

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

ryresponder.o:	ryresponder.h


##################################################################
# lookup
##################################################################

inst-lookup:	$(BINDIR)lookup

$(BINDIR)lookup:	lookup
		-cp $@ zlookup
		-rm -f $@
		cp lookup $@
		-@ls -gls $@
		-@echo ""

lookup:		lookup.o PasswordLookup-Iops.o ryinitiator.o liblookup.a
		$(LDCC) $(LDFLAGS) -o $@ lookup.o PasswordLookup-Iops.o \
			ryinitiator.o liblookup.a $(LIBES) $(LSOCKET)

l-lookup:	PasswordLookup-ops.c LOOKUP-C true
		$(LINT) $(LFLAGS) -DINVOKER lookup.c PasswordLookup-ops.c \
			ryinitiator.c $(LOOKUP-C) PasswordLookup-stubs.c \
			$(LLIBS)

lookup.o:	ryinitiator.h PasswordLookup-ops.h PasswordLookup-types.h

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

ryinitiator.o:	ryinitiator.h


################################################################
# liblookup
################################################################

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

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

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

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

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

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


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

MANUALS	=	lookupd.8c lookup.1c

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


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

clean:;		rm -f *.o *.a PasswordLookup* LOOKUP* lookupd lookup 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:;