1 export USE_APPLE_PB_SUPPORT = all
3 # Makefile for kernel booter
5 # CFLAGS = -O $(MORECPP) -arch i386 -g -munaligned-text
10 ifneq "" "$(wildcard /bin/mkdirs)"
13 MKDIRS = /bin/mkdir -p
23 ARCHLESS_RC_CFLAGS=`echo $(RC_CFLAGS) | sed 's/-arch [a-z0-9]*//g'`
25 VPATH = $(OBJROOT):$(SYMROOT)
30 # Currently builds for i386
33 all tags clean debug install installhdrs: $(SYMROOT) $(OBJROOT)
34 @if [ -z "$(RC_ARCHS)" ]; then \
37 SUBDIRS="$(GENERIC_SUBDIRS) $$RC_ARCHS"; \
41 echo ================= make $@ for $$i =================; \
42 ( OBJROOT=$(OBJROOT)/$${i}; \
43 SYMROOT=$(SYMROOT)/$${i}; \
45 echo "$$OBJROOT $$SYMROOT $$DSTROOT"; \
51 "RC_ARCHS=$$RC_ARCHS" \
53 "RC_KANJI=$(RC_KANJI)" \
54 "JAPANESE=$(JAPANESE)" \
55 "RC_CFLAGS=$(ARCHLESS_RC_CFLAGS)" $@ \
58 echo "========= nothing to build for $$i ========="; \
63 gnutar cf - . | (cd ${SRCROOT}; gnutar xpf -)
65 $(SYMROOT) $(OBJROOT) $(DSTROOT):