File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / others / quipu / uips / sd / 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 Directory Server
###############################################################################

###############################################################################
#
# $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/others/quipu/uips/sd/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.2  90/07/27  08:45:39  mrose
# update
# 
# Revision 7.1  90/07/09  14:41:45  mrose
# sync
# 
# Revision 7.0  90/06/12  13:14:00  mrose
# *** empty log message ***
# 
# Revision 1.4  90/04/20  17:58:24  emsrdsm
# i) no more freeing
# 
# Revision 1.3  90/04/18  18:28:51  emsrdsm
# fixed i) does not move to leaves
#       ii) added default mechanism described using "typeDefaults" file.
# 	 iii) added 'sorting' to attribute display
# 
# Revision 1.2  90/03/15  16:32:18  emsrdsm
# fixes i) Prints messages correctly on exit.
#      ii) Added rfc822 to greybook mailbox conversion
#     iii) Removed bug that caused crash if 'local_dit' undefined
# 
# Revision 1.1  90/03/09  18:13:38  emsrdsm
# Initial revision
# 
# Revision 1.1  90/03/09  17:41:27  emsrdsm
# Initial revision
# 
# Revision 1.1  90/03/09  13:40:09  emsrdsm
# Initial revision
# 
#
# 
###############################################################################

###############################################################################
#
#                                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.
#
###############################################################################

LIBES   =       $(TOPDIR)libquipu.a $(TOPDIR)libdsap.a $(TOPDIR)libisode.a
LLIBS   =       $(LINTDIR)llib-lquipu $(LINTDIR)llib-ldsap $(LINTDIR)llib-lisode
CFILES  =	y.tab.c symtab.c calls.c main.c widget.c help.c sequence.c
OFILES  =	y.tab.o symtab.o calls.o main.o widget.o help.o sequence.o
YFILES  =       conf_read.y

CURSES  = 	-lcurses -ltermcap 
YFLAGS  =	-d

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

all:            sd
inst-all:       inst-sd manuals help config
install:        inst-all clean
lint:           l-sd


###################################################################
# sd
###################################################################


inst-sd:    $(BINDIR)sd 
		-mkdir $(ETCDIR)sd

$(BINDIR)sd: xsd
	        -cp $@ zxsd
	        -rm -f $@
	        cp xsd $@
	        -@ls -gls $@
	        -@echo ""

sd:         xsd

xsd:  $(OFILES) $(LIBES)
		$(LDCC) $(LDFLAGS) -o $@ $(OFILES) $(LIBES) $(CURSES) $(LSOCKET)

l-sd:   $(CFILES)  true
		$(LINT) $(LFLAGS) $(LLIBS) -lcurses $(CFILES)

help.o:	help.c
		$(CC) $(CFLAGS) -c -DETCDIR=\"$(ETCDIR)\" help.c

y.tab.c: conf_read.y
		yacc $(YFLAGS) conf_read.y

################################################################
# config files
################################################################

config:;	-mkdir $(ETCDIR)sd/duaconfig
		cp -R sd/duaconfig/* $(ETCDIR)sd/duaconfig
		-@echo ""

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

MANUALS =       sd.1c sd.5

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

##############################################################
# help
##############################################################

help:
		-mkdir $(ETCDIR)sd/helpdir
		cp sd/helpdir/* $(ETCDIR)sd/helpdir
		-@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:;

# DO NOT DELETE THIS LINE
# Dependencies follow
calls.o: ./wdgtdefs.h
widget.o: ./wdgtdefs.h

unix.superglobalmegacorp.com

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