~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/Makefile.am

mergeĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
# MA 02111-1307, USA
17
17
 
18
18
BUILT_SOURCES =         $(HEADERS_GEN) link_sources
19
 
HEADERS_GEN =           mysql_version.h
20
 
HEADERS_ABI =           mysql.h mysql_com.h mysql_time.h \
 
19
HEADERS_GEN =           drizzle_version.h
 
20
HEADERS_ABI =           drizzle.h drizzle_com.h drizzle_time.h \
21
21
                        my_list.h my_alloc.h typelib.h mysql/plugin.h \
22
22
                        mysql/plugin_audit.h mysql/plugin_ftparser.h
23
23
pkginclude_HEADERS =    $(HEADERS_ABI) my_dbug.h m_string.h my_sys.h \
34
34
                        my_nosys.h queues.h sha1.h sha2.h \
35
35
                        my_tree.h my_trie.h hash.h thr_alarm.h \
36
36
                        thr_lock.h t_ctype.h violite.h my_md5.h base64.h \
37
 
                        mysql_version.h.in my_handler.h my_time.h
 
37
                        drizzle_version.h.in my_handler.h my_time.h
38
38
 
39
39
# Remove built files and the symlinked directories
40
40
CLEANFILES =            $(BUILT_SOURCES)
41
41
 
42
 
EXTRA_DIST =            mysql_h.ic
 
42
EXTRA_DIST =            drizzle_h.ic
43
43
 
44
44
# Some include files that may be moved and patched by configure
45
45
DISTCLEANFILES =        sched.h $(CLEANFILES)
50
50
# These files should not be included in distributions since they are
51
51
# generated by configure from the .h.in files
52
52
dist-hook:
53
 
        $(RM) -f $(distdir)/mysql_version.h 
 
53
        $(RM) -f $(distdir)/drizzle_version.h 
54
54
 
55
55
#
56
56
# Rules for checking that ABI has not changed
57
57
#
58
58
 
59
59
# Create a icheck file and compare it to the reference
60
 
abi_check: $(HEADERS_ABI) mysql_version.h mysql_h.ic
 
60
abi_check: $(HEADERS_ABI) drizzle_version.h mysql_h.ic
61
61
        @set -ex; \
62
62
        if [ @ICHECK@ != no ] ; then \
63
63
          @ICHECK@ --canonify --skip-from-re /usr/ -o $@ $(HEADERS_ABI); \
64
 
          @ICHECK@ --compare mysql_h.ic $@; \
 
64
          @ICHECK@ --compare drizzle_h.ic $@; \
65
65
        fi; \
66
66
        touch abi_check;
67
67