File:  [CSRG BSD Unix] / 43BSD / contrib / X / xwd / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

# Copyright, 1985 Massachusetts Institute of Technology
#
#	xwd - makefile for the Athena X window system window
#		   window raster image dumper.
#
#		Written by:	Tony Della Fera, DEC
#				10-May-85


DESTDIR =
INCLUDES = -I../include

CONFDIR = /usr/new
XLIB = ../Xlib/libX.a
XH = ../Xlib/Xlib.h
CFLAGS = -O $(INCLUDES)
CLIBS =

.SUFFIXES: .o .h .c .a

OBJS = xwd.o

all: xwd

xwd: $(OBJS) $(XLIB)
	$(CC) $(CFLAGS) -o xwd $(OBJS) $(XLIB) $(CLIBS)

xwd.o: XWDFile.h \
	../cursors/target.cursor ../cursors/target_mask.cursor \
	$(XH)

link:
	$(CC) $(CFLAGS) -o xwd $(OBJS) $(XLIB) $(CLIBS)

install: all
	install -s xwd $(DESTDIR)$(CONFDIR)
	chmod 755 $(DESTDIR)$(CONFDIR)/xwd

clean: 
	rm -f *~* *.bak core xwd.o xwd \#*
	rm -f xwd.c.[0-9]* Makefile.[0-9]* xwd.1.[0-9]*

igrind:
	igrind xwd.c

unix.superglobalmegacorp.com

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