Debian Codegraph @

Externals/Bochs_disasm/Makefile.in

raw
1 # Copyright (C) 2001 The Bochs Project
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2 of the License, or (at your option) any later version.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
17
18 @SUFFIX_LINE@
19
20 srcdir = @srcdir@
21 VPATH = @srcdir@
22 top_builddir = ..
23 top_srcdir = @top_srcdir@
24
25 SHELL = @SHELL@
26
27 @SET_MAKE@
28
29 CXX = @CXX@
30 CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
31
32 LDFLAGS = @LDFLAGS@
33 LIBS = @LIBS@
34 RANLIB = @RANLIB@
35
36
37 # ===========================================================
38 # end of configurable options
39 # ===========================================================
40
41
42 BX_OBJS = \
43 dis_decode.o \
44 dis_groups.o \
45 resolve.o \
46 syntax.o
47
48 BX_INCLUDES = disasm.h
49
50 BX_INCDIRS = -I.. -I$(srcdir)/.. -I../@INSTRUMENT_DIR@ -I$(srcdir)/../@INSTRUMENT_DIR@
51
52 all: libdisasm.a
53
54 .@[email protected]:
55 $(CXX) @DASH@c $(BX_INCDIRS) $(CXXFLAGS) @CXXFP@$< @OFP@$@
56
57
58
59 libdisasm.a: $(BX_OBJS)
60 @RMCOMMAND@ libdisasm.a
61 @MAKELIB@ $(BX_OBJS)
62 $(RANLIB) libdisasm.a
63
64 $(BX_OBJS): $(BX_INCLUDES)
65
66
67 clean:
68 @RMCOMMAND@ *.o
69 @RMCOMMAND@ *.a
70
71 dist-clean: clean
72 @RMCOMMAND@ Makefile
73
74 ###########################################
75 # dependencies generated by
76 # gcc -MM -I.. -I../instrument/stubs *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g'
77 ###########################################
78 dis_decode.o: dis_decode.@CPP_SUFFIX@ disasm.h ../config.h dis_tables.h opcodes.inc \
79 dis_tables.inc dis_tables_x87.inc dis_tables_sse.inc dis_tables_avx.inc dis_tables_xop.inc
80 dis_groups.o: dis_groups.@CPP_SUFFIX@ disasm.h ../config.h
81 resolve.o: resolve.@CPP_SUFFIX@ disasm.h ../config.h
82 syntax.o: syntax.@CPP_SUFFIX@ disasm.h ../config.h