summaryrefslogtreecommitdiff
path: root/openwrt/package/libnids
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-22 12:12:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-22 12:12:59 +0000
commit1f96d69f566aa785c0f0fb4fb25e6198a96bb4c3 (patch)
tree3a8d2dbe1cbd55d44f3348a768356c53977a2d0e /openwrt/package/libnids
parent163fe567de49fa993f2b35cb469a87868adffa72 (diff)
lots of small package changes and dependency cleanups for the V= stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/libnids')
-rw-r--r--openwrt/package/libnids/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/openwrt/package/libnids/Makefile b/openwrt/package/libnids/Makefile
index 8cb773e3e2..3748e93e09 100644
--- a/openwrt/package/libnids/Makefile
+++ b/openwrt/package/libnids/Makefile
@@ -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