|
|
1.1 root 1: # Copyright, 1985 Massachusetts Institute of Technology
2: #
3: # xwd - makefile for the Athena X window system window
4: # window raster image dumper.
5: #
6: # Written by: Tony Della Fera, DEC
7: # 10-May-85
8:
9:
10: DESTDIR =
11: INCLUDES = -I../include
12:
13: CONFDIR = /usr/new
14: XLIB = ../Xlib/libX.a
15: XH = ../Xlib/Xlib.h
16: CFLAGS = -O $(INCLUDES)
17: CLIBS =
18:
19: .SUFFIXES: .o .h .c .a
20:
21: OBJS = xwd.o
22:
23: all: xwd
24:
25: xwd: $(OBJS) $(XLIB)
26: $(CC) $(CFLAGS) -o xwd $(OBJS) $(XLIB) $(CLIBS)
27:
28: xwd.o: XWDFile.h \
29: ../cursors/target.cursor ../cursors/target_mask.cursor \
30: $(XH)
31:
32: link:
33: $(CC) $(CFLAGS) -o xwd $(OBJS) $(XLIB) $(CLIBS)
34:
35: install: all
36: install -s xwd $(DESTDIR)$(CONFDIR)
37: chmod 755 $(DESTDIR)$(CONFDIR)/xwd
38:
39: clean:
40: rm -f *~* *.bak core xwd.o xwd \#*
41: rm -f xwd.c.[0-9]* Makefile.[0-9]* xwd.1.[0-9]*
42:
43: igrind:
44: igrind xwd.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.