1 |
# |
# powerpc-macosx.defs |
|
# For MacOS X |
|
|
# |
|
2 |
|
|
3 |
# Disable Apple's custom C preprocessor which gets confused when |
# Disable Apple's custom C preprocessor which gets confused when |
4 |
# preprocessing some of the *.d files in the o/ subdirectory. |
# preprocessing some of the *.d files in the o/ subdirectory. |
5 |
CC = gcc -no-cpp-precomp |
CC = gcc $(CPPFLAGS) |
6 |
|
|
7 |
# Set this to avoid warnings when linking against libncurses. |
# Set this to avoid warnings when linking against libncurses. |
8 |
LIBS = -lSystem -lreadline -ldl |
# This is due to the requirements of the two level namespace. |
9 |
|
LIBS := `echo $(LIBS) | sed -e 's/-lncurses/ /'` |
10 |
|
|
11 |
# Set this for the linker to operate correctly. |
# Set this for the linker to operate correctly. |
12 |
MACOSX_DEPLOYMENT_TARGET = 10.2 |
MACOSX_DEPLOYMENT_TARGET = 10.2 |
13 |
|
|
14 |
LDCC = ld -X -seglinkedit -segprot __TEXT rwx rwx /lib/crt0.o |
# Defines this to build an executable rsym. |
15 |
|
RSYM = rsym |
16 |
|
|
17 |
|
# Defines this in order to compile sfasl.c. |
18 |
|
SFASL = $(ODIR)/sfasl.o |
19 |
|
|
20 |
|
# When using SFASL it is good to have (si::build-symbol-table). |
21 |
|
INITFORM = (si::build-symbol-table) |