mirror of
https://github.com/vivier/EMILE.git
synced 2024-05-31 17:41:33 +00:00
rename hard->scsi, add full with SCSI & floppy support
This commit is contained in:
parent
59b17aba2c
commit
6b07f02989
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
||||
# (c) 2005,2007 Laurent Vivier <Laurent@lvivier.info>
|
||||
#
|
||||
|
||||
TOP = $(shell pwd)
|
||||
|
@ -9,23 +9,35 @@ CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -g -O2 -Os
|
|||
#-m68000 -Wa,-m68000
|
||||
CPPFLAGS = -I$(TOP)/../libmacos -I$(TOP) -I$(TOP)/../libgzip
|
||||
|
||||
LIBRARIES = hard/libstream.a floppy/libstream.a
|
||||
LIBRARIES = scsi/libstream.a floppy/libstream.a full/libstream.a
|
||||
|
||||
SOURCES = stream_close.c stream_open.c stream_read.c stream_lseek.c \
|
||||
stream_uncompress.c gzio.c stream_fstat.c
|
||||
|
||||
HEADERS = libstream.h
|
||||
|
||||
SCSI_FLAGS = -DSCSI_SUPPORT -I$(TOP)/../libscsi
|
||||
ISO9660_FLAGS = -DISO9660_SUPPORT -I$(TOP)/../libiso9660
|
||||
CONTAINER_FLAGS = -DCONTAINER_SUPPORT -I$(TOP)/../libcontainer
|
||||
FLOPPY_FLAGS = -DFLOPPY_SUPPORT -I$(TOP)/../libfloppy
|
||||
BLOCK_FLAGS = -DBLOCK_SUPPORT -I$(TOP)/../libblock
|
||||
|
||||
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 \
|
||||
-DCONTAINER_SUPPORT -I$(TOP)/../libcontainer" libstream.a
|
||||
scsi/libstream.a::
|
||||
test -e scsi || mkdir scsi
|
||||
$(MAKE) -C scsi -f $(TOP)/Makefile TOP=$(TOP) LIBRARY=libstream.a CPPFLAGS="$(CPPFLAGS) \
|
||||
$(SCSI_FLAGS) $(CONTAINER_FLAGS) $(ISO9660_FLAGS)" 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
|
||||
$(MAKE) -C floppy -f $(TOP)/Makefile TOP=$(TOP) LIBRARY=libstream.a \
|
||||
CPPFLAGS="$(CPPFLAGS) $(FLOPPY_FLAGS) $(BLOCK_FLAGS)" libstream.a
|
||||
|
||||
full/libstream.a::
|
||||
test -e full || mkdir full
|
||||
$(MAKE) -C full -f $(TOP)/Makefile TOP=$(TOP) LIBRARY=libstream.a \
|
||||
CPPFLAGS="$(CPPFLAGS) $(SCSI_FLAGS) $(CONTAINER_FLAGS) \
|
||||
$(ISO9660_FLAGS) $(FLOPPY_FLAGS) $(BLOCK_FLAGS)" libstream.a
|
||||
|
||||
include $(TOP)/../Rules.mk
|
||||
|
|
Loading…
Reference in New Issue
Block a user