X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/0bc4109776d047ae999f11b3e329d10eb364d561..25ea0c2afb9795e9ba7a5446af302e522c3b606f:/package/openwrt/libshared/Makefile?ds=inline diff --git a/package/openwrt/libshared/Makefile b/package/openwrt/libshared/Makefile index ccdd8aeae..4309c8ce6 100644 --- a/package/openwrt/libshared/Makefile +++ b/package/openwrt/libshared/Makefile @@ -1,15 +1,5 @@ -# -# Linux router shared code Makefile -# -# Copyright 2001-2003, Broadcom Corporation -# All Rights Reserved. -# -# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY -# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM -# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS -# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. -# # $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=libshared @@ -36,12 +26,14 @@ $(PKG_BUILD_DIR): $(PKG_BUILD_DIR)/libshared.so: $(LIBSHARED_OBJS) $(TARGET_CC) -shared -o $@ $^ +$(STAGING_DIR)/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so + install -m 644 $< $@ + $(TARGET_DIR)/usr/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so install -m 644 $^ $@ - install -m 644 $^ $(STAGING_DIR)/lib/libshared.so $(STRIP) $@ -compile: $(PKG_BUILD_DIR)/libshared.so +compile: $(PKG_BUILD_DIR)/libshared.so $(STAGING_DIR)/lib/libshared.so install: $(TARGET_DIR)/usr/lib/libshared.so clean: