mirror of
https://github.com/bgp/bgpq4
synced 2025-02-28 08:53:11 +00:00
move .h into include dir
This commit is contained in:
10
Makefile.am
10
Makefile.am
@@ -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
|
||||
|
||||
@@ -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
2
include/Makefile.am
Normal file
@@ -0,0 +1,2 @@
|
||||
noinst_HEADERS =
|
||||
noinst_HEADERS += sys/tree.h
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user