|
|
1.1 root 1: ###############################################################################
2: # Instructions to Make, for compilation of ISODE image programs
3: ###############################################################################
4:
5: ###############################################################################
6: #
7: # $Header: /f/osi/others/image/RCS/Makefile,v 7.0 89/11/23 21:59:56 mrose Rel $
8: #
9: #
10: # $Log: Makefile,v $
11: # Revision 7.0 89/11/23 21:59:56 mrose
12: # Release 6.0
13: #
14: ###############################################################################
15:
16: ###############################################################################
17: #
18: # NOTICE
19: #
20: # Acquisition, use, and distribution of this module and related
21: # materials are subject to the restrictions of a license agreement.
22: # Consult the Preface in the User's Manual for the full terms of
23: # this agreement.
24: #
25: ###############################################################################
26:
27:
28: .c.o:; $(CC) $(CFLAGS) -c $*.c
29:
30:
31: ###############################################################################
32: # Programs and Libraries
33: ###############################################################################
34:
35: LIBES = $(TOPDIR)others/quipu/photo/libphoto.a $(TOPDIR)libdsap.a \
36: $(TOPDIR)libisode.a -lX11
37: LLIBS = $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode # -lX11
38:
39:
40: ###############################################################################
41: # Files
42: ###############################################################################
43:
44: HFILES = imagesbr.h
45: CFILES = xface.c xwho.c imagesbr.c
46:
47:
48: ##################################################################
49: # Here it is...
50: ##################################################################
51:
52: all: xface xwho
53: inst-all: inst-xface inst-xwho manuals
54: install: inst-all clean
55: lint: l-xface l-xwho
56:
57:
58: ##################################################################
59: # xface
60: ##################################################################
61:
62: inst-xface: $(BINDIR)xface
63:
64: $(BINDIR)xface: xface
65: -cp $@ zxface
66: -rm -f $@
67: cp xface $@
68: -@ls -gls $@
69: -@echo ""
70:
71: xface: xface.o imagesbr.o
72: $(LDCC) $(LDFLAGS) -o $@ xface.o imagesbr.o $(LIBES) $(LSOCKET)
73:
74: l-xface:; $(LINT) $(LFLAGS) xface.c imagesbr.c $(LLIBS)
75:
76: xface.o: imagesbr.h
77: imagesbr.o: imagesbr.h
78:
79:
80: ##################################################################
81: # xwho
82: ##################################################################
83:
84: inst-xwho: $(BINDIR)xwho
85:
86: $(BINDIR)xwho: xwho
87: -cp $@ zxwho
88: -rm -f $@
89: cp xwho $@
90: -@ls -gls $@
91: -@echo ""
92:
93: xwho: xwho.o imagesbr.o
94: $(LDCC) $(LDFLAGS) -o $@ xwho.o imagesbr.o $(LIBES) $(LSOCKET)
95:
96: l-xwho:; $(LINT) $(LFLAGS) xwho.c imagesbr.c $(LLIBS)
97:
98: xwho.o: imagesbr.h
99:
100:
101: ################################################################
102: # manual pages
103: ################################################################
104:
105: MANUALS = xface.1c xwho.1c
106:
107: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
108: -@echo ""
109:
110:
111: ################################################################
112: # clean
113: ################################################################
114:
115: clean:; rm -f *.o *.a xface xwho z* _* core
116:
117: grind:; iprint READ-ME Makefile
118: tgrind -lc $(HFILES) $(CFILES)
119: @echo $(MANUALS) | \
120: tr " " "\012" | \
121: sed -e "s%.*%itroff -man &%" | \
122: sh -ve
123:
124: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.