X-Git-Url: https://git.saurik.com/apple/boot.git/blobdiff_plain/75b89a82fae8b6d553467b92cb5431b2b5b4df7e..bba600dda0ea8a76d875db7308f372bfc43f8506:/i386/libsaio/Makefile diff --git a/i386/libsaio/Makefile b/i386/libsaio/Makefile index 079c6a0..517f141 100644 --- a/i386/libsaio/Makefile +++ b/i386/libsaio/Makefile @@ -5,15 +5,18 @@ include ../MakePaths.dir UTILDIR = ../util LIBSADIR = ../libsa INSTALLDIR = $(DSTROOT)/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/standalone -SYMROOT= - -OPTIM = -Os -CFLAGS = $(RC_CFLAGS) $(OPTIM) $(MORECPP) -arch i386 -g -Wmost -Werror \ - -D__ARCHITECTURE__=\"i386\" -DSAIO_INTERNAL_USER -fno-builtin -static \ - -DRCZ_COMPRESSED_FILE_SUPPORT +#SYMROOT= + +OPTIM = -Os -Oz +CFLAGS = $(RC_CFLAGS) $(OPTIM) $(MORECPP) -arch i386 -g -Wmost \ + -D__ARCHITECTURE__=\"i386\" -DSAIO_INTERNAL_USER \ + -DRCZ_COMPRESSED_FILE_SUPPORT \ + -fno-builtin -static -fomit-frame-pointer \ + -mpreferred-stack-boundary=2 -fno-align-functions \ + -mno-sse2 -mfpmath=387 DEFINES= CONFIG = hd -INC = -I../rcz -I. -I$(SYMROOT) -I$(UTILDIR) -I$(LIBSADIR) -I/System/Library/Frameworks/System.framework/PrivateHeaders +INC = -I../rcz -I. -I$(SYMROOT) -I$(UTILDIR) -I$(LIBSADIR) ifneq "" "$(wildcard /bin/mkdirs)" MKDIRS = /bin/mkdirs else @@ -28,9 +31,11 @@ VPATH = $(OBJROOT):$(SYMROOT) SAIO_OBJS = table.o asm.o bios.o biosfn.o \ disk.o sys.o cache.o bootstruct.o \ + stringTable.o load.o memory.o misc.o \ ufs.o ufs_byteorder.o \ - stringTable.o load.o misc.o \ - vbe.o nbp.o hfs.o hfs_compare.o + vbe.o nbp.o hfs.o hfs_compare.o \ + xml.o ntfs.o msdos.o md5c.o device_tree.o + SAIO_EXTERN_OBJS = console.o @@ -60,7 +65,7 @@ all: $(DIRS_NEEDED) libsaio.h $(LIBS) libsaio.a: $(SAIO_EXTERN_OBJS) $(SAIO_OBJS) rm -f $(SYMROOT)/$(@F) - ar q $(SYMROOT)/$(@F) $(SAIO_EXTERN_OBJS) $(SAIO_OBJS) + ar q $(SYMROOT)/$(@F) $^ ranlib $(SYMROOT)/$(@F) #saio_internal.h: saio_external.h