~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/Makefile.am

  • Committer: Brian Aker
  • Date: 2008-07-24 01:17:13 UTC
  • mfrom: (202.1.18 codestyle)
  • Revision ID: brian@tangent.org-20080724011713-5jceruz4bd4oawaq
Merge Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16
16
# MA 02111-1307, USA
17
17
 
18
 
BUILT_SOURCES =                                                 $(HEADERS_GEN) 
19
 
 
20
 
HEADERS_GEN =                                                           drizzle_version.h
21
 
 
22
 
HEADERS_ABI =                                                           drizzle.h \
23
 
                                                                                                                drizzle_com.h \
24
 
                                                                                                                drizzle_time.h \
25
 
                                                                                                                my_list.h \
26
 
                                                                                                                my_alloc.h \
27
 
                                                                                                                typelib.h \
28
 
                                                                                                                mysql/plugin.h \
29
 
                                                                                                                mysql/plugin_audit.h
30
 
 
31
 
pkginclude_HEADERS =                            $(HEADERS_ABI) \
32
 
                                                                                                                m_string.h \
33
 
                                                                                                                my_sys.h \
34
 
                                                                                                                my_xml.h \
35
 
                                                                                                                my_pthread.h \
36
 
                                                                                                                decimal.h \
37
 
                                                                                                                errmsg.h \
38
 
                                                                                                                my_global.h \
39
 
                                                                                                                my_net.h \
40
 
                                                                                                                my_getopt.h \
41
 
                                                                                                                my_dir.h \
42
 
                                                                                                                sql_common.h \
43
 
                                                                                                                keycache.h \
44
 
                                                                                                                m_ctype.h \
45
 
                                                                                                                my_attribute.h \
46
 
                                                                                                                $(HEADERS_GEN)
47
 
 
48
 
noinst_HEADERS =                                                my_bit.h \
49
 
                                                                                                                heap.h \
50
 
                                                                                                                my_bitmap.h \
51
 
                                                                                                                my_uctype.h \
52
 
                                                                                                                myisam.h \
53
 
                                                                                                                myisampack.h \
54
 
                                                                                                                myisammrg.h \
55
 
                                                                                                                mysys_err.h \
56
 
                                                                                                                my_base.h \
57
 
                                                                                                                help_start.h \
58
 
                                                                                                                help_end.h \
59
 
                                                                                                                my_nosys.h \
60
 
                                                                                                                queues.h \
61
 
                                                                                                                sha1.h \
62
 
                                                                                                                sha2.h \
63
 
                                                                                                                my_tree.h \
64
 
                                                                                                                my_trie.h \
65
 
                                                                                                                hash.h \
66
 
                                                                                                                thr_alarm.h \
67
 
                                                                                                                thr_lock.h \
68
 
                                                                                                                t_ctype.h \
69
 
                                                                                                                violite.h \
70
 
                                                                                                                my_md5.h \
71
 
                                                                                                                base64.h \
72
 
                                                                                                                drizzle_version.h.in \
73
 
                                                                                                                my_handler.h \
74
 
                                                                                                                my_time.h
 
18
BUILT_SOURCES =         $(HEADERS_GEN) 
 
19
 
 
20
HEADERS_GEN =           drizzle_version.h
 
21
 
 
22
HEADERS_ABI =           drizzle.h \
 
23
                        drizzle_com.h \
 
24
                        drizzle_time.h \
 
25
                        my_list.h \
 
26
                        my_alloc.h \
 
27
                        typelib.h \
 
28
                        drizzle/plugin.h \
 
29
                        drizzle/plugin_audit.h
 
30
 
 
31
pkginclude_HEADERS =    $(HEADERS_ABI) \
 
32
                        m_string.h \
 
33
                        my_sys.h \
 
34
                        my_xml.h \
 
35
                        my_pthread.h \
 
36
                        decimal.h \
 
37
                        errmsg.h \
 
38
                        my_global.h \
 
39
                        my_net.h \
 
40
                        my_getopt.h \
 
41
                        my_dir.h \
 
42
                        sql_common.h \
 
43
                        keycache.h \
 
