~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to extra/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:
13
13
# along with this program; if not, write to the Free Software
14
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
15
 
16
 
AM_CPPFLAGS =                   -I$(top_builddir)/include -I$(top_srcdir)/include \
17
 
                                                                        -I$(top_srcdir)/server
18
 
 
19
 
LDADD =                                         $(top_builddir)/mysys/libmysyslt.la \
20
 
                                $(top_builddir)/strings/libmystringslt.la \
21
 
                                                                        -lz
22
 
 
23
 
BUILT_SOURCES=          $(top_builddir)/include/mysqld_error.h \
24
 
                  $(top_builddir)/include/sql_state.h \
25
 
                  $(top_builddir)/include/mysqld_ername.h
26
 
 
27
 
pkginclude_HEADERS=     $(BUILT_SOURCES)
28
 
 
29
 
DISTCLEANFILES =        $(BUILT_SOURCES) comp_err
30
 
 
31
 
SUBDIRS =               
32
 
 
33
 
DIST_SUBDIRS =          
34
 
 
35
 
# This will build mysqld_error.h, mysqld_ername.h and sql_state.h
36
 
# NOTE Built files should depend on their sources to avoid
37
 
# the built files being rebuilt in source dist
38
 
$(top_builddir)/include/mysqld_error.h: comp_err.c \
39
 
                        $(top_srcdir)/server/share/errmsg.txt
40
 
        $(MAKE) $(AM_MAKEFLAGS) comp_err$(EXEEXT)
41
 
        $(top_builddir)/extra/comp_err$(EXEEXT) \
42
 
        --charset=$(top_srcdir)/server/share/charsets \
43
 
        --out-dir=$(top_builddir)/server/share/ \
44
 
        --header_file=$(top_builddir)/include/mysqld_error.h \
45
 
        --name_file=$(top_builddir)/include/mysqld_ername.h \
46
 
        --state_file=$(top_builddir)/include/sql_state.h \
47
 
        --in_file=$(top_srcdir)/server/share/errmsg.txt
48
 
 
49
 
$(top_builddir)/include/mysqld_ername.h: $(top_builddir)/include/mysqld_error.h
50
 
$(top_builddir)/include/sql_state.h: $(top_builddir)/include/mysqld_error.h
51
 
 
52
 
bin_PROGRAMS =                  my_print_defaults \
53
 
                                                                                mysql_waitpid \
54
 
                                                                                innochecksum
55
 
 
56
 
noinst_PROGRAMS =       
57
 
 
58
 
EXTRA_PROGRAMS =        comp_err
 
16
LDADD =         $(top_builddir)/mysys/libmysyslt.la \
 
17
                $(top_builddir)/strings/libmystringslt.la
 
18
        
 
19
 
 
20
bin_PROGRAMS =  my_print_defaults \
 
21
                mysql_waitpid \
 
22
                innochecksum