mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Out of tree builds are currently broken because $(top_srcdir)src/include is not in the search path. In tree builds are working because autconf add $(top_builddir)/src/include to the search path for the generated config.h. As $(top_builddir) and $(top_srcdir) are identical during in tree builds the search path still end up beeing somehow correct. To fix this add -I$(srcdir)/include to the CPPFLAGS in Makefile.am.
24 lines
586 B
Makefile
24 lines
586 B
Makefile
AM_CPPFLAGS = -I$(srcdir)/include
|
|
AM_CFLAGS = -Wall
|
|
bin_PROGRAMS = tio
|
|
tio_SOURCES = tty.c \
|
|
options.c \
|
|
time.c \
|
|
main.c \
|
|
log.c \
|
|
error.c \
|
|
include/tio/tty.h \
|
|
include/tio/options.h \
|
|
include/tio/time.h \
|
|
include/tio/print.h \
|
|
include/tio/log.h \
|
|
include/tio/error.h
|
|
|
|
if ADD_SETSPEED2
|
|
tio_SOURCES += setspeed2.c
|
|
endif
|
|
|
|
if ENABLE_BASH_COMPLETION
|
|
bashcompletiondir=@BASH_COMPLETION_DIR@
|
|
bashcompletion_DATA=bash-completion/tio
|
|
endif
|