diff options
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/Makefile.am | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/configure.in b/configure.in index fe3ace8..2c776d1 100644 --- a/configure.in +++ b/configure.in @@ -46,7 +46,7 @@ CFLAGS="$CFLAGS -I/usr/local/include" AC_LANG_CPLUSPLUS AC_CONFIG_SRCDIR([src/rtfx.cpp]) -AM_CONFIG_HEADER([config.h]) +AM_CONFIG_HEADER(config.h) # Checks for programs. AC_PROG_CC diff --git a/src/Makefile.am b/src/Makefile.am index f561270..e729fb7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,13 +1,22 @@ +INCLUDES = \ + -I$(srcdir)/../libs/domc/src/ \ + -I$(srcdir)/../libs/libmba/src/ + bin_PROGRAMS = rtfx rtfx_SOURCES = rtfx.cpp levelhandler.cpp levelhandler.h \ reference.h xmlcomposer.cpp xmlcomposer.h xmlcomposehelpers.cpp rtfformatting.h \ xmlcomposehelpers.h rtfparser.cpp rtfparser.h domcxx.h usuals.h utf8.cpp internal.h \ xmlfixups.h xmlfixups.cpp domhelpers.h domhelpers.cpp tags.h + rtfx_LDADD = -ldomc -lmba -rtfx_CXXFLAGS = -I$(srcdir)/../libs/domc/src/ -I$(srcdir)/../libs/libmba/src/ -rtfx_LDFLAGS = -L/usr/local/lib -L$(srcdir)/../libs/libmba/ -L$(srcdir)/../libs/domc/ + +rtfx_LDFLAGS = \ + -L/usr/local/lib \ + -L$(srcdir)/../libs/libmba/ \ + -L$(srcdir)/../libs/domc/ + man_MANS = rtfx.1 EXTRA_DIST = $(man_MANS) |