1
# $Id: Makefile.am,v 1.9 2006/08/28 23:03:26 ciesnik Exp $
3
# DRMAA library for Torque/PBS
4
# Copyright (C) 2006 Poznan Supercomputing and Networking Center
5
# DSP team <dsp-devel@hedera.man.poznan.pl>
7
# This library is free software; you can redistribute it and/or
8
# modify it under the terms of the GNU Lesser General Public
9
# License as published by the Free Software Foundation; either
10
# version 2.1 of the License, or (at your option) any later version.
12
# This library is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
# Lesser General Public License for more details.
17
# You should have received a copy of the GNU Lesser General Public
18
# License along with this library; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
include $(top_srcdir)/buildutils/config.mk
25
PBS_LIBS = ../../lib/Libpbs/libtorque.la
27
AM_CFLAGS = @PTHREAD_CFLAGS@
30
GPERFFLAGS = --language=ANSI-C --struct-type --readonly-tables --includes --pic
32
lib_LTLIBRARIES = libdrmaa.la
33
libdrmaa_la_SOURCES = \
51
include_HEADERS = drmaa.h
52
BUILT_SOURCES = drmaa_attrib.c pbs_attrib.c
53
EXTRA_DIST = drmaa_attrib.c pbs_attrib.c
54
libdrmaa_la_LIBADD = $(PBS_LIBS) @PTHREAD_LIBS@
57
base=`basename $< .gperf`; \
58
if $(GPERF) $(GPERFFLAGS) --hash-function-name=$${base}_hash \
59
--lookup-function-name=$${base}_lookup $< >$@; \