7 include ../config/common.mk
10 # compilation flags, etc.
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
20 ASPPFLAGS = $(INCLUDE) $(CONFIG_ASPPFLAGS) \
21 -DPCR_NO_RENAME -DPCR_NO_HOSTDEP_ERR -DASM
23 ASFLAGS = $(CONFIG_ASFLAGS)
25 LDRFLAGS = $(CONFIG_LDRFLAGS)
27 LDFLAGS = $(CONFIG_LDFLAGS)
33 # BEGIN PACKAGE-SPECIFIC PART
39 # Fix to point to local pcr installation directory.
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
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
50 gc.o: $(COBJ) mach_dep.o
51 $(LDR) $(CONFIG_LDRFLAGS) -o gc.o $(COBJ) mach_dep.o
54 mach_dep.o: mach_dep.c mips_mach_dep.s rs6000_mach_dep.s if_mach if_not_there
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
62 if_mach: if_mach.c gcconfig.h
63 $(CC) $(CFLAGS) -o if_mach if_mach.c
65 if_not_there: if_not_there.c
66 $(CC) $(CFLAGS) -o if_not_there if_not_there.c