summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/Makefile.am
blob: f74a7d273042fdc5ef196c9f4f3b4f78482b0a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
INCLUDES= -I$(top_srcdir)/include

# As all autoconf variables depend from ${prefix} and being resolved only when
# make is run, we can't put these defines to a header file (e.g. to
# default_options.h, generated from default_options.h.in)
# See automake/autoconf docs for details

noinst_LIBRARIES= liboptions.a
liboptions_a_CPPFLAGS= $(CPPFLAGS) \
	-DDEFAULT_PID_FILE_NAME="$(localstatedir)/mysqlmanager.pid" \
	-DDEFAULT_LOG_FILE_NAME="$(localstatedir)/mysqlmanager.log" \
	-DDEFAULT_SOCKET_FILE_NAME="$(localstatedir)/mysqlmanager.sock"

liboptions_a_SOURCES= otpions.h options.cc

bin_PROGRAMS = mysqlmanager

#AM_CXXFLAGS= -Wformat=2 -W -Wall -Wformat-security
mysqlmanager_SOURCES= mysqlmanager.cc manager.h manager.cc log.h log.cc
mysqlmanager_LDADD= liboptions.a \
		    $(top_builddir)/mysys/libmysys.a \
		    $(top_builddir)/strings/libmystrings.a \
		    $(top_builddir)/dbug/libdbug.a

tags: 
	ctags -R *.h *.cc

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