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: T p

⟦f22705e0e⟧ TextFile

    Length: 3130 (0xc3a)
    Types: TextFile
    Names: »passwd-make.make«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/manual/passwd-make.make« 

TextFile

#   Instructions to Make, for compilation of ROS-based password lookup service

BINDIR	=	/usr/new/
SBINDIR	=	/usr/etc/
ETCDIR	=	/usr/etc/

CC	=	/bin/cc
CFLAGS	=	-g    $(OPTIONS)
LINT	=	lint
LFLAGS	=	-bhuz $(OPTIONS)
LLIBS   =	-lisode
LD	=	ld
LDCC	=	/bin/cc
LDFLAGS	=	-g
LIBES	=	-lisode

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 \
			PasswordLookup-Rtypes.o ryresponder.o
		$(LDCC) $(LDFLAGS) -o $@ lookupd.o \
			PasswordLookup-Rops.o \
			PasswordLookup-Rtypes.o \
			ryresponder.o $(LIBES)

l-lookupd:	PasswordLookup-ops.c PasswordLookup-Rtypes.c \
				true
		$(LINT) $(LFLAGS) -DPERFORMER lookupd.c \
			PasswordLookup-ops.c \
			PasswordLookup-Rtypes.c \
			ryresponder.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 $@

PasswordLookup-Rtypes.c:	PasswordLookup-types.py
		pepy -a PY_advise $(PYFLAGS) -o $@ PasswordLookup-types.py

PasswordLookup-types.py:	PasswordLookup-asn.py
		posy -f -h $(POFLAGS) -o $@ PasswordLookup-asn.py
PasswordLookup-types.h:	PasswordLookup-types.py

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

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 \
			PasswordLookup-Itypes.o \
			ryinitiator.o
		$(LDCC) $(LDFLAGS) -o $@ lookup.o \
			PasswordLookup-Iops.o \
			PasswordLookup-Itypes.o \
			ryinitiator.o $(LIBES)

l-lookup:	PasswordLookup-ops.c PasswordLookup-Itypes.c true
		$(LINT) $(LFLAGS) -DINVOKER lookup.c \
			PasswordLookup-ops.c \
			PasswordLookup-Itypes.c \
			PasswordLookup-stubs.c \
			ryinitiator.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 $@

PasswordLookup-Itypes.c:	PasswordLookup-types.py
		pepy $(PYFLAGS) -o $@ PasswordLookup-types.py

ryinitiator.o:	ryinitiator.h


# manual pages

MANUALS	=	lookupd.8c lookup.1c

manuals:;	install -c -m 0444 lookupd.8c \
			/usr/man/man8/lookupd.8c
		install -c -m 0444 lookup.1c /usr/man/mann/lookup.n


# clean

clean:;		rm -f *.o PasswordLookup* lookupd lookup z* _* core

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

true:;