[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.4, Wed Jan 5 14:17:31 2005 UTC (12 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.3: +17 -4 lines

Merge up to 2.6.10.
Merge of 2.6.x-xfs-melb:linux:21010a by kenmcd.

#
# Makefile for some libs needed by zImage.
#

CFLAGS_kbd.o	:= -Idrivers/char
CFLAGS_vreset.o := -I$(srctree)/arch/ppc/boot/include

zlib  := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.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)