]>
Commit | Line | Data |
---|---|---|
87e33a6f | 1 | # |
f9328639 | 2 | # (C) Copyright 2000-2006 |
87e33a6f WD |
3 | # Wolfgang Denk, DENX Software Engineering, [email protected]. |
4 | # | |
5 | # See file CREDITS for list of people who contributed to this | |
6 | # project. | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or | |
9 | # modify it under the terms of the GNU General Public License as | |
10 | # published by the Free Software Foundation; either version 2 of | |
11 | # the License, or (at your option) any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | # MA 02111-1307 USA | |
22 | # | |
23 | ||
24 | include $(TOPDIR)/config.mk | |
25 | ||
f9328639 | 26 | LIB = $(obj)libgeneric.a |
87e33a6f | 27 | |
63240ba8 | 28 | COBJS-$(CONFIG_ADDR_MAP) += addr_map.o |
ab76e984 MF |
29 | COBJS-$(CONFIG_BZIP2) += bzlib.o |
30 | COBJS-$(CONFIG_BZIP2) += bzlib_crctable.o | |
31 | COBJS-$(CONFIG_BZIP2) += bzlib_decompress.o | |
32 | COBJS-$(CONFIG_BZIP2) += bzlib_randtable.o | |
33 | COBJS-$(CONFIG_BZIP2) += bzlib_huffman.o | |
9ef78511 | 34 | COBJS-$(CONFIG_USB_TTY) += circbuf.o |
bbf52df9 | 35 | COBJS-y += crc16.o |
f0037c56 GL |
36 | COBJS-y += crc32.o |
37 | COBJS-y += ctype.o | |
38 | COBJS-y += display_options.o | |
39 | COBJS-y += div64.o | |
717a2222 | 40 | COBJS-y += gunzip.o |
4ed6552f | 41 | COBJS-y += lmb.o |
f0037c56 | 42 | COBJS-y += ldiv.o |
0ede0c38 | 43 | COBJS-$(CONFIG_MD5) += md5.o |
6a45e384 | 44 | COBJS-y += net_utils.o |
f0037c56 | 45 | COBJS-y += sha1.o |
b571afde | 46 | COBJS-$(CONFIG_SHA256) += sha256.o |
f0037c56 | 47 | COBJS-y += string.o |
0768b7a8 | 48 | COBJS-y += strmhz.o |
3eb90bad | 49 | COBJS-y += time.o |
f0037c56 GL |
50 | COBJS-y += vsprintf.o |
51 | COBJS-y += zlib.o | |
7ba890bf | 52 | COBJS-$(CONFIG_RBTREE) += rbtree.o |
f0037c56 GL |
53 | |
54 | COBJS := $(COBJS-y) | |
53677ef1 | 55 | SRCS := $(COBJS:.o=.c) |
f9328639 | 56 | OBJS := $(addprefix $(obj),$(COBJS)) |
87e33a6f | 57 | |
f9328639 | 58 | $(LIB): $(obj).depend $(OBJS) |
2b208f53 | 59 | $(AR) $(ARFLAGS) $@ $(OBJS) |
87e33a6f WD |
60 | |
61 | ######################################################################### | |
62 | ||
f9328639 MB |
63 | # defines $(obj).depend target |
64 | include $(SRCTREE)/rules.mk | |
87e33a6f | 65 | |
f9328639 | 66 | sinclude $(obj).depend |
87e33a6f WD |
67 | |
68 | ######################################################################### |