]> Git Repo - J-u-boot.git/blame - lib_generic/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-mips
[J-u-boot.git] / lib_generic / Makefile
CommitLineData
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
24include $(TOPDIR)/config.mk
25
f9328639 26LIB = $(obj)libgeneric.a
87e33a6f 27
63240ba8 28COBJS-$(CONFIG_ADDR_MAP) += addr_map.o
ab76e984
MF
29COBJS-$(CONFIG_BZIP2) += bzlib.o
30COBJS-$(CONFIG_BZIP2) += bzlib_crctable.o
31COBJS-$(CONFIG_BZIP2) += bzlib_decompress.o
32COBJS-$(CONFIG_BZIP2) += bzlib_randtable.o
33COBJS-$(CONFIG_BZIP2) += bzlib_huffman.o
9ef78511 34COBJS-$(CONFIG_USB_TTY) += circbuf.o
bbf52df9 35COBJS-y += crc16.o
f0037c56
GL
36COBJS-y += crc32.o
37COBJS-y += ctype.o
38COBJS-y += display_options.o
39COBJS-y += div64.o
717a2222 40COBJS-y += gunzip.o
4ed6552f 41COBJS-y += lmb.o
f0037c56 42COBJS-y += ldiv.o
0ede0c38 43COBJS-$(CONFIG_MD5) += md5.o
6a45e384 44COBJS-y += net_utils.o
f0037c56 45COBJS-y += sha1.o
b571afde 46COBJS-$(CONFIG_SHA256) += sha256.o
f0037c56 47COBJS-y += string.o
0768b7a8 48COBJS-y += strmhz.o
3eb90bad 49COBJS-y += time.o
f0037c56
GL
50COBJS-y += vsprintf.o
51COBJS-y += zlib.o
7ba890bf 52COBJS-$(CONFIG_RBTREE) += rbtree.o
f0037c56
GL
53
54COBJS := $(COBJS-y)
53677ef1 55SRCS := $(COBJS:.o=.c)
f9328639 56OBJS := $(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
64include $(SRCTREE)/rules.mk
87e33a6f 65
f9328639 66sinclude $(obj).depend
87e33a6f
WD
67
68#########################################################################
This page took 0.136082 seconds and 4 git commands to generate.