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

⟦84903ccfe⟧ TextFile

    Length: 5956 (0x1744)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/dsap/dua/Makefile« 

TextFile

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

###############################################################################
#
# $Header: /f/osi/dsap/dua/RCS/Makefile,v 6.0 89/03/18 23:27:57 mrose Rel $
#
#
# $Log:	Makefile,v $
# Revision 6.0  89/03/18  23:27:57  mrose
# Release 5.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.
#
###############################################################################


UPDIR   =       ../

LIBES   =       $(UPDIR)libdua.a $(UPDIR)libcommon.a $(UPDIR)libnet.a \
		$(UPDIR)libx500as.a

LLIBS   =       $(UPDIR)llib-lcommon $(UPDIR)llib-lx500as $(UPDIR)llib-lnet \
		$(UPDIR)llib-ldua


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

all:            libdua libdsap
inst-all:       inst-libdsap xdsaptailor xoidtable
install:        inst-all clean
lint:           l-libdua


###################################################################
#
###################################################################

CFILES  =       conf.c sys_init.c sys_tai.c tai_args.c tai_init.c

OFILES  =       conf.o sys_init.o sys_tai.o tai_args.o tai_init.o


###################################################################
# libdua
###################################################################

inst-libdua:    $(LIBDIR)libdua.a $(LINTDIR)llib-ldua

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

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

libdua:         libdua.a

libdua.a:       duavrsn.o
		-rm -f $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \
			duavrsn.o
		-@rm -f $(UPDIR)libdua.a $(UPDIR)llib-ldua
		-@$(LN) libdua.a $(UPDIR)libdua.a
		-@$(LN) llib-ldua $(UPDIR)llib-ldua
		-ls -l $@
		-@echo "QUIPU-DUA library built normally"

duavrsn.c:      $(OFILES)
		@$(UTILDIR)version.sh dua > $@

l-libdua:       $(CFILES) true
		$(LINT) $(LFLAGS) $(CFILES) $(TOPDIR)/llib-lisode


###################################################################
# 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 *.o); 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 > $@


###################################################################
# filter
###################################################################

filter:         filter.o
		cc -o $@ filter.o


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

xdsaptailor:    $(ETCDIR)dsaptailor

$(ETCDIR)dsaptailor:    dsaptailor
		-cp $@ zdsaptailor
		sed -e 's%@(ETCDIR)%$(ETCDIR)%' < dsaptailor > $@
		-@ls -gls $@
		-@echo ""

xoidtable:      $(ETCDIR)oidtable.at \
		$(ETCDIR)oidtable.gen \
		$(ETCDIR)oidtable.oc

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

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

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


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

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

grind:;         iprint Makefile dsaptailor oidtable.at oidtable.gen oidtable.oc
		tgrind -lc $(CFILES) llib-ldua

true:;


conf.o:         conf.c $(TOPDIR)config/CONFIG.make
		$(CC) $(CFLAGS) -DETCPATH=\"$(ETCDIR)\" -c $*.c


# DO NOT DELETE THIS LINE
# Dependencies follow

conf.o: $(HDIR)/quipu/util.h
conf.o: $(HDIR)/tailor.h
sys_init.o: $(HDIR)/quipu/oid.h
sys_init.o: $(HDIR)/tailor.h
sys_tai.o: $(HDIR)/quipu/util.h
tai_args.o: $(HDIR)/quipu/util.h
tai_args.o: $(HDIR)/quipu/attr.h
tai_init.o: $(HDIR)/quipu/util.h
tai_init.o: $(HDIR)/tailor.h