Commit cd999622 authored by Philip Carns's avatar Philip Carns
Browse files

move public headers to codes subdir in tree

parent d885a0e8
#ifndef CODESIOKERNELPARSER_H
#define CODESIOKERNELPARSER_H
#include "codesparser.h"
#include "CodesIOKernelContext.h"
#include "codes/codesparser.h"
#include "codes/CodesIOKernelContext.h"
YYLTYPE *CodesIOKernel_get_lloc (yyscan_t yyscanner);
int CodesIOKernel_lex_init (yyscan_t* scanner);
......
#ifndef CODES_H
#define CODES_H
#include "CodesIOKernelContext.h"
#include "codes/CodesIOKernelContext.h"
typedef enum { typeCon, typeId, typeOpr } nodeEnum;
......
......@@ -11,9 +11,9 @@
#include <unistd.h>
#include "iokernellang/CodesIOKernelTypes.h"
#include "iokernellang/CodesIOKernelParser.h"
#include "iokernellang/codeslexer.h"
#include "codes/CodesIOKernelTypes.h"
#include "codes/CodesIOKernelParser.h"
#include "codes/codeslexer.h"
#define CL_INST_MAX_ARGS 10
......
......@@ -89,9 +89,6 @@ else
AC_MSG_ERROR([Could not find usable ROSS installation, try --with-ross=DIR])
fi
# put include files in a codes/ subdir
includedir="${includedir}/codes"
#
# To reactivate rewriting of the codesparser.y file,
# uncomment next line.
......
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir=@libdir@
includedir=@includedir@
includedir=@includedir@/../
ross_cflags=@ROSS_CFLAGS@
ross_ldflags=@ROSS_LDFLAGS@
ross_libs=@ROSS_LIBS@
......
......@@ -7,8 +7,8 @@ EXTRA_DIST += src/iokernellang/codesparser.y.in \
src/iokernellang/codeslexer.l \
src/modelconfig/configparser.y \
src/modelconfig/configlex.l \
src/util/quicklist.h \
src/util/quickhash.h
codes/quicklist.h \
codes/quickhash.h
PHONY: maintainer-clean-local
maintainer-clean-local::
......@@ -36,45 +36,46 @@ src/iokernellang/codesparser.c src/iokernellang/codesparser.h: src/iokernellang/
EXTRA_DIST += src/iokernellang/codesparser.y
include_HEADERS = \
src/iokernellang/CodesKernelHelpers.h \
src/iokernellang/CodesIOKernelContext.h \
src/iokernellang/CodesIOKernelParser.h \
src/iokernellang/CodesIOKernelTypes.h \
src/iokernellang/codeslexer.h \
src/modelconfig/txt_configfile.h \
src/util/tools.h \
src/logging/codeslogging.h \
src/logging/timeline.h \
src/iokernellang/codesparser.h
nobase_include_HEADERS = \
codes/CodesKernelHelpers.h \
codes/CodesIOKernelContext.h \
codes/CodesIOKernelParser.h \
codes/CodesIOKernelTypes.h \
codes/codeslexer.h \
codes/txt_configfile.h \
codes/tools.h \
codes/codeslogging.h \
codes/timeline.h \
codes/codesparser.h \
codes/quickhash.h \
codes/configfile.h \
codes/quicklist.h
src_libcodes_base_a_SOURCES = \
src/iokernellang/codesparser.h \
codes/codesparser.h \
src/iokernellang/codesparser.c \
src/iokernellang/codeslexer.h \
codes/codeslexer.h \
src/iokernellang/codeslexer.c \
src/iokernellang/codesImpl.c \
src/iokernellang/CodesIOKernelContext.h \
src/iokernellang/CodesIOKernelParser.h \
src/iokernellang/CodesIOKernelTypes.h \
src/iokernellang/CodesKernelHelpers.h \
codes/CodesIOKernelContext.h \
codes/CodesIOKernelParser.h \
codes/CodesIOKernelTypes.h \
codes/CodesKernelHelpers.h \
src/iokernellang/CodesKernelHelpers.c \
src/modelconfig/configlex.c \
src/modelconfig/configlex.h \
src/modelconfig/configparser.c \
src/modelconfig/configparser.h \
src/modelconfig/configfile.c \
src/modelconfig/configfile.h \
src/modelconfig/configglue.h \
src/modelconfig/configglue.c \
src/modelconfig/configfile.h \
codes/configfile.h \
src/modelconfig/configstore.h \
src/modelconfig/configstore.c \
src/modelconfig/configstoreadapter.h \
src/modelconfig/configstoreadapter.c \
src/modelconfig/txt_configfile.c \
src/modelconfig/txt_configfile.h \
src/util/tools.h \
codes/txt_configfile.h \
codes/tools.h \
src/util/tools.c \
src/util/interval-merge-tree.h \
src/util/interval-merge-tree.c \
......@@ -82,7 +83,7 @@ src_libcodes_base_a_SOURCES = \
src/util/red-black-tree.c \
src/util/codes-callbacks.h \
src/util/codes-callbacks.c \
src/logging/codeslogging.h \
codes/codeslogging.h \
src/logging/codeslogging.c \
src/logging/timeline.h \
codes/timeline.h \
src/logging/timeline.c
#include "CodesKernelHelpers.h"
#include "codes/CodesKernelHelpers.h"
#include <stdlib.h>
#include <stdio.h>
......
#include <stdio.h>
#include <stdlib.h>
#include "CodesIOKernelTypes.h"
#include "CodesIOKernelParser.h"
#include "codes/CodesIOKernelTypes.h"
#include "codes/CodesIOKernelParser.h"
int64_t ex(
nodeType * p)
......
%{
#include <stdlib.h>
#include "CodesIOKernelTypes.h"
#include "CodesIOKernelParser.h"
#include "codes/CodesIOKernelTypes.h"
#include "codes/CodesIOKernelParser.h"
#define YY_NO_INPUT
......
......@@ -84,8 +84,8 @@
#include <stdarg.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "CodesIOKernelTypes.h"
#include "CodesIOKernelContext.h"
#include "codes/CodesIOKernelTypes.h"
#include "codes/CodesIOKernelContext.h"
/* prototypes */
nodeType *opr(int64_t oper, int64_t nops, ...);
......
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