Magellan Linux

Annotation of /trunk/mkinitrd-magellan/klibc/usr/gzip/Kbuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (hide annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File size: 500 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 niro 532 #
2     # Kbuild file for gzip
3     #
4    
5     # The gzip executable
6     static-y := gzip
7     gzip-y := gzip.o util.o unzip.o inflate.o
8    
9     # Additional targets
10     always := gunzip zcat
11    
12     # Optional ZIP support
13     gzip-$(CONFIG_KLIB_ZIP) += zip.o deflate.o trees.o bits.o
14     cflags-$(CONFIG_KLIB_ZIP) += -DSUPPORT_ZIP
15     EXTRA_KLIBCCFLAGS := $(cflags-y)
16    
17     # Additionally linked targets
18     $(obj)/gunzip $(obj)/zcat: $(obj)/gzip
19     $(call cmd,ln)
20    
21     # Cleaning
22     targets := gzip gzip.g gunzip zcat
23    
24     # Targets to install
25     install-y := gzip gunzip zcat