Restored whiterussian make rules
authorFlorian Fainelli <florian@openwrt.org>
Sun, 5 Feb 2006 18:43:24 +0000 (18:43 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 5 Feb 2006 18:43:24 +0000 (18:43 +0000)
SVN-Revision: 3145

openwrt/package/libpcap/Makefile

index 5bc0a965eab33843f6b39401381445d3db5c8350..d954294c95fd6360bd5a38b0a05ecb46f876f78e 100644 (file)
@@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,LIBPCAP,libpcap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
-$(PKG_BUILD_DIR)/.configured:
+$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
        (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
@@ -54,7 +54,7 @@ $(PKG_BUILD_DIR)/.configured:
        );
        touch $@
 
-$(PKG_BUILD_DIR)/.built:
+$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
@@ -82,5 +82,5 @@ uninstall-dev:
        rm -rf $(STAGING_DIR)/usr/include/pcap*
        rm -rf $(STAGING_DIR)/usr/lib/libpcap.{a,so*}
 
-compile-targets: install-dev
-clean-targets: uninstall-dev
+compile: install-dev
+clean: uninstall-dev