]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
c34d6260f434b46f919d43ffb80e95e35e6088c9
[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 @FRONTEND@
8 ETAGS_ARGS = --lang=c++
9 BOOST_INCLUDES = -I$(top_srcdir)/boost
10 INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/..  $(SIGC_CFLAGS) $(BOOST_INCLUDES)
11 LIBS =
12 noinst_LTLIBRARIES = libfrontends.la
13
14 libfrontends_la_LIBADD= @FRONTEND_GUILIB@ \
15         controllers/*.lo
16
17 libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
18
19 libfrontends_la_SOURCES=\
20         Alert.C \
21         Alert.h \
22         Alert_pimpl.h \
23         Dialogs.C \
24         Dialogs.h \
25         DialogBase.h \
26         FileDialog.h \
27         GUIRunTime.h \
28         Liason.C \
29         Liason.h \
30         Menubar.C \
31         Menubar.h \
32         Timeout.C \
33         Timeout.h \
34         Toolbar.C \
35         Toolbar.h
36
37 libfrontends.la: libfrontends.o
38
39 libfrontends.o: $(libfrontends_la_OBJECTS) $(libfrontends_la_DEPENDENCIES)
40         $(CXXLINK) $(libfrontends_la_OBJECTS) $(libfrontends_la_LIBADD)
41
42 EXTRA_DIST = xforms qt2 gnome
43
44 dist-hook:
45         @cd $(distdir) ; \
46         rm -rf `find qt2 -name \*CVS\*`; \
47         rm -rf `find gnome -name \*CVS\*`