]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
better dep tracking
[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 = support 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.o
13
14 libfrontends_o_LIBADD= `cat libxforms.objects` \
15         `cat libcontrollers.objects` \
16         support/libfrontendsupport.o
17
18 libfrontends_o_DEPENDENCIES = \
19         libxforms.objects \
20         libcontrollers.objects \
21         support/libfrontendsupport.o
22
23 libfrontends_o_SOURCES=\
24         Alert.C \
25         Alert.h \
26         Alert_pimpl.h \
27         Dialogs.C \
28         Dialogs.h \
29         DialogBase.h \
30         FileDialog.h \
31         GUIRunTime.h \
32         Liason.C \
33         Liason.h \
34         Menubar.C \
35         Menubar.h \
36         Timeout.C \
37         Timeout.h \
38         Toolbar.C \
39         Toolbar.h
40
41 EXTRA_DIST = qt2 gnome
42
43 dist-hook:
44         @cd $(distdir) ; \
45         rm -rf `find qt2 -name \*CVS\*`; \
46         rm -rf `find gnome -name \*CVS\*`