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