Makefile.am 2.05 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
19 20
pkginclude_HEADERS =	dbug.h m_string.h my_sys.h my_list.h \
			mysql.h mysql_com.h mysqld_error.h mysql_embed.h \
21
		  my_semaphore.h my_pthread.h my_no_pthread.h raid.h errmsg.h \
22
			my_global.h my_net.h my_alloc.h\
bk@work.mysql.com's avatar
bk@work.mysql.com committed
23
			sslopt-case.h sslopt-longopts.h sslopt-usage.h \
24
			sslopt-vars.h $(BUILT_SOURCES)
25
noinst_HEADERS =	config-win.h \
monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
26
			nisam.h heap.h merge.h my_bitmap.h\
bk@work.mysql.com's avatar
bk@work.mysql.com committed
27 28 29 30
			myisam.h myisampack.h myisammrg.h ft_global.h\
			my_dir.h mysys_err.h my_base.h \
			my_nosys.h my_alarm.h queues.h \
			my_tree.h hash.h thr_alarm.h thr_lock.h \
monty@hundin.mysql.fi's avatar
monty@hundin.mysql.fi committed
31
			t_ctype.h violite.h md5.h mysql_version.h.in \
32
			my_handler.h my_getopt.h
bk@work.mysql.com's avatar
bk@work.mysql.com committed
33 34

# mysql_version.h are generated
35
SUPERCLEANFILES =	mysql_version.h my_config.h
bk@work.mysql.com's avatar
bk@work.mysql.com committed
36 37

# Some include files that may be moved and patched by configure
38
DISTCLEANFILES =	sched.h
bk@work.mysql.com's avatar
bk@work.mysql.com committed
39

40
all-local:		my_config.h
bk@work.mysql.com's avatar
bk@work.mysql.com committed
41 42

# Since we include my_config.h it better exist from the beginning
monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
43
link_sources:
bk@work.mysql.com's avatar
bk@work.mysql.com committed
44 45
	$(CP) ../config.h my_config.h

46 47 48 49 50
# Keep automake happy 

my_config.h: ../config.h
	$(CP) ../config.h my_config.h

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

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