]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
Don't compile src/frontends/support as LyXImage is now dead.
[lyx.git] / src / frontends / Makefile.am
1 AUTOMAKE_OPTIONS = foreign 1.4
2 DISTCLEANFILES= *.orig *.rej *~ *.bak core
3 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
4 # xforms has to be fixed here as we still need object files in this directory
5 # for the compilation of other frontends, so until that we have to let this
6 # here.
7 SUBDIRS = controllers xforms @FRONTEND@
8 ETAGS_ARGS = --lang=c++
9 BOOST_INCLUDES = -I$(top_srcdir)/boost
10 INCLUDES = ${FRONTEND_INCLUDES} -I${srcdir}/.. -I${srcdir}/xforms ${SIGC_CFLAGS} $(BOOST_INCLUDES)
11 LIBS =
12 noinst_LTLIBRARIES = libfrontends.la
13
14 libfrontends_la_LIBADD= \
15         xforms/*.lo \
16         controllers/*.lo
17
18 libfrontends_la_DEPENDENCIES = \
19         xforms/*.lo \
20         controllers/*.lo
21
22 libfrontends_la_SOURCES=\
23         Alert.C \
24         Alert.h \
25         Alert_pimpl.h \
26         Dialogs.C \
27         Dialogs.h \
28         DialogBase.h \
29         FileDialog.h \
30         GUIRunTime.h \
31         Liason.C \
32         Liason.h \
33         Menubar.C \
34         Menubar.h \
35         Timeout.C \
36         Timeout.h \
37         Toolbar.C \
38         Toolbar.h
39
40 libfrontends.la: libfrontends.o
41
42 libfrontends.o: $(libfrontends_la_OBJECTS) $(libfrontends_la_DEPENDENCIES)
43         $(CXXLINK) $(libfrontends_la_OBJECTS) $(libfrontends_la_LIBADD)
44
45 EXTRA_DIST = qt2 gnome
46
47 dist-hook:
48         @cd $(distdir) ; \
49         rm -rf `find qt2 -name \*CVS\*`; \
50         rm -rf `find gnome -name \*CVS\*`