Pristine Ack-5.5
[Ack-5.5.git] / util / ego / sr / proto.make
1 # $Id: proto.make,v 1.4 1994/06/24 10:31:54 ceriel Exp $
2
3 #PARAMS         do not remove this line!
4
5 SRC_DIR = $(SRC_HOME)/util/ego/sr
6 EMH=$(TARGET_HOME)/h
7 EMLIB=$(TARGET_HOME)/lib.bin
8
9 LDFLAGS=$(LDOPTIONS)
10 CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH) -I$(SRC_DIR) -I$(EMLIB)/ego
11 CFLAGS=$(CPPFLAGS) $(COPTIONS)
12 LINTFLAGS=$(CPPFLAGS) $(LINTOPTIONS)
13
14 CFILES=\
15         $(SRC_DIR)/sr.c \
16         $(SRC_DIR)/sr_aux.c \
17         $(SRC_DIR)/sr_cand.c \
18         $(SRC_DIR)/sr_expr.c \
19         $(SRC_DIR)/sr_iv.c \
20         $(SRC_DIR)/sr_reduce.c \
21         $(SRC_DIR)/sr_xform.c
22
23 OFILES=\
24         sr.$(SUF) sr_aux.$(SUF) sr_cand.$(SUF) sr_expr.$(SUF) sr_iv.$(SUF) \
25         sr_reduce.$(SUF) sr_xform.$(SUF)
26
27 HFILES=\
28         $(SRC_DIR)/sr.h \
29         $(SRC_DIR)/sr_aux.h \
30         $(SRC_DIR)/sr_cand.h \
31         $(SRC_DIR)/sr_expr.h \
32         $(SRC_DIR)/sr_iv.h \
33         $(SRC_DIR)/sr_reduce.h \
34         $(SRC_DIR)/sr_xform.h
35
36 PRFILES=\
37         $(CFILES) $(HFILES) $(SRC_DIR)/proto.make
38
39 all:    sr
40
41 sr:     $(OFILES)
42         $(CC) -o sr $(LDFLAGS) $(OFILES) $(EMLIB)/ego/share.$(LIBSUF) $(EMLIB)/em_data.$(LIBSUF)
43
44 install:        all
45         cp sr $(EMLIB)/ego/sr
46
47 cmp:    all
48         -cmp sr $(EMLIB)/ego/sr
49
50 clean:
51         rm -f *.$(SUF) sr Out out nohup.out
52
53 lint:
54         $(LINT) $(LINTFLAGS) $(CFILES) $(EMLIB)/ego/$(LINTPREF)share.$(LINTSUF) $(EMLIB)/$(LINTPREF)em_data.$(LINTSUF)
55
56 pr:
57         @pr $(PRFILES)
58
59 opr:
60         make pr | opr
61
62 depend:
63         rm_deps Makefile >Makefile.new
64         for i in $(CFILES) ; do \
65                 echo "`basename $$i .c`.$$(SUF):        $$i" >> Makefile.new ; \
66                 echo '  $$(CC) -c $$(CFLAGS)' $$i >> Makefile.new ; \
67                 $(UTIL_HOME)/lib.bin/cpp -d $(CPPFLAGS) $$i | sed "s/^/`basename $$i .c`.$$(SUF):       /" >> Makefile.new ; \
68         done
69         mv Makefile Makefile.old
70         mv Makefile.new Makefile
71
72 # do not remove the next line
73 #DEPENDENCIES
74 sr.$(SUF):      $(SRC_DIR)/sr.c
75         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr.c
76 sr.$(SUF):      $(SRC_DIR)/sr_iv.h
77 sr.$(SUF):      $(SRC_DIR)/sr_aux.h
78 sr.$(SUF):      $(SRC_DIR)/../share/aux.h
79 sr.$(SUF):      $(SRC_DIR)/../share/go.h
80 sr.$(SUF):      $(SRC_DIR)/../share/alloc.h
81 sr.$(SUF):      $(SRC_DIR)/../share/map.h
82 sr.$(SUF):      $(SRC_DIR)/../share/lset.h
83 sr.$(SUF):      $(SRC_DIR)/../share/put.h
84 sr.$(SUF):      $(SRC_DIR)/../share/get.h
85 sr.$(SUF):      $(SRC_DIR)/../share/files.h
86 sr.$(SUF):      $(SRC_DIR)/../share/global.h
87 sr.$(SUF):      $(SRC_DIR)/../share/debug.h
88 sr.$(SUF):      $(SRC_DIR)/sr.h
89 sr.$(SUF):      $(SRC_DIR)/../share/types.h
90 sr_aux.$(SUF):  $(SRC_DIR)/sr_aux.c
91         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr_aux.c
92 sr_aux.$(SUF):  $(SRC_DIR)/sr_xform.h
93 sr_aux.$(SUF):  $(SRC_DIR)/sr_aux.h
94 sr_aux.$(SUF):  $(SRC_DIR)/../share/aux.h
95 sr_aux.$(SUF):  $(SRC_DIR)/../share/lset.h
96 sr_aux.$(SUF):  $(SRC_DIR)/../share/global.h
97 sr_aux.$(SUF):  $(SRC_DIR)/../share/debug.h
98 sr_aux.$(SUF):  $(SRC_DIR)/sr.h
99 sr_aux.$(SUF):  $(SRC_DIR)/../share/types.h
100 sr_aux.$(SUF):  $(EMH)/em_pseu.h
101 sr_aux.$(SUF):  $(EMH)/em_mnem.h
102 sr_cand.$(SUF): $(SRC_DIR)/sr_cand.c
103         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr_cand.c
104 sr_cand.$(SUF): $(SRC_DIR)/sr_cand.h
105 sr_cand.$(SUF): $(SRC_DIR)/sr_aux.h
106 sr_cand.$(SUF): $(SRC_DIR)/sr.h
107 sr_cand.$(SUF): $(SRC_DIR)/../share/aux.h
108 sr_cand.$(SUF): $(SRC_DIR)/../share/map.h
109 sr_cand.$(SUF): $(SRC_DIR)/../share/global.h
110 sr_cand.$(SUF): $(SRC_DIR)/../share/debug.h
111 sr_cand.$(SUF): $(SRC_DIR)/../share/cset.h
112 sr_cand.$(SUF): $(SRC_DIR)/../share/lset.h
113 sr_cand.$(SUF): $(SRC_DIR)/../share/types.h
114 sr_cand.$(SUF): $(EMH)/em_pseu.h
115 sr_cand.$(SUF): $(EMH)/em_mnem.h
116 sr_expr.$(SUF): $(SRC_DIR)/sr_expr.c
117         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr_expr.c
118 sr_expr.$(SUF): $(SRC_DIR)/sr_iv.h
119 sr_expr.$(SUF): $(SRC_DIR)/../share/lset.h
120 sr_expr.$(SUF): $(SRC_DIR)/sr_aux.h
121 sr_expr.$(SUF): $(SRC_DIR)/../share/aux.h
122 sr_expr.$(SUF): $(SRC_DIR)/../share/global.h
123 sr_expr.$(SUF): $(SRC_DIR)/../share/debug.h
124 sr_expr.$(SUF): $(SRC_DIR)/sr.h
125 sr_expr.$(SUF): $(SRC_DIR)/../share/types.h
126 sr_expr.$(SUF): $(EMH)/em_mnem.h
127 sr_iv.$(SUF):   $(SRC_DIR)/sr_iv.c
128         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr_iv.c
129 sr_iv.$(SUF):   $(SRC_DIR)/sr_iv.h
130 sr_iv.$(SUF):   $(SRC_DIR)/sr_cand.h
131 sr_iv.$(SUF):   $(SRC_DIR)/sr_aux.h
132 sr_iv.$(SUF):   $(SRC_DIR)/../share/aux.h
133 sr_iv.$(SUF):   $(SRC_DIR)/../share/alloc.h
134 sr_iv.$(SUF):   $(SRC_DIR)/../share/global.h
135 sr_iv.$(SUF):   $(SRC_DIR)/../share/debug.h
136 sr_iv.$(SUF):   $(SRC_DIR)/../share/cset.h
137 sr_iv.$(SUF):   $(SRC_DIR)/../share/lset.h
138 sr_iv.$(SUF):   $(SRC_DIR)/sr.h
139 sr_iv.$(SUF):   $(SRC_DIR)/../share/types.h
140 sr_iv.$(SUF):   $(EMH)/em_pseu.h
141 sr_iv.$(SUF):   $(EMH)/em_mnem.h
142 sr_reduce.$(SUF):       $(SRC_DIR)/sr_reduce.c
143         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr_reduce.c
144 sr_reduce.$(SUF):       $(SRC_DIR)/sr_expr.h
145 sr_reduce.$(SUF):       $(SRC_DIR)/sr_reduce.h
146 sr_reduce.$(SUF):       $(SRC_DIR)/sr_xform.h
147 sr_reduce.$(SUF):       $(SRC_DIR)/../share/lset.h
148 sr_reduce.$(SUF):       $(SRC_DIR)/sr_aux.h
149 sr_reduce.$(SUF):       $(SRC_DIR)/../share/aux.h
150 sr_reduce.$(SUF):       $(SRC_DIR)/../share/global.h
151 sr_reduce.$(SUF):       $(SRC_DIR)/../share/def.h
152 sr_reduce.$(SUF):       $(SRC_DIR)/../share/alloc.h
153 sr_reduce.$(SUF):       $(SRC_DIR)/../share/debug.h
154 sr_reduce.$(SUF):       $(SRC_DIR)/sr.h
155 sr_reduce.$(SUF):       $(SRC_DIR)/../share/types.h
156 sr_reduce.$(SUF):       $(EMH)/em_spec.h
157 sr_reduce.$(SUF):       $(EMH)/em_mnem.h
158 sr_reduce.$(SUF):       $(EMH)/em_mes.h
159 sr_reduce.$(SUF):       $(EMH)/em_reg.h
160 sr_reduce.$(SUF):       $(EMH)/em_pseu.h
161 sr_xform.$(SUF):        $(SRC_DIR)/sr_xform.c
162         $(CC) -c $(CFLAGS) $(SRC_DIR)/sr_xform.c
163 sr_xform.$(SUF):        $(SRC_DIR)/sr_xform.h
164 sr_xform.$(SUF):        $(SRC_DIR)/../share/aux.h
165 sr_xform.$(SUF):        $(SRC_DIR)/../share/lset.h
166 sr_xform.$(SUF):        $(SRC_DIR)/sr_aux.h
167 sr_xform.$(SUF):        $(SRC_DIR)/../share/get.h
168 sr_xform.$(SUF):        $(SRC_DIR)/../share/def.h
169 sr_xform.$(SUF):        $(SRC_DIR)/../share/alloc.h
170 sr_xform.$(SUF):        $(SRC_DIR)/../share/global.h
171 sr_xform.$(SUF):        $(SRC_DIR)/../share/debug.h
172 sr_xform.$(SUF):        $(SRC_DIR)/sr.h
173 sr_xform.$(SUF):        $(SRC_DIR)/../share/types.h
174 sr_xform.$(SUF):        $(EMH)/em_spec.h
175 sr_xform.$(SUF):        $(EMH)/em_pseu.h
176 sr_xform.$(SUF):        $(EMH)/em_mnem.h