Commit 391cc7a1 authored by Federico Vaga's avatar Federico Vaga

rename: files wrnc -> mockturtle

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 43cd6ea2
......@@ -3,7 +3,7 @@
# build a particular environment.
-include Makefile.specific
WRNC ?= ../../../
TRTL ?= ../../../
LIBTDC ?= ../fmc-tdc-sw/lib
LIBFD ?= ../fine-delay-sw/lib
......@@ -15,7 +15,7 @@ LOBJ += libwrtd-logging.o
LOBJ += libwrtd-input.o
LOBJ += libwrtd-output.o
CFLAGS += -Wall -ggdb -O2 -fPIC -I. -I../include -I$(WRNC)/include -I$(WRNC)/lib -I$(LIBFD) -I$(LIBTDC) -I$(LIBFD)/../kernel
CFLAGS += -Wall -ggdb -O2 -fPIC -I. -I../include -I$(TRTL)/include -I$(TRTL)/lib -I$(LIBFD) -I$(LIBTDC) -I$(LIBFD)/../kernel
CFLAGS += $(EXTRACFLAGS)
LDLIBS += -L. -lwrtd
......
......@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd-internal.h>
#include <wrtd-serializers.h>
......
......@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <errno.h>
#include <libwrnc.h>
#include <libmockturtle.h>
#include "libwrtd-internal.h"
static const struct wrnc_proto_header wrtd_in_hdr_sync = {
......
......@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <libwrnc.h>
#include <libmockturtle.h>
#include "libwrtd-internal.h"
......
......@@ -9,7 +9,7 @@
#include <errno.h>
#include <string.h>
#include <poll.h>
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd-internal.h>
#include <wrtd-serializers.h>
......
......@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd-internal.h>
#include "wrtd-serializers.h"
......
......@@ -15,7 +15,7 @@ extern "C" {
#include <stdint.h>
#include <stdio.h>
#include "libwrnc.h"
#include "libmockturtle.h"
/**
* @file wrtd-common.h
*/
......
......@@ -14,7 +14,7 @@
* loop-queue.c: Shared Memory-based Loopback queue.
*/
#include "rt.h"
#include "mockturtle-rt.h"
#include "wrtd-common.h"
#define LOOP_QUEUE_SIZE 16
......
......@@ -17,7 +17,7 @@
#ifndef __LOOP_QUEUE_H
#define __LOOP_QUEUE_H
#include "rt.h"
#include "mockturtle-rt.h"
#include "wrtd-common.h"
#define LOOP_QUEUE_SIZE 16
......
......@@ -3,7 +3,7 @@
OBJS := wrtd-rt-fd.o
OBJS += ../common/loop-queue.o
OUTPUT = wrtd-rt-fd
WRNC = ../../../../
TRTL = ../../../../
EXTRA_CFLAGS += -I../../include
EXTRA_CFLAGS += -I../common
......@@ -11,4 +11,4 @@ EXTRA_CFLAGS += -DLIBRT_ERROR
#EXTRA_CFLAGS += -DLIBRT_DEBUG
#EXTRA_CFLAGS += -DRTDEBUG
RT_USE_LIBRT := 1
include $(WRNC)/applications/common/rt/Makefile
include $(TRTL)/applications/common/rt/Makefile
......@@ -17,14 +17,14 @@
#include <string.h>
#include "rt.h"
#include "mockturtle-rt.h"
#include "wrtd-common.h"
#include "hw/fd_channel_regs.h"
#include "hw/fd_main_regs.h"
#include "loop-queue.h"
#include <librt.h>
#include <libmockturtle-rt.h>
#define OUT_TIMEOUT 10
......
......@@ -3,11 +3,11 @@
OBJS := wrtd-rt-tdc.o
OBJS += ../common/loop-queue.o
OUTPUT = wrtd-rt-tdc
WRNC = ../../../../
TRTL = ../../../../
EXTRA_CFLAGS += -I../../include
EXTRA_CFLAGS += -I../common
EXTRA_CFLAGS += -DLIBRT_ERROR
#EXTRA_CFLAGS += -DLIBRT_DEBUG
RT_USE_LIBRT := 1
include $(WRNC)/applications/common/rt/Makefile
include $(TRTL)/applications/common/rt/Makefile
......@@ -17,13 +17,13 @@
#include <string.h>
#include "rt.h"
#include "mockturtle-rt.h"
#include "wrtd-common.h"
#include "hw/fmctdc-direct.h"
#include "hw/tdc_regs.h"
#include "loop-queue.h"
#include <librt.h>
#include <libmockturtle-rt.h>
#define DEFAULT_DEAD_TIME (80000/16)
......
......@@ -5,13 +5,13 @@
DESTDIR ?= /usr/local
WRNC ?= ../../../
TRTL ?= ../../../
CFLAGS += -Wall -Werror -ggdb
CFLAGS += -I. -I../include -I$(WRNC)/include -I$(WRNC)/lib -I../lib
CFLAGS += -I. -I../include -I$(TRTL)/include -I$(TRTL)/lib -I../lib
CFLAGS += $(EXTRACFLAGS)
CFLAGS += $(EXTRACFLAGS)
LDLIBS += -Wl,-Bstatic -L../lib -lwrtd -L$(WRNC)/lib -lwrnc
LDLIBS += -Wl,-Bstatic -L../lib -lwrtd -L$(TRTL)/lib -lmockturtle
LDLIBS += -Wl,-Bdynamic -lpthread
PROGS := wrtd-boot
......
......@@ -12,7 +12,6 @@
#include <getopt.h>
#include <inttypes.h>
#include <libgen.h>
#include <libwrnc.h>
#include <libwrtd.h>
#define WRTD_BOOT_WR_FMC_OFFSET 0x2
......
......@@ -12,7 +12,6 @@
#include <string.h>
#include <getopt.h>
#include <libgen.h>
#include <libwrnc.h>
#include <libwrtd.h>
#include <inttypes.h>
......
......@@ -11,7 +11,7 @@
#include <errno.h>
#include <string.h>
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd.h>
#include <wrtd-common.h>
#include <wrtd-internal.h>
......
......@@ -8,7 +8,7 @@
#ifndef __WRTD_TOOLS_INTERNAL_H__
#define __WRTD_TOOLS_INTERNAL_H__
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd.h>
#include <wrtd-internal.h>
......
......@@ -14,7 +14,6 @@
#include <inttypes.h>
#include <libgen.h>
#include <pthread.h>
#include <libwrnc.h>
#include <libwrtd.h>
static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
......
......@@ -12,7 +12,6 @@
#include <string.h>
#include <getopt.h>
#include <libgen.h>
#include <libwrnc.h>
#include <libwrtd.h>
#include <wrtd-internal.h>
......
......@@ -3,13 +3,13 @@
# build a particular environment.
-include Makefile.specific
WRNC ?= ../../../
TRTL ?= ../../../
CFLAGS += -Wall -ggdb -O0
CFLAGS += -I. -I../include -I$(WRNC)/include -I$(WRNC)/lib -I../lib
CFLAGS += -I. -I../include -I$(TRTL)/include -I$(TRTL)/lib -I../lib
CFLAGS += $(EXTRACFLAGS)
CFLAGS += $(EXTRACFLAGS)
LDLIBS += -Wl,-Bstatic -L../lib -lwrtd -L$(WRNC)/lib -lwrnc
LDLIBS += -Wl,-Bstatic -L../lib -lwrtd -L$(TRTL)/lib -lmockturtle
LDLIBS += -Wl,-Bdynamic
PROG := wrtd-ut
......
#include "wrtd-ut.h"
#include "CuTest.h"
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd.h>
static void test_open_close(CuTest *tc)
......
......@@ -13,7 +13,7 @@
#include "wrtd-ut.h"
#include "CuTest.h"
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd.h>
static void test_ping(CuTest *tc)
......
......@@ -14,7 +14,7 @@
#include "wrtd-ut.h"
#include "CuTest.h"
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd.h>
/**
......
......@@ -13,7 +13,7 @@
#include "wrtd-ut.h"
#include "CuTest.h"
#include <libwrnc.h>
#include <libmockturtle.h>
#include <libwrtd.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment