X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f3ff1dc9618a34338ae97ba6a57ab7532fe50f3b..a2759fb484cd09119c6b3914a11b25e3c4571c3e:/package/libao/Makefile diff --git a/package/libao/Makefile b/package/libao/Makefile index 44d010cc7..dee885ea2 100644 --- a/package/libao/Makefile +++ b/package/libao/Makefile @@ -49,6 +49,10 @@ $(PKG_BUILD_DIR)/.configured: --enable-static \ --disable-rpath \ --with-gnu-ld \ + --disable-esd \ + --disable-arts \ + --disable-nas \ + --disable-polyp \ ); touch $@ @@ -62,18 +66,18 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBAO): install -m0755 -d $(IDIR_LIBAO)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libao.so.* $(IDIR_LIBAO)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.so.* $(IDIR_LIBAO)/usr/lib/ $(RSTRIP) $(IDIR_LIBAO) $(IPKG_BUILD) $(IDIR_LIBAO) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libao.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/ao $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/ao $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libao.a $(STAGING_DIR)/usr/lib/ - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libao.so* $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.a $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.so* $(STAGING_DIR)/usr/lib/ mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ao.pc $(STAGING_DIR)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ao.pc $(STAGING_DIR)/usr/lib/pkgconfig/ $(SED) 's,-I$${includedir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/ao.pc $(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/ao.pc touch $@ @@ -87,8 +91,8 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/libao.so* \ $(STAGING_DIR)/usr/lib/pkgconfig/ao.pc \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev mostlyclean: -$(MAKE) -C $(PKG_BUILD_DIR) clean