File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / others / quipu / tools / dsaconfig / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

###############################################################################
#   Instructions to Make, for compilation of ISODE QUIPU DSA configurator
###############################################################################

###############################################################################
#
# $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/others/quipu/tools/dsaconfig/Makefile,v 1.1.1.1 2018/04/24 16:12:56 root Exp $
#
#
# $Log: Makefile,v $
# Revision 1.1.1.1  2018/04/24 16:12:56  root
# BSD 4.3reno
#
# Revision 7.1  90/07/09  14:40:38  mrose
# sync
# 
# Revision 7.0  89/11/23  22:02:36  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)libisode.a  $(TOPDIR)libquipu.a
LLIBS   =	$(TOPDIR)llib-lisode $(TOPDIR)llib-lquipu


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

CFILES  =       dsaconfig.c


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

all:            dsaconfig
inst-all:       inst-pilot inst-dsaconfig manuals
install:        inst-all clean
lint:           l-dsaconfig


###################################################################
# pilot
###################################################################

inst-pilot:	$(ETCDIR)dsaptailor true
		cp -r quipu $(ETCDIR)

$(ETCDIR)dsaptailor: true
		if ln $(ETCDIR)dsaptailor $(ETCDIR)dsaptailor.old; \
		    then rm -f $@; cp dsaptailor $@; ls -gls $@; \
		    else exit 0; \
		fi


###################################################################
# dsaconfig
###################################################################

inst-dsaconfig:	$(SBINDIR)dsaconfig

$(SBINDIR)dsaconfig:	xdsaconfig
		-cp $@ zxdsaconfig
		-rm -f $@
		cp xdsaconfig $@
		-@ls -gls $@
		-@echo ""

dsaconfig:	xdsaconfig

xdsaconfig:	dsaconfig.o 
		$(LDCC) $(LDFLAGS) -o $@ dsaconfig.o $(LIBES) $(LSOCKET)

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


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

MANUALS	=	dsaconfig.8

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


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

clean:;         rm -f *.ph *.o *.a a.out _* x* z* *.orig core

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

true:;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.