[12] | 1 | # $Id$ |
---|
[1] | 2 | # |
---|
[81] | 3 | # DRMAA for Torque/PBS Professional |
---|
| 4 | # Copyright (C) 2012 Poznan Supercomputing and Networking Center |
---|
[1] | 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 | |
---|
| 20 | GPERF = @GPERF@ |
---|
| 21 | GPERFFLAGS = --readonly-tables |
---|
[81] | 22 | AM_CPPFLAGS = @PBS_INCLUDES@ -I$(top_srcdir)/drmaa2_utils -fPIC |
---|
[1] | 23 | |
---|
| 24 | lib_LTLIBRARIES = libdrmaa.la |
---|
| 25 | |
---|
| 26 | libdrmaa_la_SOURCES = \ |
---|
[81] | 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 |
---|
[1] | 34 | BUILT_SOURCES = pbs_attrib.c |
---|
| 35 | EXTRA_DIST = pbs_attrib.c |
---|
| 36 | dist_sysconf_DATA = pbs_drmaa.conf.example |
---|
[81] | 37 | libdrmaa_la_LIBADD = ../drmaa2_utils/drmaa_utils/libdrmaa_utils.la @PBS_LIBS@ |
---|
[1] | 38 | libdrmaa_la_LDFLAGS = @PBS_LDFLAGS@ -version-info @PBS_DRMAA_VERSION_INFO@ |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | .gperf.c: |
---|
| 42 | $(GPERF) $(GPERFFLAGS) --output-file=$@ $< |
---|
| 43 | |
---|
| 44 | if GCC |
---|
| 45 | pbs_attrib.lo: CFLAGS += @GCC_W_NO_MISSING_FIELD_INITIALIZERS@ |
---|
| 46 | endif |
---|