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

⟦c89a02e53⟧ TextFile

    Length: 4230 (0x1086)
    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/dsap/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of ISODE DSAP processes
###############################################################################

###############################################################################
#
# $Header: /f/osi/dsap/RCS/Makefile,v 7.0 89/11/23 21:31:23 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 7.0  89/11/23  21:31:23  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.
#
###############################################################################

DIRS	=	x500as common net
LIBES   =       libcommon.a libnet.a libx500as.a
LLIBS   =       llib-lcommon llib-lx500as llib-lnet 

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

all:		sub-all libdsap
inst-all:       inst-libdsap inst-dsaptailor inst-oidtable

parallel:	sub-para libdsap

sub-para:;	@for i in $(DIRS); do (cd $$i; $(MAKE) PARALLEL=par- all) & done; wait

install:        inst-all clean

clean:		sub-clean
	        rm -f lib*.a llib-l* _* *.tmp *.orig *.o z* dsapvrsn.c

sub-all:
		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) all"; \
			      cd $$i; $(MAKE) all); \
		    done

sub-inst-all:
		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) inst-all"; \
			      cd $$i; $(MAKE) inst-all); \
		    done

sub-clean:
		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) clean"; \
			      cd $$i; $(MAKE) clean); \
		    done

lint grind:
		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) $@"; \
			      cd $$i; $(MAKE) $@); \
		    done

###################################################################
# libdsap
###################################################################

inst-libdsap:   $(LIBDIR)libdsap.a $(LINTDIR)llib-ldsap

$(LIBDIR)libdsap.a:     libdsap.a
		-rm -f $@
		cp libdsap.a $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
		-@ls -gls $@
		-@echo ""

$(LINTDIR)llib-ldsap:   llib-ldsap
		-cp $@ zllib-ldsap
		-rm -f $@
		sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \
			< llib-ldsap | \
			sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@
		@$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@
		-@ls -gls $@ $@.ln
		-@echo ""

libdsap:        libdsap.a llib-ldsap

libdsap.a:      dsapvrsn.o
		-rm -f $@ $(TOPDIR)libdsap.a
		-rm -rf tmp
		-mkdir tmp
		$(LN) dsapvrsn.o tmp
		for i in $(LIBES); do (cd tmp; ar x ../$$i; \
		    ../$(UTILDIR)make-lib.sh -quick $(SYSTEM) $(ARFLAGS) ../$@ *.o; \
		    rm -f *); done
		$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
		-rm -rf tmp
		-@rm -f $(TOPDIR)libdsap.a
		-@$(LN) $@ $(TOPDIR)libdsap.a
		-@ls -l $@
		-@echo "DSAP library built normally"

llib-ldsap:     $(LLIBS)
		-@echo '/* llib-ldsap - lint library for -ldsap */' > $@
		-@echo '' >> $@
		cat $(LLIBS) >> $@
		-@rm -f $(TOPDIR)llib-ldsap
		-@$(LN) llib-ldsap $(TOPDIR)llib-ldsap

dsapvrsn.c:     $(LIBES)
		@$(UTILDIR)version.sh dsap > $@


###################################################################
# dsaptailor/oidtable
###################################################################

inst-dsaptailor:    $(ETCDIR)dsaptailor

$(ETCDIR)dsaptailor:    dsaptailor
		-cp $@ zdsaptailor
		cp dsaptailor $@
		-@ls -gls $@
		-@echo ""

inst-oidtable:  $(ETCDIR)oidtable.at $(ETCDIR)oidtable.gen $(ETCDIR)oidtable.oc

$(ETCDIR)oidtable.at: oidtable.at oidtable.at.local 
		-cp $@ zoidtable.at
		cat oidtable.at oidtable.at.local > $@
		-@ls -gls $@
		-@echo ""

$(ETCDIR)oidtable.gen: oidtable.gen oidtable.gen.local
		-cp $@ zoidtable.gen
		cat oidtable.gen oidtable.gen.local > $@
		-@ls -gls $@
		-@echo ""

$(ETCDIR)oidtable.oc: oidtable.oc oidtable.oc.local
		-cp $@ zoidtable.oc
		cat oidtable.oc oidtable.oc.local > $@
		-@ls -gls $@
		-@echo ""