Files
sysbench/third_party/luajit/Makefile.am
2016-03-20 01:38:36 +03:00

30 lines
1.1 KiB
Makefile

# Copyright (C) 2016 Alexey Kopytov <akopytov@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
EXTRA_DIST = luajit
all-local: $(builddir)/lib/libluajit-5.1.a
$(builddir)/lib/libluajit-5.1.a: luajit/src
$(MAKE) -C $(srcdir)/luajit
$(MAKE) -C $(srcdir)/luajit \
PREFIX=$(abs_top_builddir)/third_party/luajit \
INSTALL_INC=$(abs_top_builddir)/third_party/luajit/inc \
install
clean-local:
$(MAKE) -C luajit clean
rm -rf bin inc lib share