~ubuntu-branches/ubuntu/oneiric/kmymoney2-plugin-aqbanking/oneiric

« back to all changes in this revision

Viewing changes to src/kbanking/dialogs/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Micha Lenk
  • Date: 2008-10-26 17:34:50 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081026173450-to28m635hdrwq88i
Tags: 0.9.9beta-1
* New upstream release
  - drop all patches (included upstream).
* Drop dpatch from build-deps and from debian/rules.
* Bump standards version to 3.8.0 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
INCLUDES = \
4
4
 $(gwenhywfar_includes) $(aqbanking_includes) \
5
5
 $(KDE_INCLUDES) $(QT_INCLUDES) \
6
 
 -I$(top_srcdir)/src/kbanking -I$(top_srcdir)/src/kbanking/widgets
 
6
 -I$(top_srcdir)/src/kbanking -I$(top_srcdir)/src/kbanking/widgets -I$(top_srcdir)/src/kbanking/dialogs
 
7
 
 
8
UI_FILES = kbaccountsettings.ui kbpickstartdate.ui
 
9
 
 
10
EXTRA_DIST = $(UI_FILES)
7
11
 
8
12
noinst_LTLIBRARIES=libdialogs.la
9
13
 
 
14
nodist_noinst_HEADERS= \
 
15
 kbaccountsettings.ui.h kbpickstartdate.ui.h
 
16
 
10
17
noinst_HEADERS=\
11
 
 kbsettings.h 
 
18
 kbsettings.h kbpickstartdate.h
12
19
 
13
20
libdialogs_la_SOURCES=\
14
 
 kbsettings.cpp
 
21
 kbsettings.cpp kbaccountsettings.cpp kbpickstartdate.cpp
 
22
 
 
23
nodist_libdialogs_la_SOURCES=\
 
24
  kbaccountsettings.ui.cpp kbaccountsettings.ui.moc.cpp \
 
25
  kbaccountsettings.moc.cpp \
 
26
  kbpickstartdate.ui.cpp kbpickstartdate.ui.moc.cpp \
 
27
  kbpickstartdate.moc.cpp
 
28
 
 
29
BUILT_SOURCES = $(nodist_libdialogs_la_SOURCES) $(nodist_noinst_HEADERS)
 
30
CLEANFILES = $(BUILT_SOURCES)
 
31
 
 
32
%.moc.cpp: %.h
 
33
        $(MOC) -o $@.tmp $< && \
 
34
        echo "#ifdef HAVE_CONFIG_H" >$@ && \
 
35
        echo "# include <config.h>" >>$@ && \
 
36
        echo "#endif" >>$@ && \
 
37
        cat $@.tmp >>$@ && \
 
38
        rm $@.tmp
 
39
 
 
40
 
 
41
%.ui.cpp: %.ui
 
42
        $(UIC) $< -impl $(@:.ui.cpp=.ui.h) -o $@.tmp && \
 
43
        echo "#ifdef HAVE_CONFIG_H" >$@ && \
 
44
        echo "# include <config.h>" >>$@ && \
 
45
        echo "#endif" >>$@ && \
 
46
        cat $@.tmp >>$@ && \
 
47
        rm $@.tmp
 
48
 
 
49
%.ui.h: %.ui
 
50
        $(UIC) $< -o $@
 
51
 
 
52
SUFFIXES = .ui .ui.h .ui.cpp .moc.cpp
 
53