2005-11-08 02:16:50 +00:00
|
|
|
#
|
|
|
|
# (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2005-11-16 14:00:27 +00:00
|
|
|
TOP=$(shell pwd)
|
|
|
|
|
2005-05-10 20:20:15 +00:00
|
|
|
AS=$(CROSS_COMPILE)as
|
|
|
|
CC=$(CROSS_COMPILE)gcc
|
|
|
|
LD=$(CROSS_COMPILE)ld
|
|
|
|
AR=$(CROSS_COMPILE)ar
|
|
|
|
|
|
|
|
CPPFLAGS = $(CROSS_COMPILE_CPPFLAGS)
|
|
|
|
LDFLAGS = $(CROSS_COMPILE_LDFLAGS)
|
|
|
|
|
2004-12-09 22:57:09 +00:00
|
|
|
LIBRARY = libemile.a
|
|
|
|
|
2005-11-16 14:00:27 +00:00
|
|
|
SOURCES = emile_block0_write.c emile_checksum.c emile_first_get_param.c \
|
|
|
|
emile_first_set_param.c emile_first_set_param_scsi.c \
|
2005-11-28 20:53:57 +00:00
|
|
|
emile_floppy_create_image.c \
|
2005-11-16 14:00:27 +00:00
|
|
|
emile_map_bootblock_get_type.c emile_map_bootblock_is_valid.c \
|
|
|
|
emile_map_bootblock_read.c emile_map_bootblock_write.c \
|
|
|
|
emile_map_close.c emile_map_dev.c emile_map_geometry.c \
|
|
|
|
emile_map_get_bootinfo.c emile_map_get_driver_info.c \
|
|
|
|
emile_map_get_driver_number.c emile_map_get_number.c \
|
|
|
|
emile_map_get_partition_geometry.c emile_map_get_partition_name.c \
|
|
|
|
emile_map_get_partition_type.c emile_map_has_apple_driver.c \
|
|
|
|
emile_map_is_valid.c emile_map_open.c \
|
|
|
|
emile_map_partition_get_flags.c emile_map_partition_is_bootable.c \
|
|
|
|
emile_map_partition_is_startup.c emile_map_partition_is_valid.c \
|
|
|
|
emile_map_partition_set_bootable.c emile_map_partition_set_flags.c \
|
|
|
|
emile_map_partition_set_startup.c emile_map_read.c \
|
|
|
|
emile_map_seek_driver_partition.c emile_map_set_bootinfo.c \
|
|
|
|
emile_map_set_driver_info.c emile_map_set_driver_number.c \
|
|
|
|
emile_map_set_partition_name.c emile_map_set_partition_type.c \
|
|
|
|
emile_map_set_startup.c emile_map_write.c \
|
|
|
|
emile_scsi_create_container.c emile_scsi_get_dev.c \
|
2005-11-28 20:53:57 +00:00
|
|
|
emile_scsi_get_rdev.c emile_second_get_configuration.c \
|
|
|
|
emile_second_set_configuration.c emile_second_get_next_property.c \
|
2005-11-28 21:35:02 +00:00
|
|
|
emile_second_get_property.c emile_second_set_property.c \
|
|
|
|
emile_second_remove_property.c
|
2004-12-09 22:57:09 +00:00
|
|
|
|
2005-11-08 02:16:50 +00:00
|
|
|
HEADERS = emile.h libemile.h partition.h bootblock.h
|
|
|
|
|
2004-12-21 15:17:37 +00:00
|
|
|
CFLAGS = -Wall -g
|
2005-11-26 08:45:07 +00:00
|
|
|
CPPFLAGS = -I../libmacos -I../libcontainer -I../libstream
|
2004-12-09 22:57:09 +00:00
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
2005-11-16 14:00:27 +00:00
|
|
|
include $(TOP)/../Rules.mk
|