add read_vmlinuz.c

This commit is contained in:
Laurent Vivier 2005-11-17 13:23:34 +00:00
parent 29e60b8681
commit 672a59c142

View File

@ -11,18 +11,17 @@ AR=$(CROSS_COMPILE)ar
PROGRAMS = emile-set-cmdline emile-first-tune emile-install \ PROGRAMS = emile-set-cmdline emile-first-tune emile-install \
emile-set-output emile emile-map-set iso9660_ls \ emile-set-output emile emile-map-set iso9660_ls \
iso9660_cat iso9660_cat minigzip read_vmlinuz
DISTFILES = emile-set-cmdline.c Makefile emile-first-tune.c \ SOURCES = emile-set-cmdline.c Makefile emile-first-tune.c \
emile-install.c emile-set-output.c emile.c \ emile-install.c emile-set-output.c emile.c \
emile_scanbus.c emile-map-set.c iso9660_ls.c \ emile_scanbus.c emile-map-set.c iso9660_ls.c \
iso9660_cat.c iso9660_cat.c minigzip.c read_vmlinuz.c
CPPFLAGS = $(CROSS_COMPILE_CPPFLAGS) -DSIGNATURE="\"$(SIGNATURE)\"" -DPREFIX=\"$(PREFIX)\" \ CPPFLAGS = $(CROSS_COMPILE_CPPFLAGS) -DSIGNATURE="\"$(SIGNATURE)\"" -DPREFIX=\"$(PREFIX)\" \
-I../libemile -I../libiso9660 -I../libemile -I../libiso9660 -I../libgzip -DFATFREE -DNO_GZCOMPRESS
CFLAGS = -Wall -g CFLAGS = -Wall -g
LDLIBS = $(CROSS_COMPILE_LDFLAGS) -L../libemile -lemile -L../libiso9660/native -liso9660 LDLIBS = $(CROSS_COMPILE_LDFLAGS) -L../libemile -lemile -L../libiso9660/native -liso9660 -L../libgzip/native -lgzip
all: $(PROGRAMS) all: $(PROGRAMS)
@ -34,6 +33,10 @@ iso9660_ls: iso9660_ls.o device.o
iso9660_cat: iso9660_cat.o device.o iso9660_cat: iso9660_cat.o device.o
minigzip: minigzip.c gzio.c
read_vmlinuz: read_vmlinuz.o gzio.o
install: install:
install -d $(DESTDIR)/$(PREFIX)/sbin/ install -d $(DESTDIR)/$(PREFIX)/sbin/
install emile-set-cmdline $(DESTDIR)/$(PREFIX)/sbin/emile-set-cmdline install emile-set-cmdline $(DESTDIR)/$(PREFIX)/sbin/emile-set-cmdline