mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-20 18:29:51 +00:00
create libstream in hard/ and floppy/
This commit is contained in:
parent
85d5e7f6dd
commit
53b025cd20
@ -5,12 +5,10 @@
|
|||||||
TOP = $(shell pwd)
|
TOP = $(shell pwd)
|
||||||
VPATH=$(TOP)
|
VPATH=$(TOP)
|
||||||
|
|
||||||
CFLAGS = -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -g
|
CFLAGS = -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -g -O2
|
||||||
CPPFLAGS = -I$(TOP)/../libfloppy -I$(TOP)/../libscsi -I$(TOP)/../libblock \
|
CPPFLAGS = -I$(TOP)/../libmacos -I$(TOP) -I$(TOP)/../libgzip
|
||||||
-I$(TOP)/../libblock -I$(TOP)/../libiso9660 -I$(TOP)/../libmacos \
|
|
||||||
-I$(TOP)/../libcontainer -I$(TOP) -I$(TOP)/../libgzip
|
|
||||||
|
|
||||||
LIBRARY = libstream.a
|
LIBRARIES = hard/libstream.a floppy/libstream.a
|
||||||
|
|
||||||
SOURCES = stream_close.c stream_open.c stream_read.c stream_lseek.c \
|
SOURCES = stream_close.c stream_open.c stream_read.c stream_lseek.c \
|
||||||
stream_uncompress.c gzio.c stream_fstat.c
|
stream_uncompress.c gzio.c stream_fstat.c
|
||||||
@ -19,6 +17,14 @@ HEADERS = libstream.h
|
|||||||
|
|
||||||
DISTFILES = $(SOURCES) $(HEADERS)
|
DISTFILES = $(SOURCES) $(HEADERS)
|
||||||
|
|
||||||
all: $(LIBRARY)
|
all: $(LIBRARIES)
|
||||||
|
|
||||||
|
hard/libstream.a::
|
||||||
|
test -e hard || mkdir hard
|
||||||
|
$(MAKE) -C hard -f $(TOP)/Makefile TOP=$(TOP) LIBRARY=libstream.a CPPFLAGS="$(CPPFLAGS) -DSCSI_SUPPORT -DISO9660_SUPPORT -I$(TOP)/../libscsi -I$(TOP)/../libiso9660" libstream.a
|
||||||
|
|
||||||
|
floppy/libstream.a::
|
||||||
|
test -e floppy || mkdir floppy
|
||||||
|
$(MAKE) -C floppy -f $(TOP)/Makefile TOP=$(TOP) LIBRARY=libstream.a CPPFLAGS="$(CPPFLAGS) -DFLOPPY_SUPPORT -DBLOCK_SUPPORT -I$(TOP)/../libfloppy -I$(TOP)/../libblock" libstream.a
|
||||||
|
|
||||||
include $(TOP)/../Rules.mk
|
include $(TOP)/../Rules.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user