fix build on x86 (--disable-asm), standardize.
[openwrt.git] / openwrt / package / jpeg / Makefile
index bcd7a65..11fd017 100644 (file)
@@ -63,16 +63,16 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_LIBJPEG):
        install -d -m0755 $(IDIR_LIBJPEG)/usr/lib
-       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libjpeg.so.* $(IDIR_LIBJPEG)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.so.* $(IDIR_LIBJPEG)/usr/lib/
        $(RSTRIP) $(IDIR_LIBJPEG)
        $(IPKG_BUILD) $(IDIR_LIBJPEG) $(PACKAGE_DIR)
 
 $(STAGING_DIR)/usr/lib/libjpeg.so: $(PKG_BUILD_DIR)/.built
        mkdir -p $(STAGING_DIR)/usr/include
-       cp -fpR $(PKG_INSTALL_DIR)/usr/include/jpeglib.h $(STAGING_DIR)/usr/include/
-       cp -fpR $(PKG_INSTALL_DIR)/usr/include/j{config,error,morecfg}.h $(STAGING_DIR)/usr/include/
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/jpeglib.h $(STAGING_DIR)/usr/include/
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/j{config,error,morecfg}.h $(STAGING_DIR)/usr/include/
        mkdir -p $(STAGING_DIR)/usr/lib
-       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(STAGING_DIR)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(STAGING_DIR)/usr/lib/
 
 install-dev: $(STAGING_DIR)/usr/lib/libjpeg.so
 
@@ -82,6 +82,6 @@ uninstall-dev:
          $(STAGING_DIR)/usr/include/j{config,error,morecfg}.h \
          $(STAGING_DIR)/usr/lib/libjpeg.{a,so*} \
 
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev
 
This page took 0.02337 seconds and 4 git commands to generate.