Makefile.am 2.19 KB
Newer Older
bk@work.mysql.com's avatar
bk@work.mysql.com committed
1
# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
2
#
bk@work.mysql.com's avatar
bk@work.mysql.com committed
3 4 5 6
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
7
#
bk@work.mysql.com's avatar
bk@work.mysql.com committed
8 9 10 11
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
12
#
bk@work.mysql.com's avatar
bk@work.mysql.com committed
13 14 15 16 17
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA

18
BUILT_SOURCES =		mysql_version.h m_ctype.h my_config.h
monty@narttu.mysql.fi's avatar
monty@narttu.mysql.fi committed
19
pkginclude_HEADERS =	my_dbug.h m_string.h my_sys.h my_list.h my_xml.h \
20
			mysql.h mysql_com.h mysql_embed.h \
21
		  	my_semaphore.h my_pthread.h my_no_pthread.h raid.h \
22
			errmsg.h my_global.h my_net.h my_alloc.h \
monty@narttu.mysql.fi's avatar
monty@narttu.mysql.fi committed
23
			my_getopt.h sslopt-longopts.h my_dir.h typelib.h \
24
			sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
25
			mysql_time.h mysql/plugin.h $(BUILT_SOURCES)
monty@mashka.mysql.fi's avatar
monty@mashka.mysql.fi committed
26
noinst_HEADERS =	config-win.h config-os2.h config-netware.h \
27
			heap.h my_bitmap.h my_uctype.h \
bk@work.mysql.com's avatar
bk@work.mysql.com committed
28
			myisam.h myisampack.h myisammrg.h ft_global.h\
monty@mysql.com's avatar
monty@mysql.com committed
29
			mysys_err.h my_base.h help_start.h help_end.h \
30
			my_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
31
			my_aes.h my_tree.h my_trie.h hash.h thr_alarm.h \
kent@mysql.com's avatar
kent@mysql.com committed
32
			thr_lock.h t_ctype.h violite.h md5.h base64.h \
33
			mysql_version.h.in my_handler.h my_time.h decimal.h \
34
			my_vle.h my_user.h
bk@work.mysql.com's avatar
bk@work.mysql.com committed
35 36

# mysql_version.h are generated
37
CLEANFILES =            mysql_version.h my_config.h readline openssl
bk@work.mysql.com's avatar
bk@work.mysql.com committed
38 39

# Some include files that may be moved and patched by configure
serg@serg.mylan's avatar
serg@serg.mylan committed
40
DISTCLEANFILES =	sched.h $(CLEANFILES)
41

monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
42
link_sources:
43
	-$(RM) -fr readline
44
	@readline_h_ln_cmd@
45
	@yassl_h_ln_cmd@
bk@work.mysql.com's avatar
bk@work.mysql.com committed
46

47 48 49
my_config.h: ../config.h
	$(CP) ../config.h my_config.h

bk@work.mysql.com's avatar
bk@work.mysql.com committed
50 51 52
# These files should not be included in distributions since they are
# generated by configure from the .h.in files
dist-hook:
53
	$(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h
54 55 56

# Don't update the files from bitkeeper
%::SCCS/s.%