# Makefile.am - Makefile template for libhurd-btree. # Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc. # Written by Neal H. Walfield . # # This file is part of the GNU Hurd. # # The GNU Hurd 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, or (at # your option) any later version. # # The GNU Hurd 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 the GNU Hurd; see the file COPYING. If not, write to # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, # USA. */ lib_LIBRARIES = libhurd-btree.a libhurd-btree-kernel.a includehurddir = $(includedir)/hurd includehurd_HEADERS = btree.h if ENABLE_TESTS libhurd_btree_a_CPPFLAGS = $(CHECK_CPPFLAGS) libhurd_btree_a_CFLAGS = $(CHECK_CFLAGS) else libhurd_btree_a_CPPFLAGS = $(USER_CPPFLAGS) libhurd_btree_a_CFLAGS = $(USER_CFLAGS) endif libhurd_btree_a_SOURCES = btree.h btree.c if ENABLE_TESTS libhurd_btree_kernel_a_CPPFLAGS = $(CHECK_CPPFLAGS) libhurd_btree_kernel_a_CFLAGS = $(CHECK_CFLAGS) else libhurd_btree_kernel_a_CPPFLAGS = $(KERNEL_CPPFLAGS) libhurd_btree_kernel_a_CFLAGS = $(KERNEL_CFLAGS) endif libhurd_btree_kernel_a_SOURCES = btree.h btree.c TESTS = btree-test t-find-first check_PROGRAMS = btree-test t-find-first btree_test_SOURCES = btree-test.c btree.h btree.c btree_test_CPPFLAGS = $(CHECK_CPPFLAGS) t_find_first_SOURCES = t-find-first.c btree.h btree.c t_find_first_CPPFLAGS = $(CHECK_CPPFLAGS)