aboutsummaryrefslogtreecommitdiff
path: root/ConfigureWithSDF.pl
blob: 0c65c5de90dddc81239c3b13f13489a459c470b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /usr/bin/perl -w
#/*@@
#  @file      ConfigureWithSDF.pl
#  @date      Sat 12 Jube 2004
#  @author    Thomas Radke
#  @desc
#             Configures IOSDF with external SDF installation
#  @enddesc
#  @version   $Header$
#@@*/

# SDF_DIR must be given be the user
my $bbhutil_dir = $ENV{'SDF_DIR'};
if (! $bbhutil_dir)
{
  print "BEGIN ERROR\n";
  print "IOSDF requires an external SDF installation. Please specify " .
        "SDF_DIR to point to this installation or remove thorn IOSDF " .
        "from your ThornList !\n";
  print "END ERROR\n";
  exit (-1);
}

print <<EOF;
INCLUDE_DIRECTORY $bbhutil_dir/include
LIBRARY           bbhutil sv
LIBRARY_DIRECTORY $bbhutil_dir/lib
EOF

exit (0);