|
|
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: CURSDIR = ../cursors ! 14: CONFDIR = /usr/new ! 15: XLIB = ../Xlib/libX.a ! 16: XH = ../Xlib/Xlib.h ! 17: CFLAGS = -O $(INCLUDES) ! 18: CLIBS = ! 19: ! 20: .SUFFIXES: .o .h .c .a ! 21: ! 22: OBJS = xwd.o ! 23: ! 24: all: xwd ! 25: ! 26: xwd: $(OBJS) $(XLIB) ! 27: $(CC) $(CFLAGS) -o xwd $(OBJS) $(XLIB) $(CLIBS) ! 28: ! 29: xwd.o: XWDFile.h \ ! 30: $(CURSDIR)/target.cursor $(CURSDIR)/target_mask.cursor \ ! 31: $(XH) ! 32: ! 33: link: ! 34: $(CC) $(CFLAGS) -o xwd $(OBJS) $(XLIB) $(CLIBS) ! 35: ! 36: install: all ! 37: install -s xwd $(DESTDIR)$(CONFDIR) ! 38: chmod 755 $(DESTDIR)$(CONFDIR)/xwd ! 39: ! 40: clean: ! 41: rm -f *~* *.bak core xwd.o xwd \#* ! 42: rm -f xwd.c.[0-9]* Makefile.[0-9]* xwd.1.[0-9]* ! 43: ! 44: vgrind: ! 45: vgrind xwd.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.