Added atk_marshal_VOID__INT_INT marshaller. Updated the Makefiles so the
[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         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         atktable.c              \
24         atktext.c               \
25         atkutil.c               \
26         atkvalue.c
27
28 ATK_MARSHALFILES = atkmarshal.h atkmarshal.list atkmarshal.c
29 EXTRA_DIST += atkmarshal.c atkmarshal.list
30 MAINTAINERCLEANFILES += atkmarshal.c
31
32 Makefile: $(ATK_MARSHALFILES)
33
34 INCLUDES = \
35         -I$(top_srcdir)         \
36         @DEP_CFLAGS@
37
38 LDFLAGS =  \
39         -no-undefined   \
40         @DEP_LIBS@
41
42 libatkincludedir=$(includedir)/atk-1.0/atk
43
44 libatkinclude_HEADERS = \
45         atk.h                   \
46         atkaction.h             \
47         atkcomponent.h          \
48         atkeditabletext.h       \
49         atkhyperlink.h          \
50         atkhypertext.h          \
51         atkobject.h             \
52         atkobjectfactory.h      \
53         atkimage.h              \
54         atkregistry.h           \
55         atkrelation.h           \
56         atkrelationset.h        \
57         atkselection.h          \
58         atkstate.h              \
59         atkstateset.h           \
60         atktable.h              \
61         atktext.h               \
62         atkutil.h               \
63         atkvalue.h
64
65 # initial creation of the real stamp-* files
66 atk.defs atkmarshal.h :   # never add deps here
67         test -f "$(srcdir)/$@" || touch $(srcdir)/$@
68
69 $(srcdir)/stamp-atkmarshal.h: @REBUILD@ atkmarshal.list atkmarshal.h
70         cd $(srcdir) \
71         && glib-genmarshal --prefix=atk_marshal atkmarshal.list --header >> xgen-gmh \
72         && (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
73         && rm -f xgen-gmh xgen-gmh~ \
74         && echo timestamp > $(@F)
75 $(srcdir)/atkmarshal.c: @REBUILD@ $(srcdir)/stamp-atkmarshal.h
76         cd $(srcdir) \
77         && glib-genmarshal --prefix=atk_marshal atkmarshal.list --body >> xgen-gmc \
78         && cp xgen-gmc atkmarshal.c \
79         && rm -f xgen-gmc xgen-gmc~
80