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

# $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/others/quipu/uips/xd/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:51  mrose
# update
# 
# Revision 7.1  90/07/09  14:42:07  mrose
# sync
# 
# Revision 7.0  90/06/12  13:10:31  mrose
# *** empty log message ***
# 
# Revision 1.6  90/04/26  10:22:28  emsrssn
# Installation fixed
# 
# 
# Revision 1.5  90/04/26  10:21:41  emsrssn
# *** empty log message ***
# 
# Revision 1.4  90/04/25  17:27:56  emsrssn
# Lint tidy up
# 
# 
# Revision 1.3  90/04/19  13:47:38  emsrssn
# keyboard accelerator now activates button highlight.
# 
# search types available is dependent on current position
# to prevent unreasonable searches.
# 
# the help popup changes automatically depending on the 
# position of the cursor
# 
# buttons remain a fixed size when the application is
# resized
# 
# command line options are now handled properly
# 
# logging added
# 
# "reads" are now sorted to show mail address at top etc.
# 
# 
# Revision 1.2  90/03/09  15:57:21  emsrssn
# First public distribution
# 
# 
# Revision 1.1  90/03/08  13:18:50  emsrssn
# Initial revision
# 
# 
#
##############################################################
#
# Xd Makefile -    Xd uses the Athena widget set 
#
#                  Stefan Nahajski, Brunel University 28/2/90
##############################################################

XLIB = -lX11
XTLIB = -lXt

# athena widget library compiled with debugging option
#XAWLIB = /usr/local/lib/libXaw.a
XAWLIB = -lXaw

XMULIB = -lXmu
XEXTLIB = -lXext

XLIBDIR = /usr/lib/X11

INCLUDE = -I$(TOPDIR)h

LIBES   = $(TOPDIR)libquipu.a $(TOPDIR)libdsap.a $(TOPDIR)libisode.a
LIBS = $(XAWLIB) $(XMULIB) $(XTLIB) $(XLIB) $(XEXTLIB) 

LLIBES = $(TOPDIR)llib-lquipu $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode

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

CFILES = filt.c Xd.c sequence.c main.c calls.c symtab.c y.tab.c
OFILES = filt.o Xd.o sequence.o main.o calls.o symtab.o y.tab.o
YFILES = conf_read.y

##############################################################
 
all: 		xxd
#inst-all:	inst-xd config helpfiles app-defaults manuals
inst-all:	inst-xd confandhelp app-defaults manuals
install:	inst-all clean
lint:		l-xd

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

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

$(BINDIR)xd: xxd
		-cp $@ zxxd
		-rm -f $@
		cp xxd $@
		-@ls -gls $@
		-@echo ""

################################################################
# app-defaults files for X
################################################################

app-defaults:;	cp Xd.ad $(XLIBDIR)/app-defaults/Xd

################################################################
# config and help  files
################################################################

confandhelp:;	-mkdir $(ETCDIR)xd/
		cp -R Xd/* $(ETCDIR)xd/.
		-@echo ""

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

MANUALS =       xd.1c

# Just in case someone does 'rm x*'....
xd.1c:	Xd.1c
	cp Xd.1c xd.1c
	chmod 444 xd.1c

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

################################################################
# lint
################################################################

l-xd:;		$(LINT) $(LFLAGS) $(CFILES) $(LLIBS)

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

clean:;		rm -f y.tab.* *.o a.out _* xx* z* core

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


##############################################################
# xd
##############################################################

xd:         xxd

xxd:  $(OFILES) $(LIBES)
	$(CC) $(INCLUDE) -o $@ $(CFLAGS) $(OFILES) $(LIBS) $(LIBES)


y.tab.c: conf_read.y
	yacc -d $(YFILES)

##############################################################
# RCS
##############################################################

ci:	FRC
	vi RCS_message_text
	ci -l -f RCS/* <RCS_message_text
#	cd Xd/duaconfig/filterTypes; ci -l -f RCS/* <../../../RCS_message_text
#	cd Xd/duaconfig; ci -l -f RCS/* <../../RCS_message_text
	cd Xd/helpdir; ci -l -f RCS/* <../../RCS_message_text
	cp /dev/null RCS_message_text

co:	FRC
	co -l RCS/*
	cd Xd/duaconfig/filterTypes; co -l RCS/*
	cd Xd/duaconfig; co -l RCS/*
	cd Xd/helpdir; co -l RCS/*

dist:	FRC
	cd ..; gnutar -c -f xd.tar.Z -o -X xd/ignore-these -z xd

FRC:

# DO NOT DELETE THIS LINE
# Dependencies follow
filt.o: ./y.tab.c

unix.superglobalmegacorp.com

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