Debian Codegraph @

Makefile

raw ◀ ▶
2 Debian patches touch this file
1 # $Id: Makefile 3243 2025-05-10 05:17:11Z soci $
2 OBJS = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \
3 encoding.o ternary.o file.o values.o variables.o mem.o isnprintf.o macro.o \
4 obj.o floatobj.o addressobj.o codeobj.o strobj.o listobj.o boolobj.o bytesobj.o \
5 intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \
6 registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \
7 longjump.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \
8 errorobj.o macroobj.o mfuncobj.o symbolobj.o anonsymbolobj.o memblocksobj.o \
9 foldobj.o main.o console.o encobj.o argvalues.o
10 LDLIBS = -lm
11 LANG = C
12 VERSION = 1.60
•13 #CFLAGS = -O2
14 #LDFLAGS =
15 TARGET = 64tass
16 RM = rm -f
17 RMDIR = rmdir
18 INSTALL = install -c
19 INSTALL_PROGRAM = $(INSTALL)
20 INSTALL_DATA = $(INSTALL) -m 644
21 prefix = /usr/local
22 exec_prefix = $(prefix)
23 bindir = $(exec_prefix)/bin
24 datarootdir = $(prefix)/share
25 mandir = $(datarootdir)/man
26 man1dir = $(mandir)/man1
27 docdir = $(datarootdir)/doc/$(TARGET)
28
29 $(TARGET): $(OBJS)
30 $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
31
32 64tass.o: 64tass.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \
33 error.h errors_e.h opcodes.h eval.h oper_e.h values.h section.h avl.h \
34 str.h encoding.h file.h variables.h macro.h instruction.h unicode.h \
35 listing.h optimizer.h arguments.h ternary.h opt_bit.h longjump.h mem.h \
36 unicodedata.h main.h argvalues.h version.h listobj.h obj.h codeobj.h \
37 strobj.h addressobj.h boolobj.h bytesobj.h intobj.h bitsobj.h \
38 functionobj.h namespaceobj.h operobj.h gapobj.h typeobj.h noneobj.h \
39 registerobj.h labelobj.h errorobj.h macroobj.h mfuncobj.h memblocksobj.h \
40 symbolobj.h anonsymbolobj.h dictobj.h encobj.h
41 addressobj.o: addressobj.c addressobj.h obj.h attributes.h inttypes.h \
42 values.h stdbool.h error.h errors_e.h eval.h oper_e.h variables.h \
43 arguments.h boolobj.h strobj.h intobj.h typeobj.h noneobj.h errorobj.h \
44 floatobj.h bitsobj.h bytesobj.h registerobj.h codeobj.h
45 anonsymbolobj.o: anonsymbolobj.c anonsymbolobj.h obj.h attributes.h \
46 inttypes.h eval.h stdbool.h oper_e.h values.h typeobj.h strobj.h
47 arguments.o: arguments.c arguments.h stdbool.h inttypes.h 64tass.h \
48 attributes.h wait_e.h opcodes.h my_getopt.h error.h errors_e.h unicode.h \
49 version.h
50 argvalues.o: argvalues.c argvalues.h arguments.h stdbool.h inttypes.h \
51 64tass.h attributes.h wait_e.h eval.h oper_e.h error.h errors_e.h \
52 values.h instruction.h namespaceobj.h obj.h
53 avl.o: avl.c avl.h attributes.h stdbool.h
54 bitsobj.o: bitsobj.c bitsobj.h obj.h attributes.h inttypes.h oper_e.h \
55 math.h eval.h stdbool.h variables.h unicode.h error.h errors_e.h \
56 arguments.h codeobj.h values.h boolobj.h floatobj.h strobj.h bytesobj.h \
57 intobj.h listobj.h typeobj.h noneobj.h errorobj.h addressobj.h encobj.h \
58 avl.h
59 boolobj.o: boolobj.c boolobj.h obj.h attributes.h inttypes.h stdbool.h \
60 eval.h oper_e.h error.h errors_e.h variables.h arguments.h floatobj.h \
61 values.h strobj.h bitsobj.h intobj.h typeobj.h errorobj.h noneobj.h \
62 functionobj.h
63 bytesobj.o: bytesobj.c bytesobj.h obj.h attributes.h inttypes.h math.h \
64 eval.h stdbool.h oper_e.h unicode.h variables.h arguments.h error.h \
65 errors_e.h boolobj.h floatobj.h values.h codeobj.h intobj.h strobj.h \
66 bitsobj.h listobj.h typeobj.h noneobj.h errorobj.h addressobj.h encobj.h \
67 avl.h
68 codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \
69 stdbool.h eval.h oper_e.h mem.h 64tass.h wait_e.h section.h avl.h str.h \
70 variables.h error.h errors_e.h arguments.h boolobj.h floatobj.h \
71 namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h gapobj.h \
72 typeobj.h noneobj.h errorobj.h memblocksobj.h symbolobj.h addressobj.h \
73 strobj.h
74 console.o: console.c console.h stdbool.h
75 dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \
76 stdbool.h oper_e.h error.h errors_e.h variables.h intobj.h listobj.h \
77 values.h strobj.h boolobj.h typeobj.h noneobj.h errorobj.h symbolobj.h \
78 str.h
79 encobj.o: encobj.c encobj.h obj.h attributes.h inttypes.h stdbool.h avl.h \
80 errors_e.h values.h ternary.h str.h error.h 64tass.h wait_e.h encoding.h \
81 unicode.h eval.h oper_e.h typeobj.h strobj.h bytesobj.h bitsobj.h \
82 errorobj.h functionobj.h
83 encoding.o: encoding.c encoding.h stdbool.h error.h attributes.h \
84 errors_e.h inttypes.h ternary.h values.h 64tass.h wait_e.h str.h \
85 encobj.h obj.h avl.h
86 error.o: error.c error.h attributes.h stdbool.h errors_e.h inttypes.h \
87 file.h 64tass.h wait_e.h unicode.h eval.h oper_e.h arguments.h opcodes.h \
88 section.h avl.h str.h macro.h strobj.h obj.h addressobj.h values.h \
89 registerobj.h namespaceobj.h operobj.h typeobj.h labelobj.h errorobj.h \
90 noneobj.h symbolobj.h anonsymbolobj.h console.h
91 errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \
92 errors_e.h oper_e.h stdbool.h eval.h values.h error.h 64tass.h wait_e.h \
93 file.h macro.h typeobj.h registerobj.h namespaceobj.h
94 eval.o: eval.c eval.h attributes.h inttypes.h stdbool.h oper_e.h math.h \
95 section.h avl.h str.h variables.h 64tass.h wait_e.h unicode.h error.h \
96 errors_e.h values.h arguments.h optimizer.h unicodedata.h floatobj.h \
97 obj.h boolobj.h intobj.h bitsobj.h strobj.h codeobj.h bytesobj.h \
98 addressobj.h listobj.h dictobj.h registerobj.h namespaceobj.h operobj.h \
99 gapobj.h typeobj.h noneobj.h labelobj.h errorobj.h symbolobj.h \
100 anonsymbolobj.h foldobj.h memblocksobj.h functionobj.h
101 file.o: file.c file.h stdbool.h inttypes.h wchar.h 64tass.h attributes.h \
102 wait_e.h unicode.h error.h errors_e.h arguments.h unicodedata.h avl.h \
103 str.h main.h
104 floatobj.o: floatobj.c floatobj.h obj.h attributes.h inttypes.h values.h \
105 math.h error.h stdbool.h errors_e.h eval.h oper_e.h variables.h \
106 arguments.h boolobj.h codeobj.h strobj.h bytesobj.h intobj.h bitsobj.h \
107 operobj.h typeobj.h noneobj.h errorobj.h addressobj.h functionobj.h
108 foldobj.o: foldobj.c foldobj.h obj.h attributes.h inttypes.h values.h \
109 eval.h stdbool.h oper_e.h typeobj.h strobj.h errorobj.h errors_e.h \
110 boolobj.h
111 functionobj.o: functionobj.c functionobj.h obj.h attributes.h inttypes.h \
112 math.h isnprintf.h eval.h stdbool.h oper_e.h variables.h error.h \
113 errors_e.h file.h arguments.h instruction.h 64tass.h wait_e.h section.h \
114 avl.h str.h floatobj.h values.h strobj.h listobj.h intobj.h boolobj.h \
115 typeobj.h noneobj.h errorobj.h bytesobj.h dictobj.h addressobj.h
116 gapobj.o: gapobj.c gapobj.h obj.h attributes.h inttypes.h eval.h \
117 stdbool.h oper_e.h variables.h values.h strobj.h boolobj.h typeobj.h
118 instruction.o: instruction.c instruction.h attributes.h stdbool.h \
119 inttypes.h opcodes.h 64tass.h wait_e.h section.h avl.h str.h file.h \
120 listing.h error.h errors_e.h longjump.h arguments.h optimizer.h \
121 addressobj.h obj.h values.h listobj.h registerobj.h codeobj.h typeobj.h \
122 noneobj.h errorobj.h oper_e.h memblocksobj.h eval.h
123 intobj.o: intobj.c intobj.h obj.h attributes.h inttypes.h math.h \
124 unicode.h stdbool.h error.h errors_e.h eval.h oper_e.h variables.h \
125 arguments.h boolobj.h floatobj.h values.h codeobj.h strobj.h bytesobj.h \
126 bitsobj.h typeobj.h noneobj.h errorobj.h addressobj.h functionobj.h \
127 encobj.h avl.h
128 isnprintf.o: isnprintf.c isnprintf.h attributes.h inttypes.h unicode.h \
129 stdbool.h eval.h oper_e.h error.h errors_e.h str.h floatobj.h obj.h \
130 values.h strobj.h intobj.h bitsobj.h typeobj.h noneobj.h errorobj.h
131 labelobj.o: labelobj.c labelobj.h obj.h attributes.h inttypes.h str.h \
132 stdbool.h values.h error.h errors_e.h unicode.h file.h strobj.h \
133 typeobj.h
134 listing.o: listing.c listing.h attributes.h inttypes.h stdbool.h file.h \
135 error.h errors_e.h 64tass.h wait_e.h opcodes.h unicode.h section.h avl.h \
136 str.h instruction.h obj.h values.h arguments.h macro.h version.h
137 listobj.o: listobj.c listobj.h obj.h attributes.h inttypes.h values.h \
138 stdbool.h eval.h oper_e.h variables.h error.h errors_e.h boolobj.h \
139 codeobj.h strobj.h intobj.h typeobj.h noneobj.h errorobj.h foldobj.h
140 longjump.o: longjump.c longjump.h avl.h attributes.h inttypes.h error.h \
141 stdbool.h errors_e.h obj.h values.h codeobj.h
142 macro.o: macro.c macro.h inttypes.h wait_e.h stdbool.h file.h eval.h \
143 attributes.h oper_e.h values.h section.h avl.h str.h variables.h \
144 64tass.h listing.h error.h errors_e.h arguments.h optimizer.h main.h \
145 listobj.h obj.h typeobj.h noneobj.h namespaceobj.h labelobj.h macroobj.h \
146 mfuncobj.h memblocksobj.h functionobj.h
147 macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \
148 stdbool.h values.h eval.h oper_e.h error.h errors_e.h file.h typeobj.h \
149 namespaceobj.h intobj.h noneobj.h errorobj.h
150 main.o: main.c main.h stdbool.h wchar.h inttypes.h error.h attributes.h \
151 errors_e.h unicode.h console.h 64tass.h wait_e.h
152 math.o: math.c math.h
153 memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \
154 inttypes.h stdbool.h values.h error.h errors_e.h section.h avl.h str.h \
155 unicode.h arguments.h version.h typeobj.h
156 mem.o: mem.c mem.h attributes.h inttypes.h error.h stdbool.h errors_e.h \
157 unicode.h 64tass.h wait_e.h listing.h arguments.h values.h \
158 memblocksobj.h obj.h
159 mfuncobj.o: mfuncobj.c mfuncobj.h obj.h attributes.h inttypes.h str.h \
160 stdbool.h values.h eval.h oper_e.h error.h errors_e.h macro.h wait_e.h \
161 file.h typeobj.h namespaceobj.h listobj.h
162 my_getopt.o: my_getopt.c my_getopt.h stdbool.h unicode.h attributes.h \
163 inttypes.h error.h errors_e.h
164 namespaceobj.o: namespaceobj.c namespaceobj.h obj.h attributes.h \
165 inttypes.h variables.h stdbool.h eval.h oper_e.h error.h errors_e.h \
166 arguments.h 64tass.h wait_e.h listobj.h values.h strobj.h typeobj.h \
167 noneobj.h labelobj.h str.h errorobj.h symbolobj.h anonsymbolobj.h \
168 codeobj.h macroobj.h mfuncobj.h boolobj.h
169 noneobj.o: noneobj.c noneobj.h obj.h attributes.h inttypes.h eval.h \
170 stdbool.h oper_e.h typeobj.h errorobj.h errors_e.h
171 obj.o: obj.c obj.h attributes.h inttypes.h eval.h stdbool.h oper_e.h \
172 values.h boolobj.h floatobj.h strobj.h macroobj.h str.h intobj.h \
173 listobj.h namespaceobj.h addressobj.h codeobj.h registerobj.h bytesobj.h \
174 bitsobj.h functionobj.h dictobj.h operobj.h gapobj.h typeobj.h noneobj.h \
175 labelobj.h errorobj.h errors_e.h mfuncobj.h symbolobj.h anonsymbolobj.h \
176 memblocksobj.h foldobj.h encobj.h avl.h
177 opcodes.o: opcodes.c opcodes.h inttypes.h
178 operobj.o: operobj.c operobj.h obj.h attributes.h inttypes.h oper_e.h \
179 strobj.h stdbool.h typeobj.h
180 opt_bit.o: opt_bit.c opt_bit.h stdbool.h attributes.h error.h errors_e.h \
181 inttypes.h
182 optimizer.o: optimizer.c optimizer.h inttypes.h stdbool.h error.h \
183 attributes.h errors_e.h section.h avl.h str.h opcodes.h opt_bit.h \
184 macro.h wait_e.h
185 registerobj.o: registerobj.c registerobj.h obj.h attributes.h inttypes.h \
186 stdbool.h eval.h oper_e.h variables.h values.h error.h errors_e.h \
187 strobj.h typeobj.h errorobj.h addressobj.h intobj.h
188 section.o: section.c section.h avl.h attributes.h stdbool.h str.h \
189 inttypes.h unicode.h error.h errors_e.h 64tass.h wait_e.h values.h \
190 intobj.h obj.h longjump.h optimizer.h eval.h oper_e.h memblocksobj.h \
191 mem.h
192 str.o: str.c str.h inttypes.h unicode.h attributes.h stdbool.h error.h \
193 errors_e.h arguments.h
194 strobj.o: strobj.c strobj.h obj.h attributes.h inttypes.h stdbool.h \
195 eval.h oper_e.h unicode.h error.h errors_e.h variables.h arguments.h \
196 str.h boolobj.h bytesobj.h intobj.h bitsobj.h listobj.h values.h \
197 typeobj.h noneobj.h errorobj.h
198 symbolobj.o: symbolobj.c symbolobj.h obj.h attributes.h inttypes.h str.h \
199 stdbool.h eval.h oper_e.h unicode.h error.h errors_e.h file.h values.h \
200 arguments.h variables.h typeobj.h strobj.h errorobj.h
201 ternary.o: ternary.c ternary.h stdbool.h inttypes.h unicode.h \
202 attributes.h error.h errors_e.h
203 typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \
204 variables.h eval.h oper_e.h strobj.h functionobj.h dictobj.h
205 unicodedata.o: unicodedata.c unicodedata.h inttypes.h attributes.h
206 unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \
207 unicodedata.h str.h console.h error.h errors_e.h
208 values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \
209 stdbool.h error.h errors_e.h strobj.h typeobj.h
210 variables.o: variables.c variables.h stdbool.h inttypes.h unicode.h \
211 attributes.h 64tass.h wait_e.h file.h obj.h error.h errors_e.h values.h \
212 arguments.h eval.h oper_e.h section.h avl.h str.h version.h boolobj.h \
213 floatobj.h namespaceobj.h strobj.h codeobj.h registerobj.h functionobj.h \
214 listobj.h intobj.h bytesobj.h bitsobj.h dictobj.h addressobj.h gapobj.h \
215 typeobj.h noneobj.h labelobj.h errorobj.h mfuncobj.h symbolobj.h
216 wchar.o: wchar.c wchar.h inttypes.h
217
218 .PHONY: all clean distclean install install-strip uninstall install-man install-doc
219
220 clean:
221 -$(RM) $(OBJS)
222
223 distclean: clean
224 -$(RM) $(TARGET)
225
226 install-man:
227 -$(INSTALL) -d $(DESTDIR)$(man1dir)
228 -$(INSTALL_DATA) $(TARGET).1 $(DESTDIR)$(man1dir)/$(TARGET).1
229 -gzip -9f $(DESTDIR)$(man1dir)/$(TARGET).1
230
231 install-doc:
232 -$(INSTALL) -d $(DESTDIR)$(docdir)
233 -$(INSTALL_DATA) LICENSE-GPL-2.0 LICENSE-LGPL-2.0 LICENSE-LGPL-2.1 LICENSE-my_getopt README README.md README.html NEWS $(DESTDIR)$(docdir)
234
235 install: $(TARGET) install-man install-doc
236 -$(INSTALL) -d $(DESTDIR)$(bindir)
237 $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
238
239 install-strip: $(TARGET) install-man install-doc
240 -$(INSTALL) -d $(DESTDIR)$(bindir)
241 $(INSTALL_PROGRAM) -s $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
242
243 uninstall:
244 -$(RM) $(DESTDIR)$(bindir)/$(TARGET)
245 -$(RM) $(DESTDIR)$(man1dir)/$(TARGET).1
246 -$(RM) $(DESTDIR)$(man1dir)/$(TARGET).1.gz
247 -$(RM) $(DESTDIR)$(docdir)/LICENSE-GPL-2.0
248 -$(RM) $(DESTDIR)$(docdir)/LICENSE-LGPL-2.0
249 -$(RM) $(DESTDIR)$(docdir)/LICENSE-LGPL-2.1
250 -$(RM) $(DESTDIR)$(docdir)/LICENSE-my_getopt
251 -$(RM) $(DESTDIR)$(docdir)/README
252 -$(RM) $(DESTDIR)$(docdir)/README.md
253 -$(RM) $(DESTDIR)$(docdir)/README.html
254 -$(RM) $(DESTDIR)$(docdir)/NEWS
255 -$(RMDIR) $(DESTDIR)$(docdir)