summaryrefslogtreecommitdiffstats
path: root/package/quagga/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-17 22:14:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-17 22:14:32 +0000
commit1effd49d777af7f70c55e46a159b3016c8751820 (patch)
treef5a25ca720efb1cfec569b1d27be34ee5d7615c5 /package/quagga/Makefile
parent799bef13935c8477394e6997b0d2069e120cbf3c (diff)
split off libospf from quagga-ospf(6)d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1490 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/quagga/Makefile')
-rw-r--r--package/quagga/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/quagga/Makefile b/package/quagga/Makefile
index 6fdc38f1d..fca54ecb9 100644
--- a/package/quagga/Makefile
+++ b/package/quagga/Makefile
@@ -21,6 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,QUAGGA,quagga,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,QUAGGA_BGPD,quagga-bgpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+$(eval $(call PKG_template,LIBOSPF,libospf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,QUAGGA_OSPFD,quagga-ospfd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,QUAGGA_OSPF6D,quagga-ospf6d,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,QUAGGA_RIPD,quagga-ripd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
@@ -81,17 +82,19 @@ $(IPKG_QUAGGA_BGPD):
$(RSTRIP) $(IDIR_QUAGGA_BGPD)
$(IPKG_BUILD) $(IDIR_QUAGGA_BGPD) $(PACKAGE_DIR)
+$(IPKG_LIBOSPF):
+ install -d -m0755 $(IDIR_LIBOSPF)/usr/lib
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(IDIR_LIBOSPF)/usr/lib/
+ $(RSTRIP) $(IDIR_LIBOSPF)
+ $(IPKG_BUILD) $(IDIR_LIBOSPF) $(PACKAGE_DIR)
+
$(IPKG_QUAGGA_OSPFD):
- install -d -m0755 $(IDIR_QUAGGA_OSPFD)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(IDIR_QUAGGA_OSPFD)/usr/lib/
install -d -m0755 $(IDIR_QUAGGA_OSPFD)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPFD)/usr/sbin/
$(RSTRIP) $(IDIR_QUAGGA_OSPFD)
$(IPKG_BUILD) $(IDIR_QUAGGA_OSPFD) $(PACKAGE_DIR)
$(IPKG_QUAGGA_OSPF6D):
- install -d -m0755 $(IDIR_QUAGGA_OSPF6D)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(IDIR_QUAGGA_OSPF6D)/usr/lib/
install -d -m0755 $(IDIR_QUAGGA_OSPF6D)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(IDIR_QUAGGA_OSPF6D)/usr/sbin/
$(RSTRIP) $(IDIR_QUAGGA_OSPF6D)