Prune old and used stuff from makefiles.
[sbcl.git] / src / runtime / Config.alpha-osf1
blobc16b9e34ecd9d446fe0169c5909ee0efa41e9ccf
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
4 # more information.
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 #LD = ld -xtaso ;; $LD is no longer used anywhere, should that be moved below?
15 LINKFLAGS = -non_shared # dynamic -v -g  -Wl,-T  -Wl,ld-script.alpha-linux
16 # Digital^WCompaq^WHP's cc declares `static inline' functions to exist
17 # in multiple places in the binary; we add the '-g' flag to suppress all
18 # internal (i.e. static) function names being spat out.  GENESIS
19 # complains about the multiple references and they aren't referenceable
20 # by anything outside the binary anyway.
21 NM = nm -B -g
23 ASSEM_SRC = alpha-assem.s # ldso-stubs.s
24 ARCH_SRC = alpha-arch.c undefineds.c
26 # cancel gnumake's builtin rule for .S files, because digital's cc doesn't
27 # know what to do with them
28 %.o: %.S
30 # copy .S files to .s, because digital cc does know what to do with _those_
31 %.s:%.S
32         cp $^ $@
34 # ... and let the main makefile clean the .s properly.
35 OS_CLEAN_FILES += $(ASSEM_SRC)
37 OS_SRC = osf1-os.c alpha-osf1-os.c
38 OS_LIBS = #-ldl
39 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
40   OS_LIBS += -lz
41 endif
43 GC_SRC = cheneygc.c
45 # Nothing to do for after-grovel-headers.
46 .PHONY: after-grovel-headers
47 after-grovel-headers: