~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to fs/Makefile.am

  • Committer: sasha at sashanet
  • Date: 2001-04-12 01:09:00 UTC
  • mfrom: (669.1.1)
  • Revision ID: sp1r-sasha@mysql.sashanet.com-20010412010900-14282
Ugly merge of 3.23 changes into 4.0 - fix up needed

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 program is free software; you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License as published by
 
5
# the Free Software Foundation; either version 2 of the License, or
 
6
# (at your option) any later version.
 
7
 
8
# This program 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
 
11
# GNU General Public License for more details.
 
12
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software
 
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
16
 
 
17
#called from the top level Makefile
 
18
 
 
19
CFLAGS = $(ORBIT_CFLAGS) -g
 
20
LFLAGS = $(ORBIT_LIBS)
 
21
orbit_idl = @orbit_idl@
 
22
orbit_includes = @orbit_includes@
 
23
orbit_libs = @orbit_libs@
 
24
 
 
25
DISTCLEANFILES = CorbaFS-common.* CorbaFS-stubs.* CorbaFS-skels.* CorbaFS.h
 
26
 
 
27
MYSQLDATAdir =          $(localstatedir)
 
28
MYSQLSHAREdir =         $(pkgdatadir)
 
29
MYSQLBASEdir=           $(prefix)
 
30
INCLUDES =              @MT_INCLUDES@ -I$(srcdir)/../include \
 
31
                        -I$(srcdir)/../regex \
 
32
                        -I$(srcdir) -I../include -I.. -I. \
 
33
                        -I$(srcdir) -I../include -I.. -I. \
 
34
                         $(orbit_includes)
 
35
WRAPLIBS=               @WRAPLIBS@
 
36
libexec_PROGRAMS =   mysqlcorbafsd
 
37
noinst_PROGRAMS =mysqlfs_test 
 
38
LDADD = ../libmysql/libmysqlclient.la $(orbit_libs)
 
39
mysqlcorbafsd_LDADD =           $(LDADD)  $(CXXLDFLAGS) 
 
40
noinst_HEADERS =
 
41
mysqlfs_test_SOURCES = mysqlcorbafs_test.c CorbaFS-common.c CorbaFS-stubs.c libmysqlfs.c
 
42
mysqlcorbafsd_SOURCES = mysqlcorbafs.c CorbaFS-skels.c database.c CorbaFS-common.c libmysqlfs.c
 
43
 
 
44
DEFS =                  -DMYSQL_SERVER \
 
45
                        -DDEFAULT_MYSQL_HOME="\"$(MYSQLBASEdir)\"" \
 
46
                        -DDATADIR="\"$(MYSQLDATAdir)\"" \
 
47
                        -DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
 
48
                        @DEFS@
 
49
# Don't put lex_hash.h in BUILT_SOURCES as this will give infinite recursion
 
50
BUILT_SOURCES = CorbaFS-common.c CorbaFS-stubs.c CorbaFS-skels.c CorbaFS.h
 
51
EXTRA_DIST = $(BUILT_SOURCES)
 
52
#YFLAGS =               -d
 
53
 
 
54
OMIT_DEPENDENCIES =     pthread.h stdio.h __stdio.h stdlib.h __stdlib.h math.h\
 
55
                        __math.h time.h __time.h unistd.h __unistd.h types.h \
 
56
                        xtypes.h ac-types.h posix.h string.h __string.h \
 
57
                        errno.h socket.h inet.h dirent.h netdb.h \
 
58
                        cleanup.h cond.h debug_out.h fd.h kernel.h mutex.h \
 
59
                        prio_queue.h pthread_attr.h pthread_once.h queue.h\
 
60
                        sleep.h specific.h version.h pwd.h timers.h uio.h \
 
61
                        cdefs.h machdep.h signal.h __signal.h util.h lex.h \
 
62
                        wait.h
 
63
 
 
64
link_sources:
 
65
        rm -f mini_client_errors.c
 
66
        @LN_CP_F@ ../libmysql/errmsg.c mini_client_errors.c
 
67
 
 
68
 
 
69
# Don't update the files from bitkeeper
 
70
%::SCCS/s.%
 
71
 
 
72
idltargets : CorbaFS.idl
 
73
        $(ORBIT_IDL) CorbaFS.idl
 
74
        $(orbit_idl) CorbaFS.idl
 
75
 
 
76
# individual rules
 
77
 
 
78
CorbaFS-stubs.c : CorbaFS.idl
 
79
        $(orbit_idl) CorbaFS.idl
 
80
 
 
81
CorbaFS-common.c : CorbaFS.idl
 
82
        $(orbit_idl) CorbaFS.idl
 
83
 
 
84
CorbaFS-skels.c : CorbaFS.idl
 
85
        $(orbit_idl) CorbaFS.idl
 
86
 
 
87
#CorbaFS-client.c : CorbaFS.h
 
88
 
 
89
#CorbaFS-server.c : CorbaFS.h
 
90
 
 
91
CorbaFS.h : CorbaFS.idl
 
92
        $(orbit_idl) CorbaFS.idl
 
93