]> git.lyx.org Git - lyx.git/blobdiff - src/client/Makefile.am
Get rid of GridInsetMailer: this is completely useless and unused and consumes a...
[lyx.git] / src / client / Makefile.am
index c35a5001c79a081a2029bb58c70bf429f478f8ce..812518d690f749b546246cc5af9002fef2d5676a 100644 (file)
@@ -1,35 +1,31 @@
 include $(top_srcdir)/config/common.am
 
-EXTRA_DIST = lyxclient.man
+CLEANFILES += $(man_MANS)
+
+EXTRA_DIST = pch.h lyxclient.man
+
+BUILT_SOURCES = $(PCH_FILE)
 
 man_MANS = lyxclient.1
 
 bin_PROGRAMS = lyxclient
 
-INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
-
-AM_CXXFLAGS = $(PCH_FLAGS)
+AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
 
-if USE_INCLUDED_BOOST
-BOOST_LIBS = $(top_builddir)/boost/libs/filesystem/src/libboostfilesystem.la \
-       $(top_builddir)/boost/libs/regex/src/libboostregex.la
-else
-BOOST_LIBS = -lboost_regex -lboost_filesystem
-endif
+BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM)
 
 lyxclient_LDADD = \
        $(top_builddir)/src/support/libsupport.la \
-       $(BOOST_LIBS) $(INTLLIBS)
+       $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS)
 
 lyxclient_SOURCES = \
-       boost.C \
-       client.C \
-       debug.C \
+       boost.cpp \
+       client.cpp \
+       debug.cpp \
        debug.h \
-       gettext.C \
-       gettext.h \
-       messages.C \
-       messages.h
+       gettext.cpp \
+       Messages.cpp \
+       Messages.h
 
 lyxclient.1:
        cp -p $(srcdir)/lyxclient.man lyxclient.1