44
                        m_ctype.h \
 
45
                        my_attribute.h \
 
46
                        $(HEADERS_GEN)
 
47
 
 
48
noinst_HEADERS =        my_bit.h \
 
49
                        heap.h \
 
50
                        my_bitmap.h \
 
51
                        my_uctype.h \
 
52
                        myisam.h \
 
53
                        myisampack.h \
 
54
                        myisammrg.h \
 
55
                        mysys_err.h \
 
56
                        my_base.h \
 
57
                        help_start.h \
 
58
                        help_end.h \
 
59
                        my_nosys.h \
 
60
                        queues.h \
 
61
                        sha1.h \
 
62
                        sha2.h \
 
63
                        my_tree.h \
 
64
                        my_trie.h \
 
65
                        hash.h \
 
66
                        thr_alarm.h \
 
67
                        thr_lock.h \
 
68
                        t_ctype.h \
 
69
                        violite.h \
 
70
                        my_md5.h \
 
71
                        base64.h \
 
72
                        drizzle_version.h.in \
 
73
                        my_handler.h \
 
74
                        my_time.h \
 
75
                        drizzle/server/field/blob.h \
 
76
                        drizzle/server/field/date.h \
 
77
                        drizzle/server/field/datetime.h \
 
78
                        drizzle/server/field/decimal.h \
 
79
                        drizzle/server/field/double.h \
 
80
                        drizzle/server/field/int64_t.h \
 
81
                        drizzle/server/field/long.h \
 
82
                        drizzle/server/field/null.h \
 
83
                        drizzle/server/field/set.h \
 
84
                        drizzle/server/field/short.h \
 
85
                        drizzle/server/field/string.h \
 
86
                        drizzle/server/field/timestamp.h \
 
87
                        drizzle/server/field/timetype.h \
 
88
                        drizzle/server/field/varstring.h \
 
89
                        drizzle/server/field/year.h
 
90
 
75
91
 
76
92
# Remove built files and the symlinked directories
77
 
CLEANFILES =                            $(BUILT_SOURCES)
 
93
CLEANFILES =            $(BUILT_SOURCES)
78
94
 
79
 
EXTRA_DIST =                            drizzle_h.ic
 
95
EXTRA_DIST =            drizzle_h.ic
80
96
 
81
97
# Some include files that may be moved and patched by configure
82
 
DISTCLEANFILES =                                                sched.h \
83
 
                                                                                                                $(CLEANFILES)
 
98
DISTCLEANFILES =        sched.h \
 
99
                        $(CLEANFILES)
84
100
 
85
101
# These files should not be included in distributions since they are
86
102
# generated by configure from the .h.in files
87
103
dist-hook:
88
 
                                                                                                                $(RM) -f $(distdir)/drizzle_version.h 
 
104
        $(RM) -f $(distdir)/drizzle_version.h 
89
105
 
90
106
#
91
107
# Rules for checking that ABI has not changed
92
108
#
93
109
 
94
110
# Create a icheck file and compare it to the reference
95
 
abi_check:                                                                      $(HEADERS_ABI) \
96
 
                                                                                                                drizzle_version.h \
97
 
                                                                                                                mysql_h.ic
98
 
                                                                                                                @set -ex; \
99
 
                                                                                                                if [ @ICHECK@ != no ] ; then \
100
 
                                                                                                                        @ICHECK@ --canonify --skip-from-re /usr/ -o $@ $(HEADERS_ABI); \
101
 
                                                                                                                        @ICHECK@ --compare drizzle_h.ic $@; \
102
 
                                                                                                                fi; \
103
 
                                                                                                                touch abi_check;
 
111
abi_check:      $(HEADERS_ABI) drizzle_version.h mysql_h.ic
 
112
        @set -ex; \
 
113
        if test "x@ICHECK@" != "xno"  ; then \
 
114
                @ICHECK@ --canonify --skip-from-re /usr/ -o $@ $(HEADERS_ABI); \
 
115
                @ICHECK@ --compare drizzle_h.ic $@; \
 
116
        fi; \
 
117
        touch abi_check;
104
118