Makefile.in 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. @SUFFIX_LINE@
  17. srcdir = @srcdir@
  18. VPATH = @srcdir@
  19. top_builddir = ..
  20. top_srcdir = @top_srcdir@
  21. SHELL = @SHELL@
  22. @SET_MAKE@
  23. CXX = @CXX@
  24. CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
  25. LDFLAGS = @LDFLAGS@
  26. LIBS = @LIBS@
  27. RANLIB = @RANLIB@
  28. # ===========================================================
  29. # end of configurable options
  30. # ===========================================================
  31. BX_OBJS = \
  32. dis_decode.o \
  33. dis_groups.o \
  34. resolve.o \
  35. syntax.o
  36. BX_INCLUDES = disasm.h
  37. BX_INCDIRS = -I.. -I$(srcdir)/.. -I../@INSTRUMENT_DIR@ -I$(srcdir)/../@INSTRUMENT_DIR@
  38. all: libdisasm.a
  39. .@CPP_SUFFIX@.o:
  40. $(CXX) @DASH@c $(BX_INCDIRS) $(CXXFLAGS) @CXXFP@$< @OFP@$@
  41. libdisasm.a: $(BX_OBJS)
  42. @RMCOMMAND@ libdisasm.a
  43. @MAKELIB@ $(BX_OBJS)
  44. $(RANLIB) libdisasm.a
  45. $(BX_OBJS): $(BX_INCLUDES)
  46. clean:
  47. @RMCOMMAND@ *.o
  48. @RMCOMMAND@ *.a
  49. dist-clean: clean
  50. @RMCOMMAND@ Makefile
  51. ###########################################
  52. # dependencies generated by
  53. # gcc -MM -I.. -I../instrument/stubs *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g'
  54. ###########################################
  55. dis_decode.o: dis_decode.@CPP_SUFFIX@ disasm.h ../config.h dis_tables.h opcodes.inc \
  56. dis_tables.inc dis_tables_x87.inc dis_tables_sse.inc dis_tables_avx.inc dis_tables_xop.inc
  57. dis_groups.o: dis_groups.@CPP_SUFFIX@ disasm.h ../config.h
  58. resolve.o: resolve.@CPP_SUFFIX@ disasm.h ../config.h
  59. syntax.o: syntax.@CPP_SUFFIX@ disasm.h ../config.h