|
|
1.1 root 1: DESTDIR=
2: CONFDIR= /usr/new
3: INCLUDES= -I../include
4:
5: # set up for the rare 480 dpi imagen
6: #CFLAGS = -O -DXWIND -DIMAGEN300 $(INCLUDES)
7: CFLAGS = -O -DXWIND -DIMAGEN480 $(INCLUDES)
8: XLIB = ../Xlib/libX.a
9: SRCS = impv.c decode.c dofile.c
10: OBJS = impv.o decode.o dofile.o
11:
12: all: ximpv
13:
14: $(OBS}: $(SRCS)
15:
16: ximpv: impv.o dofile.o decode.o site.h ../Xlib/Xlib.h
17: cc ${CFLAGS} impv.o dofile.o decode.o -lm ${XLIB} -o ximpv
18:
19: install: ximpv
20: install -c -s -m 755 ximpv ${DESTDIR}${CONFDIR}
21:
22: ximpv-test:
23: ximpv test.man.data
24:
25: clean:
26: rm -f ximpv *.o *.bak *~ \#*
27:
28: depend:
29: cc -M ${CFLAGS} ${SRCS} | \
30: awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
31: else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
32: else rec = rec " " $$2 } } \
33: END { print rec } ' > makedep
34: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
35: echo '$$r makedep' >>eddep
36: echo 'w' >>eddep
37: cp Makefile Makefile.bak
38: ed - Makefile < eddep
39: rm eddep makedep
40: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
41: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
42: echo '# see make depend above' >> Makefile
43:
44: # DO NOT DELETE THIS LINE -- make depend uses it
45: # DEPENDENCIES MUST END AT END OF FILE
46:
47: impv.o: impv.c ../include/X/Xlib.h ../include/X/mit-copyright.h
48: impv.o: /usr/include/sys/types.h ../include/X/X.h ../include/X/mit-copyright.h
49: impv.o: ../include/X/Xkeyboard.h ../include/X/mit-copyright.h
50: impv.o: /usr/include/sys/types.h /usr/include/strings.h /usr/include/sys/stat.h
51: impv.o: /usr/include/sys/file.h /usr/include/stdio.h /usr/include/signal.h
52: impv.o: /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/sgtty.h
53: impv.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
54: impv.o: /usr/include/sys/ttydev.h ./site.h ./imPdefs.h ./imPcodes.h ./impv.h
55: decode.o: decode.c ./imPdefs.h ./imPcodes.h
56: dofile.o: dofile.c ./site.h ./imPdefs.h ./imPcodes.h ./impv.h
57: dofile.o: /usr/include/stdio.h
58:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.