summaryrefslogtreecommitdiff
path: root/PCR-Makefile
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-08-25 12:11:42 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-08-25 12:11:42 +0400
commit30db5005d67bdcd8bfacd07201b21f20ef6f8b2d (patch)
treed42db85806be5c8e1dee5e1e26fa705ea625159c /PCR-Makefile
parentf73c7687a129ac0cb3918b4bd0186d9cb48aa0f3 (diff)
downloadbdwgc-30db5005d67bdcd8bfacd07201b21f20ef6f8b2d.tar.gz
Move asm machine-dependent files to "src" folder.
* .gitignore: Add entries from "src" folder; add auto-generated files by CMake; allow a suffix for "libatomic_ops" folder. * Makefile.direct (SRCS, mach_dep.o): Move sparc_mach_dep.S, sparc_sunos4_mach_dep.s, sparc_netbsd_mach_dep.s, ia64_save_regs_in_stack.s to "src" directory. * Makefile.dj (SRCS): Ditto. * configure.ac (machdep): Move sparc_mach_dep.lo, sparc_netbsd_mach_dep.lo, ia64_save_regs_in_stack.lo to "src" folder. * PCR-Makefile (mach_dep.o): Remove "if_mach" statement for MIPS. * PCR-Makefile (if_mach, if_not_there): Remove rules. * gc.mak (CPP_PROJ): Prefix libatomic_ops folder with "./".
Diffstat (limited to 'PCR-Makefile')
-rw-r--r--PCR-Makefile20
1 files changed, 2 insertions, 18 deletions
diff --git a/PCR-Makefile b/PCR-Makefile
index 518d8268..044b9642 100644
--- a/PCR-Makefile
+++ b/PCR-Makefile
@@ -10,7 +10,6 @@ include ../config/common.mk
# compilation flags, etc.
#
-
CPPFLAGS = $(INCLUDE) $(CONFIG_CPPFLAGS) \
-DPCR_NO_RENAME -DPCR_NO_HOSTDEP_ERR
#CFLAGS = -DPCR $(CONFIG_CFLAGS)
@@ -27,14 +26,8 @@ LDRFLAGS = $(CONFIG_LDRFLAGS)
LDFLAGS = $(CONFIG_LDFLAGS)
#
-#
-#
-#
# BEGIN PACKAGE-SPECIFIC PART
#
-#
-#
-#
# Fix to point to local pcr installation directory.
PCRDIR= ..
@@ -50,14 +43,5 @@ default: gc.o
gc.o: $(COBJ) mach_dep.o
$(LDR) $(CONFIG_LDRFLAGS) -o gc.o $(COBJ) mach_dep.o
-
-mach_dep.o: mach_dep.c mips_mach_dep.s if_mach if_not_there
- rm -f mach_dep.o
- ./if_mach MIPS "" as -o mach_dep.o mips_mach_dep.s
- ./if_not_there mach_dep.o $(CC) -c $(SPECIALCFLAGS) mach_dep.c
-
-if_mach: tools/if_mach.c gcconfig.h
- $(CC) $(CFLAGS) -o if_mach tools/if_mach.c
-
-if_not_there: tools/if_not_there.c
- $(CC) $(CFLAGS) -o if_not_there tools/if_not_there.c
+mach_dep.o: mach_dep.c
+ $(CC) -c $(SPECIALCFLAGS) mach_dep.c