]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
pexor dma support added
authorhadaq <hadaq>
Mon, 23 May 2011 00:36:09 +0000 (00:36 +0000)
committerhadaq <hadaq>
Mon, 23 May 2011 00:36:09 +0000 (00:36 +0000)
trbrich/Makefile

index 94b4ffb4b4b82824ba81f57850b8289995d1866c..997b019e801529ce28a08ec03cc2e3c0163da3f4 100644 (file)
@@ -1,11 +1,18 @@
 # ------------ Compiler / Linker Options -------------------------------
 
-AXIS_USABLE_LIBS = UCLIBC GLIBC
-include $(AXIS_TOP_DIR)/tools/build/Rules.axis
-
-INCDIR = -I. -I../libtrbnet
-CPPFLAGS = 
-
+ifdef AXIS_TOP_DIR
+       AXIS_USABLE_LIBS = UCLIBC GLIBC
+       include $(AXIS_TOP_DIR)/tools/build/Rules.axis
+else
+       CC = gcc
+       ifeq ($(shell uname -m), x86_64)
+       CPPFLAGS = -DPEXOR -DX86_64
+       else
+       CPPFLAGS = -DPEXOR
+       endif
+endif
+
+INCDIR = -I../libtrbnet
 CFLAGS = -pipe -g -Wall  -Winline -O3 -fPIC -finline-functions -finline-limit=600000
 
 LD = $(CC)