~ubuntu-branches/ubuntu/utopic/nordugrid-arc/utopic

« back to all changes in this revision

Viewing changes to .pc/nordugrid-arc-cred-test.patch/src/hed/libs/credential/test/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2014-05-01 20:51:02 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140501205102-icy9t3348uxobyx7
Tags: 4.1.0-1
* 4.1.0 Release
* Call dh_autoreconf to support ppc64le (Closes: #744639)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TESTS = CredentialTest VOMSUtilTest listfuncTest
 
2
TESTS_ENVIRONMENT = srcdir=$(srcdir)
 
3
check_PROGRAMS = $(TESTS)
 
4
check_DATA = ca_key.pem ca_cert.pem
 
5
 
 
6
CredentialTest_SOURCES = $(top_srcdir)/src/Test.cpp CredentialTest.cpp
 
7
CredentialTest_CXXFLAGS = -I$(top_srcdir)/include \
 
8
        $(CPPUNIT_CFLAGS) $(GLIBMM_CFLAGS) $(LIBXML2_CFLAGS) $(AM_CXXFLAGS)
 
9
CredentialTest_LDADD = \
 
10
        $(top_builddir)/src/hed/libs/credential/libarccredential.la \
 
11
        $(top_builddir)/src/hed/libs/common/libarccommon.la \
 
12
        $(CPPUNIT_LIBS) $(GLIBMM_LIBS) $(LIBXML2_LIBS)
 
13
 
 
14
VOMSUtilTest_SOURCES = $(top_srcdir)/src/Test.cpp VOMSUtilTest.cpp
 
15
VOMSUtilTest_CXXFLAGS = -I$(top_srcdir)/include \
 
16
        $(CPPUNIT_CFLAGS) $(GLIBMM_CFLAGS) $(LIBXML2_CFLAGS) $(AM_CXXFLAGS)
 
17
VOMSUtilTest_LDADD = \
 
18
        $(top_builddir)/src/hed/libs/credential/libarccredential.la \
 
19
        $(top_builddir)/src/hed/libs/common/libarccommon.la \
 
20
        $(CPPUNIT_LIBS) $(GLIBMM_LIBS) $(LIBXML2_LIBS)
 
21
 
 
22
listfuncTest_SOURCES = $(top_srcdir)/src/Test.cpp listfuncTest.cpp
 
23
listfuncTest_CXXFLAGS = -I$(top_srcdir)/include \
 
24
        $(CPPUNIT_CFLAGS) $(GLIBMM_CFLAGS) $(LIBXML2_CFLAGS) $(AM_CXXFLAGS)
 
25
listfuncTest_LDADD = \
 
26
        $(top_builddir)/src/hed/libs/credential/libarccredential.la \
 
27
        $(top_builddir)/src/hed/libs/common/libarccommon.la \
 
28
        $(CPPUNIT_LIBS) $(GLIBMM_LIBS) $(LIBXML2_LIBS)
 
29
 
 
30
ca_key.pem ca_cert.pem:
 
31
        openssl req -x509 -set_serial 0 -passout pass:password -newkey rsa:2048 -keyout ca_key.pem -out ca_cert.pem -config $(srcdir)/ca.cnf
 
32
 
 
33
EXTRA_DIST = ca.cnf
 
34
 
 
35
CLEANFILES = *.pem ca_serial