Newer
Older
# RCG Makefile; autogenerated do not edit
SHELL = /bin/sh
top_srcdir=`readlink -m @top_srcdir@`

Ezekiel Dohmen
committed
#srcdir=@srcdir@
#VPATH=@srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
infodir = @infodir@
mandir = @mandir@
infodir = @infodir@
libdir = @libdir@
Alexander Ivanov
committed
datarootdir = @datarootdir@
CXX=@CXX@
CC=@CC@
LIBS=@LIBS@
DEBUGFLAGS=-g
PERFORMANCEFLAGS=-DNDEBUG -g -O5
RELEASEFLAGS=-DNDEBUG -DNPROBE -g -O5
#DEBUGFLAGS=-DNDEBUG -O5 -unroll=16
DEVFLAGS=@DEVFLAGS@
ifndef MBUF_SYM
MBUF_SYM := $(shell $(srcdir)/find_module_symvers -q mbuf)
endif
ifndef GPSTIME_SYM
GPSTIME_SYM := $(shell $(srcdir)/find_module_symvers -q gpstime)
endif
ifndef RTS_CPU_ISOLATOR_SYM
RTS_CPU_ISOLATOR_SYM := $(shell $(srcdir)/find_module_symvers -q rts-cpu-isolator)
endif
ifndef RTS_LOGGER_SYM
RTS_LOGGER_SYM := $(shell $(srcdir)/find_module_symvers -q rts-logger)
endif
ifndef DOLPHIN_SYM
DOLPHIN_SYM := $(shell $(srcdir)/find_module_symvers -q ligo-dolphin-ix)
endif
%:
env RCG_SRC_DIR=$(top_srcdir) \
PERL5LIB=$(srcdir) \
MBUF_SYM=$(MBUF_SYM) \
GPSTIME_SYM=$(GPSTIME_SYM) \
RTS_CPU_ISOLATOR_SYM=$(RTS_CPU_ISOLATOR_SYM) \
RTS_LOGGER_SYM=$(RTS_LOGGER_SYM) \
DOLPHIN_SYM="$(DOLPHIN_SYM)" \ #Quote because we will have multiple symvers
$(srcdir)/feCodeGen.pl $@.mdl $@