~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/Makefile.am

  • Committer: Monty Taylor
  • Date: 2008-07-24 15:41:11 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 212.
  • Revision ID: monty@inaugust.com-20080724154111-w151nai0ilm3er8g
Moved comp_err into include, since it is used to create files in include. Hopefully will make it easier to find/understand. 

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 \
88
90
                        drizzle/server/field/varstring.h \
89
91
                        drizzle/server/field/year.h
90
92
 
 
93
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \
 
94
              -I$(top_srcdir)/server
 
95
 
 
96
LDADD = $(top_builddir)/mysys/libmysyslt.la \
 
97
        $(top_builddir)/strings/libmystringslt.la $(ZLIB_LIBS)
 
98
 
 
99
EXTRA_PROGRAMS = comp_err
 
100
 
 
101
# This will build mysqld_error.h, mysqld_ername.h and sql_state.h
 
102
# NOTE Built files should depend on their sources to avoid
 
103
# the built files being rebuilt in source dist
 
104
mysqld_error.h: comp_err$(EXEEXT) $(top_srcdir)/server/share/errmsg.txt
 
105
        $(top_builddir)/include/comp_err$(EXEEXT) \
 
106
        --charset=$(top_srcdir)/server/share/charsets \
 
107
        --out-dir=$(top_builddir)/server/share/ \
 
108
        --header_file=$(top_builddir)/include/mysqld_error.h \
 
109
        --name_file=$(top_builddir)/include/mysqld_ername.h \
 
110
        --state_file=$(top_builddir)/include/sql_state.h \
 
111
        --in_file=$(top_srcdir)/server/share/errmsg.txt
 
112
 
 
113
mysqld_ername.h: mysqld_error.h
 
114
sql_state.h: mysqld_error.h
91
115
 
92
116
# Remove built files and the symlinked directories
93
117
CLEANFILES =            $(BUILT_SOURCES)