add extra files to MAINTAINERCLEANFILES
[platform/upstream/atk.git] / atk / Makefile.am
1
2 lib_LTLIBRARIES = libatk.la
3
4 libatk_la_SOURCES =             \
5         atkaction.c             \
6         atkcomponent.c          \
7         atkdocument.c           \
8         atkeditabletext.c       \
9         atkhyperlink.c          \
10         atkhypertext.c          \
11         atkimage.c              \
12         atknoopobject.c         \
13         atknoopobjectfactory.c  \
14         atkobject.c             \
15         atkobjectfactory.c      \
16         atkregistry.c           \
17         atkrelation.c           \
18         atkrelationset.c        \
19         atkselection.c          \
20         atkstate.c              \
21         atkstateset.c           \
22         atkstreamablecontent.c  \
23         atktable.c              \
24         atktext.c               \
25         atkutil.c               \
26         atkvalue.c
27
28 EXTRA_DIST += atkmarshal.list
29 MAINTAINERCLEANFILES +=         \
30         atkmarshal.c            \
31         atkmarshal.h            \
32         stamp-atkmarshal.c      \
33         stamp-atkmarshal.h
34
35 INCLUDES = \
36         -I$(top_srcdir)         \
37         @DEP_CFLAGS@
38
39 LDFLAGS =  \
40         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)    \
41         -no-undefined                                           \
42         @DEP_LIBS@
43
44 libatkincludedir=$(includedir)/atk-1.0/atk
45
46 libatkinclude_HEADERS = \
47         atk.h                   \
48         atkaction.h             \
49         atkcomponent.h          \
50         atkdocument.h           \
51         atkeditabletext.h       \
52         atkhyperlink.h          \
53         atkhypertext.h          \
54         atknoopobject.h         \
55         atknoopobjectfactory.h  \
56         atkobject.h             \
57         atkobjectfactory.h      \
58         atkimage.h              \
59         atkregistry.h           \
60         atkrelation.h           \
61         atkrelationset.h        \
62         atkselection.h          \
63         atkstate.h              \
64         atkstateset.h           \
65         atkstreamablecontent.h  \
66         atktable.h              \
67         atktext.h               \
68         atkutil.h               \
69         atkvalue.h
70
71 $(libatk_la_OBJECTS): atkmarshal.c atkmarshal.h
72
73 atkmarshal.h: @REBUILD@ stamp-atkmarshal.h
74         @true
75 stamp-atkmarshal.h: atkmarshal.list
76         case @GLIB_GENMARSHAL@ in                                                                       \
77            .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;;                               \
78            *) glib_genmarshal=@GLIB_GENMARSHAL@ ;;                                                      \
79         esac;                                                                                           \
80         $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh           \
81         && (cmp -s xgen-gmh $(srcdir)/atkmarshal.h || cp xgen-gmh $(srcdir)/atkmarshal.h)               \
82         && rm -f xgen-gmh xgen-gmh~                                                                     \
83         && echo timestamp > $(@F)
84
85 atkmarshal.c: @REBUILD@ stamp-atkmarshal.c
86         @true
87 stamp-atkmarshal.c: atkmarshal.list
88         case @GLIB_GENMARSHAL@ in                                                                       \
89            .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;;                               \
90            *) glib_genmarshal=@GLIB_GENMARSHAL@ ;;                                                      \
91         esac;                                                                                           \
92         $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc             \
93         && (cmp -s xgen-gmc $(srcdir)/atkmarshal.c || cp xgen-gmc $(srcdir)/atkmarshal.c)               \
94         && rm -f xgen-gmc xgen-gmc~                                                                     \
95         && echo timestamp > $(@F)