do not compile a normal version of wireless-tools just for the shared library
[openwrt.git] / openwrt / package / libnids / Makefile
index 8cb773e..3748e93 100644 (file)
@@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,LIBNIDS,libnids,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
        (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
@@ -51,7 +51,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
        );
        touch $@
 
-$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
+$(PKG_BUILD_DIR)/.built:
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
@@ -60,7 +60,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
                all install
        touch $@
 
-$(IPKG_LIBNIDS): $(STAGING_DIR)/usr/lib/libnids.so
+$(IPKG_LIBNIDS):
        install -m0755 -d $(IDIR_LIBNIDS)/usr/lib
        cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libnids.so.* $(IDIR_LIBNIDS)/usr/lib/
        $(RSTRIP) $(IDIR_LIBNIDS)
@@ -79,5 +79,5 @@ uninstall-dev:
        rm -rf $(STAGING_DIR)/usr/include/nids.h
        rm -rf $(STAGING_DIR)/usr/lib/libnids.{a,so*}
 
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev
This page took 0.029284 seconds and 4 git commands to generate.