]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
Fix for bug: #260 special rules if partially linking
[lyx.git] / src / frontends / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 SUBDIRS = controllers @FRONTEND@
4
5 noinst_LTLIBRARIES = libfrontends.la
6
7 INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
8
9 libfrontends_la_LIBADD= @FRONTEND_GUILIB@ \
10         controllers/*.lo
11
12 libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
13
14 libfrontends_la_SOURCES=\
15         Alert.C \
16         Alert.h \
17         Alert_pimpl.h \
18         Dialogs.C \
19         Dialogs.h \
20         DialogBase.h \
21         FileDialog.h \
22         GUIRunTime.h \
23         Liason.C \
24         Liason.h \
25         Menubar.C \
26         Menubar.h \
27         Timeout.C \
28         Timeout.h \
29         Toolbar.C \
30         Toolbar.h
31
32 if USE_LD_R
33 libfrontends.la: libfrontends.o
34
35 libfrontends.o: $(libfrontends_la_OBJECTS) $(libfrontends_la_DEPENDENCIES)
36         $(CXXLINK) $(libfrontends_la_OBJECTS) $(libfrontends_la_LIBADD)
37 endif
38
39 EXTRA_DIST = xforms qt2 gnome
40
41 dist-hook:
42         @cd $(distdir) ; \
43         rm -rf `find qt2 -name \*CVS\*`; \
44         rm -rf `find gnome -name \*CVS\*`