[BACK]Return to Makefile CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / ppc / boot / lib

File: [Development] / linux-2.6-xfs / arch / ppc / boot / lib / Attic / Makefile (download)

Revision 1.6, Fri Oct 13 17:03:09 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.5: +1 -1 lines

Merge up to 2.6.18
Merge of 2.6.x-xfs-melb:linux:27192b by kenmcd.

#
# Makefile for some libs needed by zImage.
#

CFLAGS_kbd.o	:= -Idrivers/char
CFLAGS_vreset.o := -Iarch/ppc/boot/include

zlib  := inffast.c inflate.c inftrees.c
	 
lib-y += $(zlib:.c=.o) div64.o
lib-$(CONFIG_VGA_CONSOLE) += vreset.o kbd.o


# zlib files needs header from their original place
EXTRA_CFLAGS += -Ilib/zlib_inflate

quiet_cmd_copy_zlib = COPY    $@
      cmd_copy_zlib = cat $< > $@

$(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
	$(call cmd,copy_zlib)

clean-files := $(zlib)