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

⟦f3d98d0bd⟧ TextFile

    Length: 5550 (0x15ae)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦e83f91978⟧ »EurOpenD22/isode/osimis-2.0.tar.Z« 
        └─⟦d846658bd⟧ 
            └─⟦this⟧ »osimis/misode/imisc/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of ROS-based miscellaneous services
###############################################################################

###############################################################################
#
# $Header: /f/osi/imisc/RCS/Makefile,v 5.1 88/08/27 23:41:47 mrose Exp $
#
#
# $Log: Makefile,v $
# Revision 5.1  88/08/27  23:41:47  mrose
# logging
#
# Revision 5.0  88/07/21  14:41:53  mrose
# Release 4.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.
#
###############################################################################

.SUFFIXES:      .ry .py .c .o

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

.py.c:;         $(TOPDIR)pepy/xpepy -m $(PYFLAGS) $<


LIBES   =       libimisc.a $(TOPDIR)libmisode.a
LLIBS   =       $(TOPDIR)llib-lisode$(LPP)
CFILES  =       imiscd.c imisc.c IMISC-ops.c ryinitiator.c ryresponder.c
RYFILES =	imisc.ry
HFILES  =       $(HDIR)rosy.h $(HDIR)rosap.h $(HDIR)acsap.h $(HDIR)psap2.h \
		$(HDIR)psap.h $(HDIR)ssap.h $(HDIR)isoaddrs.h \
		$(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h

ROS     =       ros.


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

all:            imiscd imisc
inst-all:       inst-imiscd inst-imisc manuals
install:        inst-all clean
lint:           l-imiscd l-imisc

all-lpp:;       $(MAKE) LPP=-lpp all
inst-lpp:;      $(MAKE) LPP=-lpp ROS=lpp. inst-all
install-lpp:;   $(MAKE) LPP=-lpp ROS=lpp. install
lint-lpp:;      $(MAKE) LPP=-lpp lint


##################################################################
# imiscd
##################################################################

inst-imiscd:    $(ETCDIR)$(ROS)imisc

$(ETCDIR)$(ROS)imisc:   ximiscd$(LPP)
		-cp $@ z$(ROS)imisc
		-rm -f $@
		cp ximiscd$(LPP) $@
		-@ls -gls $@
		-@echo ""

imiscd:         ximiscd$(LPP)

ximiscd$(LPP):  $(LIBES) imiscd.o IMISC-Rops.o ryresponder.o
		$(LDCC) $(LDFLAGS) -o $@ imiscd.o IMISC-Rops.o ryresponder.o \
			$(LIBES) $(LSOCKET)
		ln -s ximiscd imiscd

l-imiscd:       IMISC-ops.c IMISC-C true
		$(LINT) $(LFLAGS) -DPERFORMER -DPEPYPATH imiscd.c IMISC-ops.c \
			ryresponder.c $(IMISC-C) $(LLIBS)

imiscd.o:       ryresponder.h $(HFILES) $(HDIR)logger.h

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

ryresponder.o:  ryresponder.h $(HFILES) $(HDIR)tailor.h


##################################################################
# imisc
##################################################################

inst-imisc:     $(BINDIR)imisc$(LPP)

$(BINDIR)imisc$(LPP):   ximisc$(LPP)
		-cp $@ zximisc$(LPP)
		-rm -f $@
		cp ximisc$(LPP) $@
		-@ls -gls $@
		-@echo ""

imisc:          ximisc$(LPP)

ximisc$(LPP):   $(LIBES) imisc.o IMISC-Iops.o ryinitiator.o
		$(LDCC) $(LDFLAGS) -o $@ imisc.o IMISC-Iops.o ryinitiator.o \
			$(LIBES) $(LSOCKET)
		ln -s ximisc imisc

l-imisc:        IMISC-ops.c IMISC-C true
		$(LINT) $(LFLAGS) -DINVOKER imisc.c IMISC-ops.c \
			ryinitiator.c $(IMISC-C) IMISC-stubs.c $(LLIBS)

imisc.o:        ryinitiator.h $(HFILES)

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

ryinitiator.o:  ryinitiator.h $(HFILES)


################################################################
# libimisc
################################################################

libimisc.a:	IMISC-01.o IMISC-02.o IMISC-03.o IMISC-04.o IMISC-05.o \
		IMISC-06.o IMISC-07.o IMISC-08.o IMISC-09.o IMISC-10.o \
		IMISC-11.o IMISC-12.o IMISC-13.o
		-rm -f $@
		@$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(IMISC-O)
		-@ls -l $@
		-@echo "IMISC library built normally"

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

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

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

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

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


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

MANUALS =       imiscd.8c imisc.1c

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


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

clean:;         rm -f *.o *.a IMISC* x* z* _* core

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

true:;