aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-15 14:04:57 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-15 14:04:57 +0000
commit7ca61b6f3379bf66b446617b8834d92c13b366dd (patch)
treec0aaacfeb97a9bc74e73f8ff36ecbf1fd173808b /archival
parent8c9daa12dcb4c1aa8f0f475896c9cfbcfb38370d (diff)
downloadbusybox-w32-7ca61b6f3379bf66b446617b8834d92c13b366dd.tar.gz
busybox-w32-7ca61b6f3379bf66b446617b8834d92c13b366dd.tar.bz2
busybox-w32-7ca61b6f3379bf66b446617b8834d92c13b366dd.zip
- shared libbusybox.
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
Diffstat (limited to 'archival')
-rw-r--r--archival/Makefile.in7
-rw-r--r--archival/libunarchive/Makefile.in34
2 files changed, 22 insertions, 19 deletions
diff --git a/archival/Makefile.in b/archival/Makefile.in
index f4ec6794e..735b659e0 100644
--- a/archival/Makefile.in
+++ b/archival/Makefile.in
@@ -27,8 +27,13 @@ ARCHIVAL-$(CONFIG_UNZIP) += unzip.o
27 27
28libraries-y+=$(ARCHIVAL_DIR)$(ARCHIVAL_AR) 28libraries-y+=$(ARCHIVAL_DIR)$(ARCHIVAL_AR)
29 29
30ARCHIVAL_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(ARCHIVAL-y))
31ARCHIVAL_SRC-a:=$(wildcard $(srcdir)/*.c)
32APPLET_SRC-y+=$(ARCHIVAL_SRC-y)
33APPLET_SRC-a+=$(ARCHIVAL_SRC-a)
34
30$(ARCHIVAL_DIR)$(ARCHIVAL_AR): $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y)) 35$(ARCHIVAL_DIR)$(ARCHIVAL_AR): $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y))
31 $(AR) $(ARFLAGS) $@ $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y)) 36 $(AR) $(ARFLAGS) $@ $(^)
32 37
33$(ARCHIVAL_DIR)%.o: $(srcdir)/%.c 38$(ARCHIVAL_DIR)%.o: $(srcdir)/%.c
34 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< 39 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
diff --git a/archival/libunarchive/Makefile.in b/archival/libunarchive/Makefile.in
index 98fd76c12..99eb6386d 100644
--- a/archival/libunarchive/Makefile.in
+++ b/archival/libunarchive/Makefile.in
@@ -2,27 +2,20 @@
2# 2#
3# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 3# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
4# 4#
5# This program is free software; you can redistribute it and/or modify 5# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18# 6#
19 7
20LIBUNARCHIVE_AR:=libunarchive.a 8LIBUNARCHIVE_AR:=libunarchive.a
21ifndef $(LIBUNARCHIVE_DIR) 9ifndef $(LIBUNARCHIVE_DIR)
22LIBUNARCHIVE_DIR:=$(top_builddir)/archival/libunarchive/ 10LIBUNARCHIVE_DIR:=$(top_builddir)/archival/libunarchive
23endif 11endif
24srcdir=$(top_srcdir)/archival/libunarchive 12srcdir=$(top_srcdir)/archival/libunarchive
25 13
14LIBUNARCHIVE-obj:=$(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR)
15LIBUNARCHIVE-pic:=$(LIBUNARCHIVE_DIR)/$(subst .a,-pic.a,$(LIBUNARCHIVE_AR))
16
17libraries-y+=$(LIBUNARCHIVE-obj)
18
26LIBUNARCHIVE-y:= \ 19LIBUNARCHIVE-y:= \
27\ 20\
28 data_skip.o \ 21 data_skip.o \
@@ -74,12 +67,17 @@ LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o
74LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o 67LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o
75LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) 68LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES)
76 69
77libraries-y+=$(LIBUNARCHIVE_DIR)$(LIBUNARCHIVE_AR)
78 70
79LIBUNARCHIVE-y:=$(sort $(LIBUNARCHIVE-y)) 71LIBUNARCHIVE-y:=$(sort $(LIBUNARCHIVE-y))
80$(LIBUNARCHIVE_DIR)$(LIBUNARCHIVE_AR): $(patsubst %,$(LIBUNARCHIVE_DIR)%, $(LIBUNARCHIVE-y))
81 $(AR) $(ARFLAGS) $@ $(patsubst %,$(LIBUNARCHIVE_DIR)%, $(LIBUNARCHIVE-y))
82 72
83$(LIBUNARCHIVE_DIR)%.o: $(srcdir)/%.c 73LIBUNARCHIVE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBUNARCHIVE-y)))
74LIBUNARCHIVE_SRC-a:=$(wildcard $(srcdir)/*.c)
75LIBRARY_SRC-y+=$(LIBUNARCHIVE_SRC-y)
76LIBRARY_SRC-a+=$(LIBUNARCHIVE_SRC-a)
77
78$(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR): $(patsubst %,$(LIBUNARCHIVE_DIR)/%,$(LIBUNARCHIVE-y))
79 $(AR) $(ARFLAGS) $(@) $(^)
80
81$(LIBUNARCHIVE_DIR)/%.o: $(srcdir)/%.c
84 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< 82 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
85 83