]> git.saurik.com Git - apple/boot.git/blob - gen/libsa/Makefile
boot-80.1.tar.gz
[apple/boot.git] / gen / libsa / Makefile
1
2 DIR = libsa
3 include ../MakePaths.dir
4
5 UTILDIR = ../util
6 INSTALL_MI_DIR = $(DSTROOT)/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/machdep/machine
7
8 DEBUG = -O
9 CFLAGS = $(DEBUG) $(MORECPP) -arch i386 -g -Wmost -Wno-precomp -munaligned-text
10 DEFINES=
11 CONFIG = hd
12 INC = -I. -I$(SYMROOT) -I$(UTILDIR)
13 ifneq "" "$(wildcard /bin/mkdirs)"
14 MKDIRS = /bin/mkdirs
15 else
16 MKDIRS = /bin/mkdir -p
17 endif
18 AS = as
19 LD = ld
20 # LIBS= -lc_static
21 LIBS=
22
23 VPATH = $(OBJROOT):$(SYMROOT)
24
25 INSTALLED_MI_HFILES = kernBootStruct.h
26
27 clean::
28 @echo "Nothing to clean (yet)"
29
30 all:
31 @echo "Nothing to build (yet)"
32
33 $(INSTALL_MI_DIR):
34 $(MKDIRS) $@
35
36 installhdrs:: $(INSTALL_MI_DIR)
37 cp $(INSTALLED_MI_HFILES) $(INSTALL_MI_DIR)
38
39 include ../MakeInc.dir
40
41 # dependencies
42 -include $(OBJROOT)/Makedep