- implemented LBA48 support (since BIOS functions are limited to 32 bit, the
[bochs-mirror.git] / disasm / Makefile.in
blobd289c71c7884afae38bd93b37c9bd28446cc3e11
1 # Copyright (C) 2001 MandrakeSoft S.A.
3 # MandrakeSoft S.A.
4 # 43, rue d'Aboukir
5 # 75002 Paris - France
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
24 @SUFFIX_LINE@
26 srcdir = @srcdir@
27 VPATH = @srcdir@
28 top_builddir = ..
29 top_srcdir = @top_srcdir@
31 SHELL = /bin/sh
33 @SET_MAKE@
35 CXX = @CXX@
36 CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
38 LDFLAGS = @LDFLAGS@
39 LIBS = @LIBS@
40 RANLIB = @RANLIB@
43 # ===========================================================
44 # end of configurable options
45 # ===========================================================
48 BX_OBJS = \
49 dis_decode.o \
50 dis_groups.o \
51 resolve.o \
52 syntax.o
54 BX_INCLUDES = disasm.h
56 BX_INCDIRS = -I.. -I$(srcdir)/.. -I../@INSTRUMENT_DIR@ -I$(srcdir)/../@INSTRUMENT_DIR@
58 all: libdisasm.a
60 .@CPP_SUFFIX@.o:
61 $(CXX) @DASH@c $(BX_INCDIRS) $(CXXFLAGS) @CXXFP@$< @OFP@$@
65 libdisasm.a: $(BX_OBJS)
66 @RMCOMMAND@ libdisasm.a
67 @MAKELIB@ $(BX_OBJS)
68 $(RANLIB) libdisasm.a
70 $(BX_OBJS): $(BX_INCLUDES)
73 clean:
74 @RMCOMMAND@ *.o
75 @RMCOMMAND@ *.a
77 dist-clean: clean
78 @RMCOMMAND@ Makefile
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