argp-standalone.mk 659 B

123456789101112131415161718192021
  1. #############################################################
  2. #
  3. # argp-standalone
  4. #
  5. #############################################################
  6. ARGP_STANDALONE_VERSION = 1.3
  7. ARGP_STANDALONE_SITE = http://www.lysator.liu.se/~nisse/archive
  8. ARGP_STANDALONE_INSTALL_STAGING = YES
  9. define ARGP_STANDALONE_INSTALL_STAGING_CMDS
  10. $(INSTALL) -D $(@D)/libargp.a $(STAGING_DIR)/usr/lib/libargp.a
  11. $(INSTALL) -D $(@D)/argp.h $(STAGING_DIR)/usr/include/argp.h
  12. endef
  13. define ARGP_STANDALONE_INSTALL_TARGET_CMDS
  14. $(INSTALL) -D $(@D)/libargp.a $(TARGET_DIR)/usr/lib/libargp.a
  15. $(INSTALL) -D $(@D)/argp.h $(TARGET_DIR)/usr/include/argp.h
  16. endef
  17. $(eval $(call AUTOTARGETS))