diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 8302211..a0ae24f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,15 @@ -AM_CFLAGS = -Wall -Werror -Wmissing-prototypes -AM_CPPFLAGS = -DLIBEXECDIR=\"$(libexecdir)\" ACLOCAL_AMFLAGS = -I m4 +AM_CFLAGS = -Wall -Werror -Wmissing-prototypes +AM_CXXFLAGS = -Wall -Werror +AM_CPPFLAGS = -DMOZILLA_LIBDIR=\"$(mozilla_libdir)\" \ + -DTELEPATHY_LIBDIR=\"$(telepathy_libdir)\" + telepathy_libdir=$(libdir)/telepathy -telepathy_lib_PROGRAMS = src/telepathy-gruschler -libexec_PROGRAMS = src/telepathy-gruschler-login +telepathy_lib_PROGRAMS = src/telepathy-gruschler \ + src/telepathy-gruschler-login + +mozilla_libdir = @mozilla_libdir@ src_telepathy_gruschler_CFLAGS = $(AM_CFLAGS) $(GRUSCHLER_CFLAGS) src_telepathy_gruschler_LDADD = $(AM_LDFLAGS) $(GRUSCHLER_LIBS) @@ -17,5 +22,13 @@ src_telepathy_gruschler_SOURCES = src/connection-manager.c \ src/main.c src_telepathy_gruschler_login_CFLAGS = $(AM_CFLAGS) $(LOGIN_CFLAGS) -src_telepathy_gruschler_login_LDADD = $(AM_LDFLAGS) $(LOGIN_LIBS) +src_telepathy_gruschler_login_LDFLAGS = $(AM_LDFLAGS) -rpath $(mozilla_libdir) +src_telepathy_gruschler_login_LDADD = $(LOGIN_LIBS) src_telepathy_gruschler_login_SOURCES = src/login.c + +noinst_PROGRAMS = tests/test-browser +tests_test_browser_CXXFLAGS = $(AM_CXXFLAGS) $(LOGIN_CFLAGS) -fshort-wchar +tests_test_browser_LDFLAGS = $(AM_LDFLAGS) -rpath $(mozilla_libdir) +tests_test_browser_LDADD = $(LOGIN_LIBS) -L/usr/lib/microb-engine-devel/lib -lxpcomglue_s +tests_test_browser_SOURCES = tests/test-browser.cc + |