~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to app/paint/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
AM_CPPFLAGS = \
 
4
        -DG_LOG_DOMAIN=\"Gimp-Paint\"   \
 
5
        @GIMP_THREAD_FLAGS@             \
 
6
        @GIMP_MP_FLAGS@
 
7
 
 
8
INCLUDES = \
 
9
        -I$(top_builddir)       \
 
10
        -I$(top_srcdir)         \
 
11
        -I$(top_builddir)/app   \
 
12
        -I$(top_srcdir)/app     \
 
13
        $(GDK_PIXBUF_CFLAGS)    \
 
14
        -I$(includedir)
 
15
 
 
16
noinst_LIBRARIES = libapppaint.a
 
17
 
 
18
libapppaint_a_sources = \
 
19
        paint-enums.h           \
 
20
        paint-types.h           \
 
21
        gimp-paint.c            \
 
22
        gimp-paint.h            \
 
23
        gimpairbrush.c          \
 
24
        gimpairbrush.h          \
 
25
        gimpairbrushoptions.c   \
 
26
        gimpairbrushoptions.h   \
 
27
        gimpbrushcore.c         \
 
28
        gimpbrushcore.h         \
 
29
        gimpbrushcore-kernels.h \
 
30
        gimpclone.c             \
 
31
        gimpclone.h             \
 
32
        gimpcloneoptions.c      \
 
33
        gimpcloneoptions.h      \
 
34
        gimpconvolve.c          \
 
35
        gimpconvolve.h          \
 
36
        gimpconvolveoptions.c   \
 
37
        gimpconvolveoptions.h   \
 
38
        gimpdodgeburn.c         \
 
39
        gimpdodgeburn.h         \
 
40
        gimpdodgeburnoptions.c  \
 
41
        gimpdodgeburnoptions.h  \
 
42
        gimperaser.c            \
 
43
        gimperaser.h            \
 
44
        gimperaseroptions.c     \
 
45
        gimperaseroptions.h     \
 
46
        gimpink.c               \
 
47
        gimpink.h               \
 
48
        gimpink-blob.c          \
 
49
        gimpink-blob.h          \
 
50
        gimpinkoptions.c        \
 
51
        gimpinkoptions.h        \
 
52
        gimppaintcore.c         \
 
53
        gimppaintcore.h         \
 
54
        gimppaintcore-stroke.c  \
 
55
        gimppaintcore-stroke.h  \
 
56
        gimppaintcore-undo.c    \
 
57
        gimppaintcore-undo.h    \
 
58
        gimppaintoptions.c      \
 
59
        gimppaintoptions.h      \
 
60
        gimppencil.c            \
 
61
        gimppencil.h            \
 
62
        gimppenciloptions.c     \
 
63
        gimppenciloptions.h     \
 
64
        gimppaintbrush.c        \
 
65
        gimppaintbrush.h        \
 
66
        gimpsmudge.c            \
 
67
        gimpsmudge.h            \
 
68
        gimpsmudgeoptions.c     \
 
69
        gimpsmudgeoptions.h
 
70
 
 
71
libapppaint_a_built_sources = paint-enums.c
 
72
 
 
73
libapppaint_a_SOURCES = $(libapppaint_a_built_sources) $(libapppaint_a_sources)
 
74
 
 
75
EXTRA_DIST = makefile.msc
 
76
 
 
77
#
 
78
# rules to generate built sources
 
79
#
 
80
# setup autogeneration dependencies
 
81
gen_sources = xgen-pec
 
82
CLEANFILES = $(gen_sources)
 
83
 
 
84
$(srcdir)/paint-enums.c: $(srcdir)/paint-enums.h $(GIMP_MKENUMS)
 
85
        $(GIMP_MKENUMS) \
 
86
                --fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"paint-enums.h\"\n#include \"gimp-intl.h\"" \
 
87
                --fprod "\n/* enumerations from \"@filename@\" */" \
 
88
                --vhead "GType\n@enum_name@_get_type (void)\n{\n  static const G@Type@Value values[] =\n  {" \
 
89
                --vprod "    { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
 
90
                --vtail "    { 0, NULL, NULL }\n  };\n" \
 
91
                --dhead "  static const Gimp@Type@Desc descs[] =\n  {" \
 
92
                --dprod "    { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
 
93
                --dtail "    { 0, NULL, NULL }\n  };\n\n  static GType type = 0;\n\n  if (! type)\n    {\n      type = g_@type@_register_static (\"@EnumName@\", values);\n      gimp_@type@_set_value_descriptions (type, descs);\n    }\n\n  return type;\n}\n" \
 
94
                $(srcdir)/paint-enums.h > xgen-pec \
 
95
        && cp xgen-pec $(@F) \
 
96
        && rm -f xgen-pec