move .h into include dir

This commit is contained in:
Job Snijders
2021-08-17 11:03:33 +00:00
parent a0b9343551
commit 16fd7f7668
5 changed files with 18 additions and 3 deletions

View File

@@ -1,12 +1,20 @@
AUTOMAKE_OPTIONS=foreign subdir-objects
SUBDIRS = include
bin_PROGRAMS=bgpq4
COMPAT_SOURCES=compat/strlcpy.c
bgpq4_SOURCES=bgpq4.c bgpq4.h config.h bgpq4_printer.c bgpq_expander.c \
expander_freeall.c expander_freeall.h sx_maxsockbuf.c \
sx_maxsockbuf.h sx_prefix.c sx_prefix.h sx_report.c sx_report.h \
sx_slentry.c sx_slentry.h sys_queue.h sys_tree.h $(COMPAT_SOURCES)
sx_slentry.c sx_slentry.h sys_queue.h $(COMPAT_SOURCES)
dist_man8_MANS=bgpq4.8
EXTRA_DIST=bootstrap README.md CHANGES COPYRIGHT bgpq4.spec
MAINTAINERCLEANFILES=configure aclocal.m4 compile \
install-sh missing Makefile.in depcomp \
stamp-h1 config.h.in

View File

@@ -33,4 +33,9 @@ AC_CHECK_FUNCS(pledge)
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(nsl,getaddrinfo)
AC_OUTPUT(Makefile)
AC_CONFIG_FILES([
Makefile
include/Makefile
])
AC_OUTPUT

2
include/Makefile.am Normal file
View File

@@ -0,0 +1,2 @@
noinst_HEADERS =
noinst_HEADERS += sys/tree.h

View File

@@ -10,7 +10,7 @@
#if HAVE_SYS_TREE_H
#include <sys/tree.h>
#else
#include "sys_tree.h"
#include <sys/tree.h>
#endif
struct sx_slentry {