source: trunk/pbs_drmaa/Makefile.am @ 76

Revision 76, 1.4 KB checked in by mmamonski, 12 years ago (diff)

Wrap PBS API in single class

  • Property svn:keywords set to Id
Line 
1# $Id$
2#
3# FedStage DRMAA for PBS Professional
4# Copyright (C) 2006-2009  FedStage Systems
5#
6# This program is free software: you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation, either version 3 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18#
19
20GPERF       = @GPERF@
21GPERFFLAGS  = --readonly-tables
22AM_CPPFLAGS = @PBS_INCLUDES@ -I$(top_srcdir)/drmaa_utils -fPIC
23
24lib_LTLIBRARIES = libdrmaa.la
25
26libdrmaa_la_SOURCES = \
27 drmaa.c \
28 job.c job.h \
29 pbs_attrib.gperf pbs_attrib.h \
30 session.c session.h \
31 submit.c submit.h \
32 util.c util.h \
33 log_reader.c log_reader.h \
34 pbs_conn.c pbs_conn.h
35BUILT_SOURCES       = pbs_attrib.c
36EXTRA_DIST          = pbs_attrib.c
37dist_sysconf_DATA   = pbs_drmaa.conf.example
38libdrmaa_la_LIBADD  = ../drmaa_utils/drmaa_utils/libdrmaa_utils.la @PBS_LIBS@
39libdrmaa_la_LDFLAGS = @PBS_LDFLAGS@ -version-info @PBS_DRMAA_VERSION_INFO@
40
41
42.gperf.c:
43        $(GPERF) $(GPERFFLAGS) --output-file=$@ $<
44
45if GCC
46pbs_attrib.lo: CFLAGS += @GCC_W_NO_MISSING_FIELD_INITIALIZERS@
47endif
Note: See TracBrowser for help on using the repository browser.