install libiptc dev headers & lib (sync with Kamikaze, needed to build miniupnp with...
authorNicolas Thill <nico@openwrt.org>
Mon, 18 Dec 2006 11:10:42 +0000 (11:10 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 18 Dec 2006 11:10:42 +0000 (11:10 +0000)
SVN-Revision: 5834

openwrt/package/iptables/Makefile

index 594785ef0e7eca5fa146009d6428a9b024e2a839..a594ef05102dcad241965254ce80e80a0ee6b9db 100644 (file)
@@ -110,8 +110,10 @@ $(IPKG_IP6TABLES):
 $(STAGING_DIR)/usr/lib/libipq.a: $(PKG_BUILD_DIR)/.built
        mkdir -p $(STAGING_DIR)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/libipq.h $(STAGING_DIR)/usr/include/
+       $(CP) $(PKG_BUILD_DIR)/include/libiptc $(STAGING_DIR)/usr/include/
        mkdir -p $(STAGING_DIR)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libipq.a $(STAGING_DIR)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiptc.a $(STAGING_DIR)/usr/lib/
 
 layer7-install:
        mkdir -p $(IDIR_IPTABLES_MOD_FILTER)/etc/l7-protocols
@@ -121,7 +123,9 @@ install-dev: $(STAGING_DIR)/usr/lib/libipq.a
 
 uninstall-dev:
        rm -rf $(STAGING_DIR)/usr/include/libipq.h
+       rm -rf $(STAGING_DIR)/usr/include/libiptc
        rm -rf $(STAGING_DIR)/usr/lib/libipq.a
+       rm -rf $(STAGING_DIR)/usr/lib/libiptc.a
 
 compile: install-dev
 clean: uninstall-dev