summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-01-28 17:15:51 +0100
committerunknown <serg@serg.mylan>2005-01-28 17:15:51 +0100
commit852bdc619ab0b4abd17296b0b79edcdc8f60bca4 (patch)
tree65e0bd2ded78ce95af6345d655d3c0c160a50aaa /extra
parentb59aa1aa6aace8dcacdf6080a3f0dc90d05b8909 (diff)
parent5c3c40798dce878bd6561b8da6a5e1cbd9f16279 (diff)
downloadmariadb-git-852bdc619ab0b4abd17296b0b79edcdc8f60bca4.tar.gz
Merge bk-internal:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
Diffstat (limited to 'extra')
-rw-r--r--extra/Makefile.am29
1 files changed, 15 insertions, 14 deletions
diff --git a/extra/Makefile.am b/extra/Makefile.am
index 9f18cbf96e6..43981753515 100644
--- a/extra/Makefile.am
+++ b/extra/Makefile.am
@@ -16,25 +16,26 @@
INCLUDES = @MT_INCLUDES@ -I$(top_srcdir)/include \
@ndbcluster_includes@ -I$(top_srcdir)/sql \
- -I$(top_srcdir)/extra
+ -I$(top_builddir)/include
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \
../dbug/libdbug.a ../strings/libmystrings.a
-BUILT_SOURCES= mysqld_error.h sql_state.h mysqld_ername.h
+BUILT_SOURCES= $(top_builddir)/include/mysqld_error.h \
+ $(top_builddir)/include/sql_state.h \
+ $(top_builddir)/include/mysqld_ername.h
pkginclude_HEADERS= $(BUILT_SOURCES)
-created_sources = created_include_files
-CLEANFILES = $(created_sources)
-SUPERCLEANFILES = $(BUILT_SOURCES)
-
-all: $(created_sources)
+CLEANFILES = $(BUILT_SOURCES)
# This will build mysqld_error.h and sql_state.h
-mysqld_error.h: created_include_files
-mysqld_ername.h: created_include_files
-sql_state.h: created_include_files
-
-created_include_files: comp_err
- $(top_builddir)/extra/comp_err --charset=$(srcdir)/../sql/share/charsets --out-dir=$(top_builddir)/sql/share/ --header_file=$(top_builddir)/extra/mysqld_error.h --name_file=$(top_builddir)/extra/mysqld_ername.h --state_file=$(top_builddir)/extra/sql_state.h --in_file=$(srcdir)/../sql/share/errmsg.txt
- touch created_include_files
+$(top_builddir)/include/mysqld_error.h: comp_err
+ $(top_builddir)/extra/comp_err \
+ --charset=$(top_srcdir)/sql/share/charsets \
+ --out-dir=$(top_builddir)/sql/share/ \
+ --header_file=$(top_builddir)/include/mysqld_error.h \
+ --name_file=$(top_builddir)/include/mysqld_ername.h \
+ --state_file=$(top_builddir)/include/sql_state.h \
+ --in_file=$(top_srcdir)/sql/share/errmsg.txt
+$(top_builddir)/include/mysqld_ername.h: $(top_builddir)/include/mysqld_error.h
+$(top_builddir)/include/sql_state.h: $(top_builddir)/include/mysqld_error.h
bin_PROGRAMS = replace comp_err perror resolveip my_print_defaults \
resolve_stack_dump mysql_waitpid