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

⟦56304089a⟧ TextFile

    Length: 5577 (0x15c9)
    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/quipu/uips/dish/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of ISODE QUIPU Directory Server
###############################################################################

###############################################################################
#
# $Header: /f/osi/others/quipu/uips/dish/RCS/Makefile,v 7.0 89/11/23 22:08:28 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 7.0  89/11/23  22:08:28  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)libquipu.a $(TOPDIR)libdsap.a $(TOPDIR)libisode.a
LLIBS   =	$(TOPDIR)llib-lquipu $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode


###############################################################################
# FILES
###############################################################################

HFILES	=	
CFILES  =       pipe.c unbind.c socket.c quipurc.c


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

all:            xpipe xunbind xquipurc
inst-all:       inst-pipe inst-unbind inst-dishinit inst-quipurc
install:        inst-all clean
lint:           l-pipe l-unbind l-quipurc


###################################################################
# pipe, et. al.
###################################################################

inst-pipe:	$(BINDIR)list

$(BINDIR)list:	xpipe
		-cp $@ zxpipe
		-rm -f $@
		cp xpipe $@
		-rm -f $(BINDIR)compare
		ln $@ $(BINDIR)compare
		-rm -f $(BINDIR)search
		ln $@ $(BINDIR)search
		-rm -f $(BINDIR)add
		ln $@ $(BINDIR)add
		-rm -f $(BINDIR)delete
		ln $@ $(BINDIR)delete
		-rm -f $(BINDIR)modify
		ln $@ $(BINDIR)modify
		-rm -f $(BINDIR)modifyrdn
		ln $@ $(BINDIR)modifyrdn
		-rm -f $(BINDIR)showentry
		ln $@ $(BINDIR)showentry
		-rm -f $(BINDIR)showname
		ln $@ $(BINDIR)showname
		-rm -f $(BINDIR)bind
		ln $@ $(BINDIR)bind
		-rm -f $(BINDIR)moveto
		ln $@ $(BINDIR)moveto
		-rm -f $(BINDIR)dsacontrol
		ln $@ $(BINDIR)dsacontrol
		-@ls -gls $@
		-@echo ""

xpipe:		pipe.o socket.o
		$(LDCC) $(LDFLAGS) -o $@ pipe.o socket.o $(LIBES) $(LSOCKET)

l-pipe:;	$(LINT) $(LFLAGS) pipe.c socket.c $(LLIBS)


###################################################################
# unbind
###################################################################

inst-unbind:	$(BINDIR)unbind

$(BINDIR)unbind: xunbind
		-cp $@ zxunbind
		-rm -f $@
		cp xunbind $@
		-rm -f $(BINDIR)squid
		ln $@ $(BINDIR)squid
		-@ls -gls $@
		-@echo ""

xunbind:	unbind.o socket.o
		$(LDCC) $(LDFLAGS) unbind.o socket.o -o $@ $(LIBES) $(LSOCKET)

l-unbind:;	$(LINT) $(LFLAGS) unbind.c socket.c $(LLIBS)


###################################################################
# dishinit
###################################################################

inst-dishinit:	$(SBINDIR)dishinit

$(SBINDIR)dishinit: dishinit
		-cp $@ zdishinit
		-rm -f $@
		cp dishinit $@
		chmod 600 $@
		-@ls -gls $@
		-@echo ""


###################################################################
# quipurc
###################################################################

inst-quipurc:	 $(SBINDIR)new_quipurc

$(SBINDIR)new_quipurc: xquipurc
		-cp $@ zxquipurc
		-rm -f $@
		cp xquipurc $@
		chmod ugo+s $@
		-@ls -gls $@
		-@echo ""

xquipurc:	$(LIBES) quipurc.o
		$(LDCC) $(LDFLAGS) -o $@ quipurc.o $(LIBES) $(LSOCKET)

l-quipurc:;	$(LINT) $(LFLAGS) quipurc.c $(LLIBS)


###################################################################
# SID
###################################################################

inst-sid:	$(BINDIR)clist $(BINDIR)dlist $(BINDIR)osearch \
		$(BINDIR)ousearch $(BINDIR)psearch

$(BINDIR)clist:  clist
		 -cp $@ zclist
		 -rm -f $@
		 cp clist $@
		 chmod a+x $@
		 -@ls -gls $@
		 -@echo ""

$(BINDIR)dlist:  dlist
		 -cp $@ zdlist
		 -rm -f $@
		 cp dlist $@
		 chmod a+x $@
		 -@ls -gls $@
		 -@echo ""

$(BINDIR)osearch:  osearch
		 -cp $@ zosearch
		 -rm -f $@
		 cp osearch $@
		 chmod a+x $@
		 -@ls -gls $@
		 -@echo ""

$(BINDIR)ousearch:  ousearch
		 -cp $@ zousearch
		 -rm -f $@
		 cp ousearch $@
		 chmod a+x $@
		 -@ls -gls $@
		 -@echo ""

$(BINDIR)psearch:  psearch
		 -cp $@ zpsearch
		 -rm -f $@
		 cp psearch $@
		 chmod a+x $@
		 -@ls -gls $@
		 -@echo ""

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

clean:;         rm -f *.ph *.o *.a a.out _* x* z* *.orig \
			core $(CLEANSTRINGS)

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

true:;

# DO NOT DELETE THIS LINE
# Dependencies follow