Makefile 853 B

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= ttcp
  5. PKG_VERSION:= 3.8
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= A small utility to test TCP connection performance
  8. PKG_SECTION:= net
  9. NO_DISTFILES:= 1
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,TTCP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  12. CONFIG_STYLE:= manual
  13. BUILD_STYLE:= manual
  14. INSTALL_STYLE:= manual
  15. TARGET_CFLAGS+= -Wall
  16. do-build:
  17. ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
  18. -o ${WRKBUILD}/ttcp ${WRKBUILD}/ttcp.c
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_TTCP}/usr/bin
  21. ${INSTALL_BIN} ${WRKBUILD}/ttcp ${IDIR_TTCP}/usr/bin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk