~ubuntu-branches/debian/sid/bijiben/sid

« back to all changes in this revision

Viewing changes to src/libbiji/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-03-26 21:19:36 UTC
  • Revision ID: package-import@ubuntu.com-20130326211936-tu8mpy82juohw8m2
Tags: upstream-3.8.0
ImportĀ upstreamĀ versionĀ 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
noinst_LTLIBRARIES = \
 
2
        libbiji.la
 
3
 
 
4
libbiji_la_built_sources = \
 
5
        biji-marshalers.c \
 
6
        biji-marshalers.h \
 
7
        $(NULL)
 
8
 
 
9
libbiji_la_SOURCES =  \
 
10
        $(libbiji_la_built_sources) \
 
11
        libbiji.h \
 
12
        biji-date-time.c \
 
13
        biji-date-time.h \
 
14
        biji-note-id.c \
 
15
        biji-note-id.h \
 
16
        biji-note-obj.c \
 
17
        biji-note-obj.h \
 
18
        biji-note-book.c \
 
19
        biji-note-book.h \
 
20
        biji-string.c \
 
21
        biji-string.h \
 
22
        biji-timeout.c \
 
23
        biji-timeout.h \
 
24
        biji-tracker.c \
 
25
        biji-tracker.h \
 
26
        biji-zeitgeist.c \
 
27
        biji-zeitgeist.h \
 
28
        deserializer/biji-lazy-deserializer.c \
 
29
        deserializer/biji-lazy-deserializer.h \
 
30
        editor/biji-editor-selection.c \
 
31
        editor/biji-editor-selection.h \
 
32
        editor/biji-editor-utils.c \
 
33
        editor/biji-editor-utils.h \
 
34
        editor/biji-webkit-editor.c \
 
35
        editor/biji-webkit-editor.h \
 
36
        serializer/biji-lazy-serializer.c \
 
37
        serializer/biji-lazy-serializer.h
 
38
 
 
39
BUILT_SOURCES = \
 
40
        $(libbiji_la_built_sources) \
 
41
        $(NULL)
 
42
 
 
43
EXTRA_DIST = \
 
44
        biji-marshalers.list \
 
45
        $(null)
 
46
 
 
47
CLEANFILES = \
 
48
        $(libbiji_la_built_sources) \
 
49
        stamp-biji-marshalers.h \
 
50
        $(NULL)
 
51
 
 
52
AM_CPPFLAGS = \
 
53
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 
54
        -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
 
55
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
 
56
        -I$(top_srcdir)/libgd \
 
57
        -I$(top_srcdir)/src/ \
 
58
        -I$(top_srcdir)/src/libiji \
 
59
        $(BIJIBEN_CFLAGS)
 
60
 
 
61
AM_CFLAGS =\
 
62
         -Wall\
 
63
         -g
 
64
 
 
65
INCLUDES = -DDATADIR=\""$(datadir)"\"
 
66
 
 
67
biji-marshalers.h: stamp-biji-marshalers.h
 
68
        @true
 
69
 
 
70
stamp-biji-marshalers.h: biji-marshalers.list Makefile
 
71
        $(AM_V_GEN) ( \
 
72
                ( glib-genmarshal \
 
73
                        --prefix=_biji_marshal \
 
74
                        --header $(srcdir)/biji-marshalers.list \
 
75
                ) >> xgen-tmh \
 
76
                && ( cmp -s xgen-tmh biji-marshalers.h || cp xgen-tmh biji-marshalers.h ) \
 
77
                && rm -f xgen-tmh \
 
78
                && echo timestamp > $(@F) \
 
79
        )
 
80
 
 
81
biji-marshalers.c: biji-marshalers.list biji-marshalers.h Makefile
 
82
        $(AM_V_GEN) ( \
 
83
                echo "#include \"biji-marshalers.h\"" > xgen-tmc \
 
84
                && ( glib-genmarshal \
 
85
                        --prefix=_biji_marshal \
 
86
                        --body $(srcdir)/biji-marshalers.list \
 
87
                   ) >> xgen-tmc \
 
88
                && cp xgen-tmc biji-marshalers.c \
 
89
                && rm -f xgen-tmc \
 
90
        )