~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to include/Makefile.am

  • Committer: bk at mysql
  • Date: 2000-07-31 19:29:14 UTC
  • Revision ID: sp1r-bk@work.mysql.com-20000731192914-08846
Import changeset

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
 
2
 
3
# This library is free software; you can redistribute it and/or
 
4
# modify it under the terms of the GNU Library General Public
 
5
# License as published by the Free Software Foundation; either
 
6
# version 2 of the License, or (at your option) any later version.
 
7
 
8
# This library is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
# Library General Public License for more details.
 
12
 
13
# You should have received a copy of the GNU Library General Public
 
14
# License along with this library; if not, write to the Free
 
15
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
16
# MA 02111-1307, USA
 
17
 
 
18
BUILT_SOURCES =         my_config.h mysql_version.h m_ctype.h
 
19
pkginclude_HEADERS =    dbug.h m_string.h my_sys.h mysql.h mysql_com.h \
 
20
                        mysqld_error.h my_list.h \
 
21
                        my_pthread.h my_no_pthread.h raid.h errmsg.h \
 
22
                        my_config.h my_global.h my_net.h \
 
23
                        sslopt-case.h sslopt-longopts.h sslopt-usage.h \
 
24
                        sslopt-vars.h $(BUILT_SOURCES)
 
25
noinst_HEADERS =        global.h config-win.h \
 
26
                        nisam.h heap.h merge.h \
 
27
                        myisam.h myisampack.h myisammrg.h ft_global.h\
 
28
                        my_dir.h mysys_err.h my_base.h \
 
29
                        my_nosys.h my_alarm.h queues.h \
 
30
                        my_tree.h hash.h thr_alarm.h thr_lock.h \
 
31
                        getopt.h t_ctype.h violite.h \
 
32
                        mysql_version.h.in
 
33
 
 
34
# mysql_version.h are generated
 
35
SUPERCLEANFILES =       mysql_version.h
 
36
 
 
37
# Some include files that may be moved and patched by configure
 
38
DISTCLEANFILES =        $(distdir)/sched.h
 
39
 
 
40
all-local:      my_config.h my_global.h
 
41
 
 
42
# Since we include my_config.h it better exist from the beginning
 
43
my_config.h:  ../config.h
 
44
        $(CP) ../config.h my_config.h
 
45
 
 
46
# This should be changed in the source and removed.
 
47
my_global.h: global.h
 
48
        $(CP) global.h my_global.h
 
49
 
 
50
# These files should not be included in distributions since they are
 
51
# generated by configure from the .h.in files
 
52
dist-hook:
 
53
        rm -f $(distdir)/mysql_version.h $(distdir)/my_config.h