|
|
1.1 root 1: ##############################################################################
2: # Instructions to Make, for compilation of ISODE QUIPU Directory Server
3: ###############################################################################
4:
5: ###############################################################################
6: #
7: # $Header: /f/osi/others/quipu/uips/sd/RCS/Makefile,v 7.2 90/07/27 08:45:39 mrose Exp $
8: #
9: #
10: # $Log: Makefile,v $
11: # Revision 7.2 90/07/27 08:45:39 mrose
12: # update
13: #
14: # Revision 7.1 90/07/09 14:41:45 mrose
15: # sync
16: #
17: # Revision 7.0 90/06/12 13:14:00 mrose
18: # *** empty log message ***
19: #
20: # Revision 1.4 90/04/20 17:58:24 emsrdsm
21: # i) no more freeing
22: #
23: # Revision 1.3 90/04/18 18:28:51 emsrdsm
24: # fixed i) does not move to leaves
25: # ii) added default mechanism described using "typeDefaults" file.
26: # iii) added 'sorting' to attribute display
27: #
28: # Revision 1.2 90/03/15 16:32:18 emsrdsm
29: # fixes i) Prints messages correctly on exit.
30: # ii) Added rfc822 to greybook mailbox conversion
31: # iii) Removed bug that caused crash if 'local_dit' undefined
32: #
33: # Revision 1.1 90/03/09 18:13:38 emsrdsm
34: # Initial revision
35: #
36: # Revision 1.1 90/03/09 17:41:27 emsrdsm
37: # Initial revision
38: #
39: # Revision 1.1 90/03/09 13:40:09 emsrdsm
40: # Initial revision
41: #
42: #
43: #
44: ###############################################################################
45:
46: ###############################################################################
47: #
48: # NOTICE
49: #
50: # Acquisition, use, and distribution of this module and related
51: # materials are subject to the restrictions of a license agreement.
52: # Consult the Preface in the User's Manual for the full terms of
53: # this agreement.
54: #
55: ###############################################################################
56:
57: LIBES = $(TOPDIR)libquipu.a $(TOPDIR)libdsap.a $(TOPDIR)libisode.a
58: LLIBS = $(LINTDIR)llib-lquipu $(LINTDIR)llib-ldsap $(LINTDIR)llib-lisode
59: CFILES = y.tab.c symtab.c calls.c main.c widget.c help.c sequence.c
60: OFILES = y.tab.o symtab.o calls.o main.o widget.o help.o sequence.o
61: YFILES = conf_read.y
62:
63: CURSES = -lcurses -ltermcap
64: YFLAGS = -d
65:
66: ##############################################################
67: # Here it is...
68: ##############################################################
69:
70: all: sd
71: inst-all: inst-sd manuals help config
72: install: inst-all clean
73: lint: l-sd
74:
75:
76: ###################################################################
77: # sd
78: ###################################################################
79:
80:
81: inst-sd: $(BINDIR)sd
82: -mkdir $(ETCDIR)sd
83:
84: $(BINDIR)sd: xsd
85: -cp $@ zxsd
86: -rm -f $@
87: cp xsd $@
88: -@ls -gls $@
89: -@echo ""
90:
91: sd: xsd
92:
93: xsd: $(OFILES) $(LIBES)
94: $(LDCC) $(LDFLAGS) -o $@ $(OFILES) $(LIBES) $(CURSES) $(LSOCKET)
95:
96: l-sd: $(CFILES) true
97: $(LINT) $(LFLAGS) $(LLIBS) -lcurses $(CFILES)
98:
99: help.o: help.c
100: $(CC) $(CFLAGS) -c -DETCDIR=\"$(ETCDIR)\" help.c
101:
102: y.tab.c: conf_read.y
103: yacc $(YFLAGS) conf_read.y
104:
105: ################################################################
106: # config files
107: ################################################################
108:
109: config:; -mkdir $(ETCDIR)sd/duaconfig
110: cp -R sd/duaconfig/* $(ETCDIR)sd/duaconfig
111: -@echo ""
112:
113: ################################################################
114: # manual pages
115: ################################################################
116:
117: MANUALS = sd.1c sd.5
118:
119: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
120: -@echo ""
121:
122: ##############################################################
123: # help
124: ##############################################################
125:
126: help:
127: -mkdir $(ETCDIR)sd/helpdir
128: cp sd/helpdir/* $(ETCDIR)sd/helpdir
129: -@echo ""
130:
131:
132: ##############################################################
133: # clean
134: ##############################################################
135:
136: clean:; rm -f *.ph *.o *.a a.out _* x* z* *.orig core
137:
138: grind:; iprint Makefile
139: tgrind -lc $(CFILES)
140: @echo $(MANUALS) | \
141: tr " " "\012" | \
142: sed -e "s%.*%itroff -man &%" | \
143: sh -ve
144:
145: true:;
146:
147: # DO NOT DELETE THIS LINE
148: # Dependencies follow
149: calls.o: ./wdgtdefs.h
150: widget.o: ./wdgtdefs.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.