Skip to content

Commit 0d527c3

Browse files
cejkato2SiskaPavel
authored andcommitted
unirec: moved headers into include/, fixed distcheck
1 parent 99d9d6b commit 0d527c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+68
-60
lines changed

unirec/Makefile.am

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,22 @@
11
ACLOCAL_AMFLAGS=-I m4
2-
DIST_SUBDIRS = unirec++ tests
3-
SUBDIRS = . unirec++
2+
DIST_SUBDIRS = include unirec++ tests
3+
SUBDIRS = include . unirec++
44

55
if ENABLE_TESTS
66
SUBDIRS += tests
77
endif
88

99
RPMDIR=RPMBUILD
1010

11-
BUILT_SOURCES=ur_values.h ur_values.c ur_values.py
12-
13-
ur_values.h: ur_values.sh
14-
${top_srcdir}/ur_values.sh -i ${top_srcdir}
15-
16-
ur_values.c: ur_values.h
17-
18-
ur_values.py: ur_values.h
19-
20-
2111
lib_LTLIBRARIES=libunirec.la
12+
libunirec_la_CPPFLAGS=-I${srcdir}/include
2213
libunirec_la_CFLAGS=-fPIC
2314
libunirec_la_LDFLAGS=-static -ltrap
24-
libunirec_la_SOURCES=unirec.c unirec.h ur_values.c ur_values.h inline.h ipaddr.h macaddr.h links.h ur_time.h unirec2csv.h unirec2csv.c ip_prefix_search.c ipps_internal.h
15+
libunirec_la_SOURCES=unirec.c include/unirec/ur_values.c unirec2csv.c ip_prefix_search.c ipps_internal.h
2516

2617
pkgconfigdir = $(libdir)/pkgconfig
2718
pkgconfig_DATA = unirec.pc
2819

29-
unirecincludedir=$(includedir)/unirec
30-
unirecinclude_HEADERS=unirec.h \
31-
inline.h \
32-
ipaddr.h \
33-
macaddr.h \
34-
links.h \
35-
ur_time.h \
36-
unirec2csv.h \
37-
ip_prefix_search.h \
38-
ur_values.h
39-
4020
bin_SCRIPTS=ur_values.sh ur_processor.sh
4121

4222
EXTRA_DIST=values ur_values.sh ur_processor.sh \

unirec/configure.ac

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
AC_PREREQ([2.63])
55
AC_INIT([unirec], [2.9.7], [[email protected]])
6-
AC_CONFIG_SRCDIR([unirec.h])
6+
AC_CONFIG_SRCDIR([unirec.c])
77
AC_CONFIG_HEADERS([config.h])
8-
AM_INIT_AUTOMAKE([silent-rules])
8+
AM_INIT_AUTOMAKE([subdir-objects silent-rules])
99
AM_SILENT_RULES([yes])
1010
RELEASE=1
1111
AC_SUBST(RELEASE)
@@ -99,6 +99,9 @@ fi
9999

100100
AC_CONFIG_FILES([Makefile
101101
unirec.pc
102+
include/Makefile
103+
include/unirec/Makefile
104+
include/unirec++/Makefile
102105
unirec++/unirec++.pc
103106
unirec++/Makefile
104107
unirec.spec

unirec/include/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SUBDIRS = unirec unirec++
2+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
unirecppincludedir=$(includedir)/unirec++
2+
unirecppinclude_HEADERS=bidirectionalInterface.hpp \
3+
inputInterface.hpp \
4+
ipAddress.hpp \
5+
macAddress.hpp \
6+
outputInterface.hpp \
7+
trapModuleInfo.hpp \
8+
unirecArray.hpp \
9+
unirecException.hpp \
10+
unirec.hpp \
11+
unirecRecord.hpp \
12+
unirecRecordView.hpp \
13+
unirecTypes.hpp \
14+
unirecTypeTraits.hpp \
15+
urTime.hpp
16+
17+
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)