3 include ../MakePaths.dir
7 INSTALLDIR = $(DSTROOT)/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/standalone
11 CFLAGS = $(RC_CFLAGS) $(OPTIM) $(MORECPP) -arch i386 -g -Wmost -Wno-precomp \
12 -D__ARCHITECTURE__=\"i386\" -DSAIO_INTERNAL_USER -munaligned-text -static \
13 -traditional-cpp -DRCZ_COMPRESSED_FILE_SUPPORT
16 INC = -I../rcz -I. -I$(SYMROOT) -I$(UTILDIR) -I$(LIBSADIR) -I/System/Library/Frameworks/System.framework/PrivateHeaders
17 ifneq "" "$(wildcard /bin/mkdirs)"
20 MKDIRS = /bin/mkdir -p
27 VPATH = $(OBJROOT):$(SYMROOT)
29 SAIO_OBJS = table.o asm.o biosfn.o misc.o gets.o \
30 vga.o disk.o sys.o cache.o \
31 ufs_byteorder.o bootstruct.o \
32 stringTable.o load.o \
33 bios.o pci.o vbe.o nbp.o
35 SAIO_EXTERN_OBJS = console.o
43 ALLSRC = $(SFILES) $(CFILES) \
44 $(HFILES) $(OTHERFILES)
46 DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
47 #GENFILES = $(SYMROOT)/saio_internal.h \
48 # $(SYMROOT)/saio_external.h \
49 # $(SYMROOT)/saio_defs.h \
50 # $(SYMROOT)/saio_table.c
54 all: $(DIRS_NEEDED) libsaio.h $(LIBS)
56 #libsaio_static.a: $(SAIO_OBJS)
58 # ar q $(SYMROOT)/$@ $(SAIO_OBJS)
59 # ranlib $(SYMROOT)/$@
61 libsaio.a: $(SAIO_EXTERN_OBJS) $(SAIO_OBJS)
62 rm -f $(SYMROOT)/$(@F)
63 ar q $(SYMROOT)/$(@F) $(SAIO_EXTERN_OBJS) $(SAIO_OBJS)
64 ranlib $(SYMROOT)/$(@F)
66 #saio_internal.h: saio_external.h
67 #saio_table.c: saio_external.h
68 #saio_defs.h: saio_external.h
69 #saio_external.h: saio.def
70 # $(SIG) -d $(SYMROOT) -n saio saio.def
73 rm -rf $(SYMROOT)/libsaio.a
75 #installhdrs:: $(INSTALLDIR)
76 # cp $(INSTALLED_HFILES) $(INSTALLDIR)
78 include ../MakeInc.dir
81 -include $(OBJROOT)/Makedep