|
|
1.1 root 1: # makefile for showimg
2:
3: DESTDIR =
4: CONFDIR = /usr/users/wyatt/bin
5:
6: # versions for OIR Vaxen
7: CFLAGS = -O -DVAX
8: LIBS = -lnm
9: #CFLAGS = -DVAX -g -DGLOPEROO
10:
11: # versions for HEA Sun3 version
12: #CFLAGS = -O -DMC68000 -DXRAY
13: #CFLAGS = -DMC68000 -g -DGLOPEROO -DXRAY
14: #LIBS = -lm
15: #XRAYLIBS = -lrosat -lheao -lxray -lU77 -lF77 -lI77
16:
17: XLIB = -lXMenu -lX
18: INCS = shimg.h shopt.h
19: CURS = quad_arrow.cursor quad_arrow_mask.cursor\
20: pan.cursor pan_mask.cursor print.cursor print_mask.cursor\
21: zoom2.cursor zoom2_mask.cursor \
22: zoom4.cursor zoom4_mask.cursor \
23: pal.cursor pal_mask.cursor show.icon.ic \
24: wzoom.cursor wzoom_mask.cursor
25: SRCS = showimg.c calcmap.c pictio.c menusetup.c shutil.c shzoom.c shgetopt.c
26: OBJS = showimg.o calcmap.o pictio.o menusetup.o shutil.o shzoom.o shgetopt.o
27:
28: PROGRAM = showimg
29:
30:
31: all: showimg
32:
33: showimg: $(OBJS) /usr/include/X/Xlib.h
34: cc $(CFLAGS) $(OBJS) -o $(PROGRAM) $(XLIB) $(LIBS) $(XRAYLIBS)
35:
36: install:
37: cp $(PROGRAM) $(CONFDIR)
38: clean:
39: rm -f core a.out \#* *.o *~
40:
41: showimg.o: showimg.c shimg.h shopt.h show.icon.ic
42: shgetopt.o: shgetopt.c shimg.h shopt.h
43: menusetup.o: menusetup.c shimg.h
44: calcmap.o: calcmap.c shimg.h
45: pictio.o: pictio.c
46: shutil.o: shutil.c $(CURS)
47: shzoom.o: shzoom.c wzoom.cursor wzoom_mask.cursor
48:
49: print:
50: print Makefile $(SRCS) $(INCS) $(CURS)
51:
52: itwork:
53: cp Makefile showimg.1 $(SRCS) $(INCS) $(CURS) $(PROGRAM) Working.version
54:
55: bbackup:
56: rcp -r Makefile showimg.1 Working.version $(SRCS) $(INCS) $(CURS)\
57: cfa:progs/saodemo
58:
59: paper:
60: vgrind -lcsh Makefile &
61: vgrind $(INCS) $(CURS) $(SRCS) &
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.