]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
4f7bc41e1a2c353dbc6e43b45cc19cd880deee09
[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 LIBS += @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
8
9 INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
10
11 EXTRA_DIST = xforms qt2 gnome
12
13 libfrontends_la_LIBADD = @FRONTEND_GUILIB@ controllers/*.lo
14
15 libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
16
17 libfrontends_la_SOURCES = \
18         Alert.C \
19         Alert.h \
20         Alert_pimpl.h \
21         Dialogs.C \
22         Dialogs.h \
23         DialogBase.h \
24         FileDialog.h \
25         GUIRunTime.h \
26         Liason.C \
27         Liason.h \
28         Menubar.C \
29         Menubar.h \
30         Timeout.C \
31         Timeout.h \
32         Toolbar.C \
33         Toolbar.h
34
35 dist-hook:
36         @cd $(distdir) ; \
37         rm -rf `find qt2 -name \*CVS\*`; \
38         rm -rf `find gnome -name \*CVS\*`
39
40 distclean-local:
41         for dir in $(EXTRA_DIST) ; do \
42         if test -f $$dir/Makefile ; then \
43                 make -C $$dir distclean ; \
44         fi ; \
45         done