1 # -*- makefile -*- for the C-level run-time support for SBCL
3 # This software is part of the SBCL system. See the README file for
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.
12 CFLAGS += -Dosf1 -O0 -g -D_XOPEN_SOURCE=500 -D_OSF_SOURCE=500
13 CFLAGS += -msg_disable newlocale
14 ASFLAGS += -Dosf1 #-ULANGUAGE_ASSEMBLY
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.
24 ASSEM_SRC = alpha-assem.s # ldso-stubs.s
25 ARCH_SRC = alpha-arch.c undefineds.c
27 # cancel gnumake's builtin rule for .S files, because digital's cc doesn't
28 # know what to do with them
31 # copy .S files to .s, because digital cc does know what to do with _those_
35 # ... and let the main makefile clean the .s properly.
36 OS_CLEAN_FILES += $(ASSEM_SRC)
38 OS_SRC = osf1-os.c alpha-osf1-os.c
43 # Nothing to do for after-grovel-headers.
44 .PHONY: after-grovel-headers