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