ddd3ce1de7e36e59d21bfa9d69ad4f49d4a4337d
[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 += atkmarshal.c
30
31 INCLUDES = \
32         -I$(top_srcdir)         \
33         @DEP_CFLAGS@
34
35 LDFLAGS =  \
36         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)    \
37         -no-undefined                                           \
38         @DEP_LIBS@
39
40 libatkincludedir=$(includedir)/atk-1.0/atk
41
42 libatkinclude_HEADERS = \
43         atk.h                   \
44         atkaction.h             \
45         atkcomponent.h          \
46         atkdocument.h           \
47         atkeditabletext.h       \
48         atkhyperlink.h          \
49         atkhypertext.h          \
50         atknoopobject.h         \
51         atknoopobjectfactory.h  \
52         atkobject.h             \
53         atkobjectfactory.h      \
54         atkimage.h              \
55         atkregistry.h           \
56         atkrelation.h           \
57         atkrelationset.h        \
58         atkselection.h          \
59         atkstate.h              \
60         atkstateset.h           \
61         atkstreamablecontent.h  \
62         atktable.h              \
63         atktext.h               \
64         atkutil.h               \
65         atkvalue.h
66
67 $(libatk_la_OBJECTS): atkmarshal.c atkmarshal.h
68
69 atkmarshal.h: @REBUILD@ stamp-atkmarshal.h
70         @true
71 stamp-atkmarshal.h: atkmarshal.list
72         case @GLIB_GENMARSHAL@ in                                                                       \
73            .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;;                               \
74            *) glib_genmarshal=@GLIB_GENMARSHAL@ ;;                                                      \
75         esac;                                                                                           \
76         $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh           \
77         && (cmp -s xgen-gmh $(srcdir)/atkmarshal.h || cp xgen-gmh $(srcdir)/atkmarshal.h)               \
78         && rm -f xgen-gmh xgen-gmh~                                                                     \
79         && echo timestamp > $(@F)
80
81 atkmarshal.c: @REBUILD@ stamp-atkmarshal.c
82         @true
83 stamp-atkmarshal.c: atkmarshal.list
84         case @GLIB_GENMARSHAL@ in                                                                       \
85            .*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;;                               \
86            *) glib_genmarshal=@GLIB_GENMARSHAL@ ;;                                                      \
87         esac;                                                                                           \
88         $$glib_genmarshal --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc             \
89         && (cmp -s xgen-gmc $(srcdir)/atkmarshal.c || cp xgen-gmc $(srcdir)/atkmarshal.c)               \
90         && rm -f xgen-gmc xgen-gmc~                                                                     \
91         && echo timestamp > $(@F)