diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-15 14:04:57 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-15 14:04:57 +0000 |
commit | 7ca61b6f3379bf66b446617b8834d92c13b366dd (patch) | |
tree | c0aaacfeb97a9bc74e73f8ff36ecbf1fd173808b /archival/libunarchive | |
parent | 8c9daa12dcb4c1aa8f0f475896c9cfbcfb38370d (diff) | |
download | busybox-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/libunarchive')
-rw-r--r-- | archival/libunarchive/Makefile.in | 34 |
1 files changed, 16 insertions, 18 deletions
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 | ||
20 | LIBUNARCHIVE_AR:=libunarchive.a | 8 | LIBUNARCHIVE_AR:=libunarchive.a |
21 | ifndef $(LIBUNARCHIVE_DIR) | 9 | ifndef $(LIBUNARCHIVE_DIR) |
22 | LIBUNARCHIVE_DIR:=$(top_builddir)/archival/libunarchive/ | 10 | LIBUNARCHIVE_DIR:=$(top_builddir)/archival/libunarchive |
23 | endif | 11 | endif |
24 | srcdir=$(top_srcdir)/archival/libunarchive | 12 | srcdir=$(top_srcdir)/archival/libunarchive |
25 | 13 | ||
14 | LIBUNARCHIVE-obj:=$(LIBUNARCHIVE_DIR)/$(LIBUNARCHIVE_AR) | ||
15 | LIBUNARCHIVE-pic:=$(LIBUNARCHIVE_DIR)/$(subst .a,-pic.a,$(LIBUNARCHIVE_AR)) | ||
16 | |||
17 | libraries-y+=$(LIBUNARCHIVE-obj) | ||
18 | |||
26 | LIBUNARCHIVE-y:= \ | 19 | LIBUNARCHIVE-y:= \ |
27 | \ | 20 | \ |
28 | data_skip.o \ | 21 | data_skip.o \ |
@@ -74,12 +67,17 @@ LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_COMPRESS) += decompress_uncompress.o | |||
74 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o | 67 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o |
75 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) | 68 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) |
76 | 69 | ||
77 | libraries-y+=$(LIBUNARCHIVE_DIR)$(LIBUNARCHIVE_AR) | ||
78 | 70 | ||
79 | LIBUNARCHIVE-y:=$(sort $(LIBUNARCHIVE-y)) | 71 | LIBUNARCHIVE-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 | 73 | LIBUNARCHIVE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBUNARCHIVE-y))) |
74 | LIBUNARCHIVE_SRC-a:=$(wildcard $(srcdir)/*.c) | ||
75 | LIBRARY_SRC-y+=$(LIBUNARCHIVE_SRC-y) | ||
76 | LIBRARY_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 | ||