~ubuntu-branches/ubuntu/precise/torque/precise-updates

« back to all changes in this revision

Viewing changes to src/drmaa/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Morten Kjeldgaard
  • Date: 2009-02-16 17:32:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216173228-repbgujfj52115mg
Tags: 2.3.6+dfsg-0ubuntu1
* New upstream release (LP: #235385).
* Torque-server init script fails during installation and 
  removal (LP: #223649) fixed, "set -e" removed from init script.
* Package torque-scheduler 2.1.8+dfsg-0ubuntu1.1 failed to install
  (LP: #244440 LP: #270574) fixed, "set -e" removed from init script.
* /etc/init.d/torque-mom not idempotent, and stop doesn't work
  (LP: #256998) Fixed, "set -e" removed from init script.
* Torque-scheduler prints errors during package configuration
  (LP: #270653). Reason: missing dir sched_config. Fixed,
  package installs FIFO scheduler config file in
  /var/lib/torque/sched_priv/.
* Package torque-mom 2.1.8+dfsg-0ubuntu1 failed to 
  install/upgrade (LP: #276575 LP: #291674). Reason: missing directories.
  Fixed, /var/lib/torque/server_priv/jobs/, 
  /var/lib/torque/server_priv/queues/, 
  /var/lib/torque/server_priv/accounting/ and
  /var/lib/torque/mom_priv/jobs/ are now installed in their respective
  packages.
* Package torque-gui missing most of the files it needs to run!
  (LP: #281360). Reason: missing *.tk etc. files from src/gui
  Fixed: /usr/lib/xpbs now shipped in package
* changed patch system to quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: Makefile.am,v 1.9 2006/08/28 23:03:26 ciesnik Exp $
 
2
 
3
#   DRMAA library for Torque/PBS
 
4
#   Copyright (C) 2006  Poznan Supercomputing and Networking Center
 
5
#                       DSP team <dsp-devel@hedera.man.poznan.pl>
 
6
#
 
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.
 
11
#
 
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.
 
16
#
 
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
 
20
#
 
21
 
 
22
 
 
23
include $(top_srcdir)/buildutils/config.mk
 
24
 
 
25
PBS_LIBS = ../../lib/Libpbs/libtorque.la
 
26
 
 
27
AM_CFLAGS  = @PTHREAD_CFLAGS@
 
28
 
 
29
GPERF       = @GPERF@
 
30
GPERFFLAGS  = --language=ANSI-C --struct-type --readonly-tables --includes --pic
 
31
 
 
32
lib_LTLIBRARIES     = libdrmaa.la
 
33
libdrmaa_la_SOURCES = \
 
34
 attrib.c \
 
35
 attrib.h \
 
36
 compat.c \
 
37
 compat.h \
 
38
 drmaa_attrib.gperf \
 
39
 drmaa_impl.h \
 
40
 error.c \
 
41
 error.h \
 
42
 jobs.c \
 
43
 jobs.h \
 
44
 lookup3.c \
 
45
 lookup3.h \
 
46
 pbs_attrib.gperf \
 
47
 session.c \
 
48
 submit.c \
 
49
 util.c \
 
50
 wait.c
 
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@
 
55
 
 
56
.gperf.c:
 
57
        base=`basename $< .gperf`; \
 
58
        if $(GPERF) $(GPERFFLAGS) --hash-function-name=$${base}_hash \
 
59
                --lookup-function-name=$${base}_lookup $< >$@; \
 
60
        then exit 0; \
 
61
        else rm $@; exit 1; \
 
62
        fi
 
63