1
0

Makefile 823 B

123456789101112131415161718192021222324252627282930313233
  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:= uvd
  5. PKG_VERSION:= 0.1
  6. PKG_RELEASE:= 2
  7. PKG_DESCR:= udp server for version information
  8. PKG_SECTION:= base
  9. PKG_URL:= http://openadk.org/
  10. NO_DISTFILES:= 1
  11. include $(TOPDIR)/mk/package.mk
  12. $(eval $(call PKG_template,UVD,uvd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIG_STYLE:= manual
  14. BUILD_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. TARGET_CFLAGS+= -Wall
  17. do-build:
  18. ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
  19. -o ${WRKBUILD}/uvd ${WRKBUILD}/uvd.c
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_UVD}/sbin
  22. ${INSTALL_BIN} ${WRKBUILD}/uvd ${IDIR_UVD}/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk