home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-12-28 | 2.0 KB | 85 lines |
- /**/#
- /**/# Imakefile for xmon : Graphically monitor a list
- /**/#
- /**/# George Ferguson, ferguson@cs.rochester.edu, 15 Jul 1990.
- /**/#
- /**/# $Id: Imakefile,v 1.3 90/08/07 19:20:25 ferguson Exp $
- /**/#
-
- /**/#
- /**/# Here's what to change to customize the installation...
- /**/#
- /**/# where do you want this stuff?
- /**/#
- BINDIR = /scratch/ferguson/xmon/Bin
- LIBDIR = /scratch/ferguson/xmon/Lib
- MANDIR = /scratch/ferguson/xmon/Man
-
- /**/#
- /**/# where do the faces live?
- /**/#
- FACEDIR = $(LIBDIR)/images
-
- /**/#
- /**/# where do the support programs go?
- /**/#
- XMONDIR = $(LIBDIR)/xmon
-
- /**/#
- /**/# which support programs do you want?
- /**/#
- UTIL = name2icon xls-cmd
-
- /**/#
- /**/# where is the app-defaults to C converter?
- /**/#
- AD2C = util/ad2c
-
- /**/#
- /**/# Nothing to change below here (except maybe CDEBUGFLAGS).
- /**/#
- DEPLIBS = XawClientDepLibs
- LOCAL_LIBRARIES = XawClientLibs
- /**/#CDEBUGFLAGS = -g
-
- SRCS = xmon.c translate.c update.c
- OBJS = xmon.o translate.o update.o
- INCS = app-resources.h
-
- ComplexProgramTarget(xmon)
- InstallAppDefaults(Xmon)
-
- /**/#
- /**/# Replace the four ln commands below with these five lines (uncommented)
- /**/# to install shell scripts for the derived tools rather than using
- /**/# symbolic links.
- /**/#
- /**/# echo "$(BINDIR)/xmon -name xru" > $(BINDIR)/xru
- /**/# echo "$(BINDIR)/xmon -name xrf" > $(BINDIR)/xrf
- /**/# echo "$(BINDIR)/xmon -name xls" > $(BINDIR)/xls
- /**/# echo "$(BINDIR)/xmon -name xfrom" > $(BINDIR)/xfrom
- /**/# chmod a+x $(BINDIR)/xru $(BINDIR)/xrf $(BINDIR)/xls $(BINDIR)/xfrom
-
- install::
- ln -s $(BINDIR)/xmon $(BINDIR)/xru
- ln -s $(BINDIR)/xmon $(BINDIR)/xrf
- ln -s $(BINDIR)/xmon $(BINDIR)/xls
- ln -s $(BINDIR)/xmon $(BINDIR)/xfrom
- test -d $(FACEDIR) || mkdir $(FACEDIR)
- chmod 1757 $(FACEDIR)
- cd images; for icon in `ls *.xbm` ; \
- do \
- cp $$icon $(FACEDIR)/`(echo $$icon | sed s/.xbm//)` ; \
- done
- test -d $(XMONDIR) || mkdir $(XMONDIR)
- cd util ; cp $(UTIL) $(XMONDIR)
-
- /**/#
- /**/# generate C code for fallback resources
- /**/#
- Xmon.ad.h: Xmon.ad
- $(AD2C) Xmon.ad >Xmon.ad.h
-
- clean::
- $(RM) Xmon.ad.h
-