1 # Copyright (C) 2001 MandrakeSoft S.A.
6 # http://www.linux-mandrake.com/
7 # http://www.mandrakesoft.com/
9 # This library is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU Lesser General Public
11 # License as published by the Free Software Foundation; either
12 # version 2 of the License, or (at your option) any later version.
14 # This library is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # Lesser General Public License for more details.
19 # You should have received a copy of the GNU Lesser General Public
20 # License along with this library; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 top_srcdir
= @top_srcdir@
36 CXXFLAGS
= @CXXFLAGS@ @GUI_CXXFLAGS@
43 # ===========================================================
44 # end of configurable options
45 # ===========================================================
54 BX_INCLUDES
= disasm.h
56 BX_INCDIRS
= -I..
-I
$(srcdir)/..
-I..
/@INSTRUMENT_DIR@
-I
$(srcdir)/..
/@INSTRUMENT_DIR@
61 $(CXX
) @DASH@c
$(BX_INCDIRS
) $(CXXFLAGS
) @CXXFP@
$< @OFP@
$@
65 libdisasm.a
: $(BX_OBJS
)
66 @RMCOMMAND@ libdisasm.a
70 $(BX_OBJS
): $(BX_INCLUDES
)
80 ###########################################
81 # dependencies generated by
82 # gcc -MM -I.. -I../instrument/stubs *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g'
83 ###########################################
84 dis_decode.o
: dis_decode.@CPP_SUFFIX@ disasm.h ..
/config.h dis_tables.h opcodes.inc dis_tables.inc
85 dis_groups.o
: dis_groups.@CPP_SUFFIX@ disasm.h ..
/config.h
86 resolve.o
: resolve.@CPP_SUFFIX@ disasm.h ..
/config.h
87 syntax.o
: syntax.@CPP_SUFFIX@ disasm.h ..
/config.h