File: powerpc-macosx.defs

package info (click to toggle)
gcl 2.6.7%2Bdfsga-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 84,796 kB
  • sloc: ansic: 452,686; lisp: 156,133; asm: 111,405; sh: 29,299; cpp: 18,599; perl: 5,602; makefile: 5,201; tcl: 3,181; sed: 469; yacc: 378; lex: 174; fortran: 48; awk: 30; csh: 23
file content (35 lines) | stat: -rw-r--r-- 1,053 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# powerpc-macosx.defs

# Disable Apple's custom C preprocessor which gets confused when
# preprocessing some of the *.d files in the o/ subdirectory.
CC = gcc $(CPPFLAGS)

# Set this to avoid warnings when linking against libncurses.
# This is due to the requirements of the two level namespace.
LIBS := `echo $(LIBS) | sed -e 's/-lncurses/ /'`

# Set this for the linker to operate correctly.
MACOSX_DEPLOYMENT_TARGET = 10.2

# Define this to build an executable rsym.
RSYM = rsym
ifneq ($(findstring bfd,$(LIBS)),) 
RSYM = 
endif
ifneq ($(BUILD_BFD),) 
RSYM    = 
endif

# Define this in order to compile sfasl.c.
SFASL = $(ODIR)/sfasl.o

# When using SFASL it is good to have (si::build-symbol-table).
# (However, I'm not sure this init form will ever get called.)
INITFORM = (si::build-symbol-table)

# This is Apple's libtool, completely unrelated to GNU libtool.
# Other plateforms define this to be `ar rs`.
# This appears to be no longer necessary on Panther.
ARRS = libtool -static -o

FINAL_CFLAGS := `echo $(FINAL_CFLAGS) | sed -e 's:-g::g'`