diff options
author | gingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7> | 2008-01-15 05:53:39 +0000 |
---|---|---|
committer | gingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7> | 2008-01-15 05:53:39 +0000 |
commit | eb4d862a6b8ac3991dac9a8bc2fb0b9d9830e951 (patch) | |
tree | 3944b708fedbc9f955f09f947cd4377c286a9127 /translate/grt/Makefile.inc | |
parent | 861828b455955858709dfda217af0188cfdef799 (diff) | |
download | ghdl-eb4d862a6b8ac3991dac9a8bc2fb0b9d9830e951.tar.gz ghdl-eb4d862a6b8ac3991dac9a8bc2fb0b9d9830e951.tar.bz2 ghdl-eb4d862a6b8ac3991dac9a8bc2fb0b9d9830e951.zip |
synchronize: add support for MacOSX, fix bogus type conversion
Diffstat (limited to 'translate/grt/Makefile.inc')
-rw-r--r-- | translate/grt/Makefile.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/translate/grt/Makefile.inc b/translate/grt/Makefile.inc index 002d177c1..b82e33b7d 100644 --- a/translate/grt/Makefile.inc +++ b/translate/grt/Makefile.inc @@ -57,6 +57,10 @@ ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),) GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) ADAC=gnatgcc endif +ifeq ($(filter-out i%86 darwin%,$(arch) $(osys)),) + GRT_TARGET_OBJS=i386.o linux.o times.o + GRT_EXTRA_LIB=-lm +endif ifeq ($(filter-out sparc solaris%,$(arch) $(osys)),) GRT_TARGET_OBJS=sparc.o linux.o times.o GRT_EXTRA_LIB=-ldl -lm @@ -164,6 +168,12 @@ grt-cvpi.o: $(GRTSRCDIR)/grt-cvpi.c grt-cthreads.o: $(GRTSRCDIR)/grt-cthreads.c $(CC) -c $(GRT_FLAGS) -o $@ $< +grt-disp-config: + @echo "target: $(target)" + @echo "targ: $(targ)" + @echo "arch: $(arch)" + @echo "osys: $(osys)" + grt-files: run-bind.adb sed -e "1,/-- *BEGIN/d" -e "/-- *END/,\$$d" \ -e "s/ -- //" < $< > $@ |