~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to extra/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:
20
20
                                $(top_builddir)/strings/libmystringslt.la \
21
21
                                                                        -lz
22
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
23
bin_PROGRAMS =                  my_print_defaults \
53
24
                                                                                mysql_waitpid \
54
25
                                                                                innochecksum
55
 
 
56
 
noinst_PROGRAMS =       
57
 
 
58
 
EXTRA_PROGRAMS =        comp_err