~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/Makefile.am

  • Committer: Brian Aker
  • Date: 2008-07-26 04:51:46 UTC
  • mfrom: (202.1.25 codestyle)
  • Revision ID: brian@tangent.org-20080726045146-ax7ofn8aqnkycjl3
Merge from Monty

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
18
 
20
 
HEADERS_GEN =           drizzle_version.h
 
19
BUILT_SOURCES =         drizzle_version.h \
 
20
                        mysqld_ername.h \
 
21
                        mysqld_error.h \
 
22
                        sql_state.h
21
23
 
22
24
HEADERS_ABI =           drizzle.h \
23
25
                        drizzle_com.h \
43
45
                        keycache.h \
44
46
                        m_ctype.h \
45
47
                        my_attribute.h \
46
 
                        $(HEADERS_GEN)
 
48
                        $(BUILT_SOURCES)
47
49
 
48
50
noinst_HEADERS =        my_bit.h \
49
51
                        heap.h \
86
88
                        drizzle/server/field/varstring.h \
87
89
                        drizzle/server/field/year.h
88
90
 
 
91
LDADD = $(top_builddir)/mysys/libmysyslt.la \
 
92
        $(top_builddir)/strings/libmystringslt.la $(ZLIB_LIBS)
 
93
 
 
94
EXTRA_PROGRAMS = comp_err
 
95
comperr_CFLAGS = -I${top_srcdir}/server
 
96
 
 
97
# This will build mysqld_error.h, mysqld_ername.h and sql_state.h
 
98
# NOTE Built files should depend on their sources to avoid
 
99
# the built files being rebuilt in source dist
 
100
mysqld_error.h: comp_err$(EXEEXT) $(top_srcdir)/server/share/errmsg.txt
 
101
        $(top_builddir)/include/comp_err$(EXEEXT) \
 
102
        --charset=$(top_srcdir)/server/share/charsets \
 
103
        --out-dir=$(top_builddir)/server/share/ \
 
104
        --header_file=$(top_builddir)/include/mysqld_error.h \
 
105
        --name_file=$(top_builddir)/include/mysqld_ername.h \
 
106
        --state_file=$(top_builddir)/include/sql_state.h \
 
107
        --in_file=$(top_srcdir)/server/share/errmsg.txt
 
108
 
 
109
mysqld_ername.h: mysqld_error.h
 
110
sql_state.h: mysqld_error.h
89
111
 
90
112
# Remove built files and the symlinked directories
91
113
CLEANFILES =            $(BUILT_SOURCES)