]> git.lyx.org Git - lyx.git/blob - src/client/Makefile.am
* new function to set border around selection
[lyx.git] / src / client / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 CLEANFILES += $(man_MANS)
4
5 man_MANS = lyxclient.1
6
7 bin_PROGRAMS = lyxclient
8
9 EXTRA_DIST = lyxclient.man
10
11 AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
12
13 lyxclient.1:
14         cp -p $(srcdir)/lyxclient.man lyxclient.1
15
16 lyxclient_LDADD = \
17         $(top_builddir)/src/support/liblyxsupport.la \
18         $(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) 
19
20 # everything below the line containing the single backslashs
21 # an ugly hack and needed because of the
22 # linking problems described in ../Makefile.am
23 # These four objects are linked as object files as they are not
24 # referenced within the core and therefore are not picked up
25 # by the linker without looping over libs. We do not want that,
26 # and in fact libtools seems not able to do that.
27
28 SOURCEFILES = \
29   boost.cpp \
30   client.cpp \
31   debug.cpp \
32   gettext.cpp \
33   Messages.cpp 
34
35 HEADERFILES = \
36   debug.h \
37   Messages.h 
38
39
40 if MONOLITHIC_CLIENT
41
42 client.cpp:
43         @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
44
45 AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
46 BUILT_SOURCES = client.cpp
47  
48 lyxclient_SOURCES = client.cpp $(HEADERFILES)
49
50 else
51
52 EXTRA_DIST += pch.h
53 AM_CPPFLAGS += $(PCH_FLAGS)
54 BUILT_SOURCES = $(PCH_FILE)
55
56 lyxclient_SOURCES = $(SOURCEFILES) $(HEADERFILES)
57
58 endif