diff options
author | unknown <msvensson@neptunus.(none)> | 2006-09-27 17:11:19 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-09-27 17:11:19 +0200 |
commit | 478965e67d47ce7a12afa4ebd97d0d9e2b5f3f92 (patch) | |
tree | 338071a8f6235dea9634cd752a0a856d8e38a61e /netware/Makefile.am | |
parent | 83717cb7101c934729d1e7c6eebdfb38ee1c0793 (diff) | |
download | mariadb-git-478965e67d47ce7a12afa4ebd97d0d9e2b5f3f92.tar.gz |
Build fixes for netware/ directory
- Create the file netware/libmysql.imp from libmysql/libmysql.def
- Remove the outdated netware/libmysql.imp file from version control
BitKeeper/deleted/.del-libmysql.imp:
Delete: netware/libmysql.imp
BitKeeper/etc/ignore:
Added netware/libmysql.imp to the ignore list
netware/Makefile.am:
Build libmysql.imp from libmysql/libmysql.def
Diffstat (limited to 'netware/Makefile.am')
-rw-r--r-- | netware/Makefile.am | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/netware/Makefile.am b/netware/Makefile.am index 61e7925301d..648ce79c484 100644 --- a/netware/Makefile.am +++ b/netware/Makefile.am @@ -46,8 +46,20 @@ link_sources: @LN_CP_F@ $(srcdir)/$$org ../$$f; \ done else -EXTRA_DIST= comp_err.def init_db.sql install_test_db.ncf \ - libmysql.def libmysql.imp \ + +BUILT_SOURCES = libmysql.imp +DISTCLEANFILES = $(BUILT_SOURCES) + +# Create the libmysql.imp from libmysql/libmysql.def +libmysql.imp: $(top_srcdir)/libmysql/libmysql.def + awk 'BEGIN{x=0;} \ + END{printf("\n");} \ + x==1 {printf(" %s",$$1); x++; next} \ + x>1 {printf(",\n %s", $$1); next} \ + /EXPORTS/{x=1}' $(top_srcdir)/libmysql/libmysql.def > libmysql.imp + +EXTRA_DIST= $(BUILT_SOURCES) comp_err.def init_db.sql install_test_db.ncf \ + libmysql.def \ libmysqlmain.c my_manage.c my_manage.h \ my_print_defaults.def myisam_ftdump.def myisamchk.def \ myisamlog.def myisampack.def mysql.def mysql.xdc \ |