]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/Makefile.am
major GUII cleanup + Baruchs patch + Angus's patch + removed a couple of generated...
[lyx.git] / src / frontends / kde / Makefile.am
1 AUTOMAKE_OPTIONS = foreign 1.4
2 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
3 noinst_LTLIBRARIES = libkde.la
4 INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
5         ${SIGC_CFLAGS} ${FRONTEND_INCLUDES}
6
7 # just to make sure, automake makes them 
8 BUILTSOURCES =  formcopyrightdialog_moc.C
9 DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
10
11 LIBS=
12 LDFLAGS=
13 LYXDATADIRS = dlg
14 ETAGS_ARGS = --lang=c++
15 libkde_la_SOURCES = \
16         Dialogs.C \
17         FormCopyright.C \
18         FormCopyright.h \
19         formcopyrightdialog.C \
20         formcopyrightdialog.h \
21         formcopyrightdialogdata.C \
22         $(BUILTSOURCES)
23
24 # These still have to be added. Sooner or later. ARRae-20000129
25 #       GUI_defaults.C \
26 #       GUI_initialize.C \
27 #       GUI_postlyxrc.C \
28 #       GUI_runtime.C \
29 #       GUI_applymenu.C
30
31 # just copied from old lyx repository
32 dist-hook:
33         for subdir in $(LYXDATADIRS) ; do \
34         test -d $(distdir)/$$subdir \
35         || mkdir $(distdir)/$$subdir \
36         || exit 1; \
37         chmod 777 $(distdir)/$$subdir; \
38         list=`(cd $(srcdir)/$$subdir && ls -1 | grep -v CVS)`; \
39         echo $$list ; \
40         for fil in $$list ; do \
41         cp -p $(srcdir)/$$subdir/$$fil $(distdir)/$$subdir ; \
42         done ; \
43         done
44
45 # add a dependency for every moc file to be full portable
46 # I've added a key binding to emacs for this. 
47
48 formcopyrightdialog.C:formcopyrightdialog_moc.C
49 formcopyrightdialog_moc.C: formcopyrightdialog.h
50         $(MOC) formcopyrightdialog.h -o formcopyrightdialog_moc.C