7ad95d62eff58d7c8ed21019257aa9138cc8322a
[sbcl.git] / src / runtime / Config.alpha-osf1
1 # -*- makefile -*- for the C-level run-time support for SBCL
2
3 # This software is part of the SBCL system. See the README file for
4 # more information.
5 #
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more information.
11
12 CFLAGS += -Dosf1 -O0 -g -D_XOPEN_SOURCE=500 -D_OSF_SOURCE=500
13 CFLAGS += -msg_disable newlocale
14 ASFLAGS += -Dosf1 #-ULANGUAGE_ASSEMBLY
15 LD = ld -xtaso
16 LINKFLAGS = -non_shared # dynamic -v -g  -Wl,-T  -Wl,ld-script.alpha-linux
17 # Digital^WCompaq^WHP's cc declares `static inline' functions to exist
18 # in multiple places in the binary; we add the '-g' flag to suppress all
19 # internal (i.e. static) function names being spat out.  GENESIS
20 # complains about the multiple references and they aren't referenceable
21 # by anything outside the binary anyway.
22 NM = nm -B -g
23
24 ASSEM_SRC = alpha-assem.s # ldso-stubs.s
25 ARCH_SRC = alpha-arch.c undefineds.c
26
27 # cancel gnumake's builtin rule for .S files, because digital's cc doesn't
28 # know what to do with them
29 %.o: %.S
30
31 # copy .S files to .s, because digital cc does know what to do with _those_
32 %.s:%.S
33         cp $^ $@
34
35 # ... and let the main makefile clean the .s properly.
36 OS_CLEAN_FILES += $(ASSEM_SRC)
37
38 OS_SRC = osf1-os.c alpha-osf1-os.c
39 OS_LIBS = #-ldl
40
41 GC_SRC = cheneygc.c