aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/Makefile.inc
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-11-29 10:15:37 +0100
committerTristan Gingold <tgingold@free.fr>2014-11-29 10:15:37 +0100
commitf75810293f0b1d43ba7492fd774a75ee7872584e (patch)
tree05e941ef4e7eb95743a9f0e8277f3b6efc48eee4 /src/grt/Makefile.inc
parent3046834bd44cde0c05ff49eecbd76d3b98401119 (diff)
downloadghdl-f75810293f0b1d43ba7492fd774a75ee7872584e.tar.gz
ghdl-f75810293f0b1d43ba7492fd774a75ee7872584e.tar.bz2
ghdl-f75810293f0b1d43ba7492fd774a75ee7872584e.zip
Initial support of FST dump format.
Diffstat (limited to 'src/grt/Makefile.inc')
-rw-r--r--src/grt/Makefile.inc13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc
index bc59bb555..3bd6ac2cb 100644
--- a/src/grt/Makefile.inc
+++ b/src/grt/Makefile.inc
@@ -96,8 +96,10 @@ ifndef GRT_TARGET_OBJS
GRT_EXTRA_LIB=-lpthread -ldl -lm
endif
+GRT_FST_OBJS := fstapi.o lz4.o fastlz.o
+
# Additionnal object files (C or asm files).
-GRT_ADD_OBJS:=$(GRT_TARGET_OBJS) grt-cbinding.o grt-cvpi.o
+GRT_ADD_OBJS:=$(GRT_TARGET_OBJS) grt-cbinding.o grt-cvpi.o $(GRT_FST_OBJS)
#GRT_USE_PTHREADS=y
ifeq ($(GRT_USE_PTHREADS),y)
@@ -183,6 +185,15 @@ grt-cvpi.o: $(GRTSRCDIR)/grt-cvpi.c
grt-cthreads.o: $(GRTSRCDIR)/grt-cthreads.c
$(CC) -c $(GRT_FLAGS) -o $@ $<
+fstapi.o: $(GRTSRCDIR)/fst/fstapi.c
+ $(CC) -c $(GRT_FLAGS) -o $@ -I$(GRTSRCDIR)/fst $<
+
+lz4.o: $(GRTSRCDIR)/fst/lz4.c
+ $(CC) -c $(GRT_FLAGS) -o $@ $<
+
+fastlz.o: $(GRTSRCDIR)/fst/fastlz.c
+ $(CC) -c $(GRT_FLAGS) -o $@ $<
+
grt-disp-config:
@echo "target: $(target)"
@echo "targ: $(targ)"