]> git.lyx.org Git - lyx.git/blob - src/frontends/Makefile.am
cleaner ld -r
[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.la
13
14 libfrontends_la_LIBADD= \
15         xforms/*.lo \
16         controllers/*.lo \
17         support/libfrontendsupport.o
18
19 libfrontends_la_DEPENDENCIES = \
20         xforms/*.lo \
21         controllers/*.lo \
22         support/libfrontendsupport.o
23
24 libfrontends_la_SOURCES=\
25         Alert.C \
26         Alert.h \
27         Alert_pimpl.h \
28         Dialogs.C \
29         Dialogs.h \
30         DialogBase.h \
31         FileDialog.h \
32         GUIRunTime.h \
33         Liason.C \
34         Liason.h \
35         Menubar.C \
36         Menubar.h \
37         Timeout.C \
38         Timeout.h \
39         Toolbar.C \
40         Toolbar.h
41
42 libfrontends.la: libfrontends.o
43
44 libfrontends.o: $(libfrontends_la_OBJECTS) $(libfrontends_la_DEPENDENCIES)
45         $(CXXLINK) $(libfrontends_la_OBJECTS) $(libfrontends_la_LIBADD)
46
47 EXTRA_DIST = qt2 gnome
48
49 dist-hook:
50         @cd $(distdir) ; \
51         rm -rf `find qt2 -name \*CVS\*`; \
52         rm -rf `find gnome -name \*CVS\*`