OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [boehm-gc/] [PCR-Makefile] - Blame information for rev 721

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 721 jeremybenn
#
2
# Default target
3
#
4
 
5
default: gc.o
6
 
7
include ../config/common.mk
8
 
9
#
10
# compilation flags, etc.
11
#
12
 
13
 
14
CPPFLAGS = $(INCLUDE) $(CONFIG_CPPFLAGS) \
15
        -DPCR_NO_RENAME -DPCR_NO_HOSTDEP_ERR
16
#CFLAGS = -DPCR -DSILENT $(CONFIG_CFLAGS)
17
CFLAGS  = -DPCR $(CONFIG_CFLAGS)
18
SPECIALCFLAGS =         # For code involving asm's
19
 
20
ASPPFLAGS  = $(INCLUDE) $(CONFIG_ASPPFLAGS) \
21
        -DPCR_NO_RENAME -DPCR_NO_HOSTDEP_ERR -DASM
22
 
23
ASFLAGS = $(CONFIG_ASFLAGS)
24
 
25
LDRFLAGS = $(CONFIG_LDRFLAGS)
26
 
27
LDFLAGS = $(CONFIG_LDFLAGS)
28
 
29
#
30
#
31
#
32
#
33
# BEGIN PACKAGE-SPECIFIC PART
34
#
35
#
36
#
37
#
38
 
39
# Fix to point to local pcr installation directory.
40
PCRDIR= ..
41
 
42
COBJ= alloc.o reclaim.o allchblk.o misc.o os_dep.o mark_rts.o headers.o mark.o obj_map.o pcr_interface.o blacklst.o finalize.o new_hblk.o real_malloc.o dyn_load.o dbg_mlc.o malloc.o stubborn.o checksums.o solaris_threads.o typd_mlc.o ptr_chck.o mallocx.o
43
 
44
CSRC= reclaim.c allchblk.c misc.c alloc.c mach_dep.c os_dep.c mark_rts.c headers.c mark.c obj_map.c pcr_interface.c blacklst.c finalize.c new_hblk.c real_malloc.c dyn_load.c dbg_mlc.c malloc.c stubborn.c checksums.c solaris_threads.c typd_mlc.c ptr_chck.c mallocx.c
45
 
46
SHELL= /bin/sh
47
 
48
default: gc.o
49
 
50
gc.o: $(COBJ) mach_dep.o
51
        $(LDR) $(CONFIG_LDRFLAGS) -o gc.o $(COBJ) mach_dep.o
52
 
53
 
54
mach_dep.o: mach_dep.c mips_mach_dep.s rs6000_mach_dep.s if_mach if_not_there
55
        rm -f mach_dep.o
56
        ./if_mach MIPS "" as -o mach_dep.o mips_mach_dep.s
57
        ./if_mach RS6000 "" as -o mach_dep.o rs6000_mach_dep.s
58
        ./if_mach ALPHA "" as -o mach_dep.o alpha_mach_dep.s
59
        ./if_mach SPARC SUNOS5 as -o mach_dep.o sparc_mach_dep.s
60
        ./if_not_there mach_dep.o $(CC) -c $(SPECIALCFLAGS) mach_dep.c
61
 
62
if_mach: if_mach.c gcconfig.h
63
        $(CC) $(CFLAGS) -o if_mach if_mach.c
64
 
65
if_not_there: if_not_there.c
66
        $(CC) $(CFLAGS) -o if_not_there if_not_there.c
67
 
68
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.