Makefile 925 B

1234567891011121314151617181920212223242526272829
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. include ${TOPDIR}/toolchain/gdb/Makefile.inc
  7. include ${TOPDIR}/mk/package.mk
  8. $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE}))
  9. TCPPFLAGS+= -L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib
  10. TLDFLAGS+= -L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib
  11. TCFLAGS+= ${TCPPFLAGS} -fPIC
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \
  14. --disable-tui --disable-gdbtk --without-x \
  15. --without-included-gettext --disable-sim \
  16. --enable-threads --with-curses --disable-werror \
  17. --enable-static
  18. BUILD_STYLE= auto
  19. INSTALL_STYLE= auto
  20. XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}'
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk