Changeset 84c376 in git for libpolys/tests/Makefile.am


Ignore:
Timestamp:
May 4, 2011, 8:10:55 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
e25a9942ffbe09b3e9cd1348617f1c1886c896bd
Parents:
2271fcf77152d68ee4d4f31ac7125d4183f54bcf
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-04 20:10:55+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:36+01:00
Message:
ADD: FreeBSD-related fixes in build system (no libdl, $^, $<)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/Makefile.am

    r2271fcf r84c376  
    2424
    2525
    26 if ENABLE_P_PROCS_DYNAMIC
    27   ### TODO -> ${LD_LIBS} ??? instead of -ldl,
    28   ### add it to AM_LDFLAGS?
    29   # '-ldl' wouldn't work on FreeBSD!!!???
    30   USEPPROCSDYNAMICLD = -ldl
    31   USEPPROCSDYNAMICLDFLAGS =  -rdynamic
    32 else
    33   USEPPROCSDYNAMICLD =
    34   USEPPROCSDYNAMICLDFLAGS =
    35 endif
    36 
    37 polys_test_LDFLAGS = ${AM_LDFLAGS} $(USEPPROCSDYNAMICLDFLAGS)
     26polys_test_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS}
    3827rings_test_LDFLAGS = $(polys_test_LDFLAGS)
    3928
    4029coeffs_test_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc_g -lomalloc_debug
    41 polys_test_LDADD = -lpolys_g $(USEPPROCSDYNAMICLD) $(coeffs_test_LDADD)
     30polys_test_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} $(coeffs_test_LDADD)
    4231rings_test_LDADD = $(polys_test_LDADD)
    4332
     
    4736
    4837
    49 # How to generate the test simple_test_runner
    50 ###### $^ needs GNU make : use gmake!
     38# How to generate *_runner.cpp
    5139simple_test_runner.cpp: simple_test.h
    52         ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^
     40        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer simple_test.h
    5341
    5442coeffs_test_runner.cpp: coeffs_test.h
    55         ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^
     43        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer coeffs_test.h
    5644
    5745polys_test_runner.cpp: polys_test.h
    58         ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^
     46        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer polys_test.h
    5947
    6048rings_test_runner.cpp: rings_test.h
    61         ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer $^
     49        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer rings_test.h
Note: See TracChangeset for help on using the changeset viewer.