summaryrefslogtreecommitdiffstats
path: root/package/zlib/zlib.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-11 14:06:06 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-11 14:06:06 +0000
commite1621a4a2a6b1750402d0228cf85920814babc9a (patch)
tree427f7759087d6775d41f68513dbb417485d0ee45 /package/zlib/zlib.mk
parentcd599b61144a0f273d2712ffee64ea8e4af2cdbd (diff)
downloadbuildroot-novena-e1621a4a2a6b1750402d0228cf85920814babc9a.tar.gz
buildroot-novena-e1621a4a2a6b1750402d0228cf85920814babc9a.zip
Use <package>_VERSION in all <package>.mk instead of <package>_VER
Diffstat (limited to 'package/zlib/zlib.mk')
-rw-r--r--package/zlib/zlib.mk24
1 files changed, 12 insertions, 12 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 8456274ea..88f59897f 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -3,11 +3,11 @@
# zlib
#
#############################################################
-ZLIB_VER:=1.2.3
-ZLIB_SOURCE:=zlib-$(ZLIB_VER).tar.bz2
+ZLIB_VERSION:=1.2.3
+ZLIB_SOURCE:=zlib-$(ZLIB_VERSION).tar.bz2
ZLIB_CAT:=$(BZCAT)
ZLIB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libpng
-ZLIB_DIR:=$(BUILD_DIR)/zlib-$(ZLIB_VER)
+ZLIB_DIR:=$(BUILD_DIR)/zlib-$(ZLIB_VERSION)
ZLIB_CFLAGS:=-fPIC
ifeq ($(BR2_LARGEFILE),y)
ZLIB_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
@@ -35,37 +35,37 @@ $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.patched
)
touch $@
-$(ZLIB_DIR)/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/.configured
+$(ZLIB_DIR)/libz.so.$(ZLIB_VERSION): $(ZLIB_DIR)/.configured
$(MAKE) -C $(ZLIB_DIR) all libz.a
- touch -c $(ZLIB_DIR)/libz.so.$(ZLIB_VER)
+ touch -c $(ZLIB_DIR)/libz.so.$(ZLIB_VERSION)
-$(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/libz.so.$(ZLIB_VER)
+$(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VERSION): $(ZLIB_DIR)/libz.so.$(ZLIB_VERSION)
cp -dpf $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/
cp -dpf $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/
cp -dpf $(ZLIB_DIR)/zconf.h $(STAGING_DIR)/usr/include/
cp -dpf $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
- ln -sf libz.so.$(ZLIB_VER) $(STAGING_DIR)/usr/lib/libz.so.1
- chmod a-x $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER)
+ ln -sf libz.so.$(ZLIB_VERSION) $(STAGING_DIR)/usr/lib/libz.so.1
+ chmod a-x $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VERSION)
touch -c $@
-$(TARGET_DIR)/usr/lib/libz.so.$(ZLIB_VER): $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER)
+$(TARGET_DIR)/usr/lib/libz.so.$(ZLIB_VERSION): $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VERSION)
mkdir -p $(TARGET_DIR)/usr/lib
cp -dpf $(STAGING_DIR)/usr/lib/libz.so* $(TARGET_DIR)/usr/lib
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libz.so*
touch -c $@
-$(TARGET_DIR)/usr/lib/libz.a: $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER)
+$(TARGET_DIR)/usr/lib/libz.a: $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VERSION)
mkdir -p $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib
cp -dpf $(STAGING_DIR)/usr/include/zlib.h $(TARGET_DIR)/usr/include/
cp -dpf $(STAGING_DIR)/usr/include/zconf.h $(TARGET_DIR)/usr/include/
cp -dpf $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/
rm -f $(TARGET_DIR)/lib/libz.so $(TARGET_DIR)/usr/lib/libz.so
- ln -sf libz.so.$(ZLIB_VER) $(TARGET_DIR)/usr/lib/libz.so
+ ln -sf libz.so.$(ZLIB_VERSION) $(TARGET_DIR)/usr/lib/libz.so
touch -c $@
zlib-headers: $(TARGET_DIR)/usr/lib/libz.a
-zlib: uclibc $(TARGET_DIR)/usr/lib/libz.so.$(ZLIB_VER)
+zlib: uclibc $(TARGET_DIR)/usr/lib/libz.so.$(ZLIB_VERSION)
zlib-source: $(DL_DIR)/$(ZLIB_SOURCE)