mirror of
https://github.com/AdaCore/aws.git
synced 2026-02-12 12:29:46 -08:00
This rework make it possible to build in-tree as before: $ make setup $ make And from another directory (out-of-tree build): $ cd <build-dir> $ make -C ../aws BLD_DIR=$PWD setup $ make -C ../aws BLD_DIR=$PWD To build the demos: $ make -C ../aws/demos BLD_DIR=$PWD Support for the testsuite has also been reworked to use the out-of-tree build when needed: $ make -C ../aws BLD_DIR=$PWD run_regtests
43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
------------------------------------------------------------------------------
|
|
-- Ada Web Server --
|
|
-- --
|
|
-- Copyright (C) 2010-2012, AdaCore --
|
|
-- --
|
|
-- This is free software; you can redistribute it and/or modify it --
|
|
-- under terms of the GNU General Public License as published by the --
|
|
-- Free Software Foundation; either version 3, or (at your option) any --
|
|
-- later version. This software is distributed in the hope that it will --
|
|
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty --
|
|
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
|
|
-- General Public License for more details. --
|
|
-- --
|
|
-- You should have received a copy of the GNU General Public License --
|
|
-- distributed with this software; see file COPYING3. If not, go --
|
|
-- to http://www.gnu.org/licenses for a complete copy of the license. --
|
|
------------------------------------------------------------------------------
|
|
|
|
-- Project for libdl.so external library.
|
|
--
|
|
-- Note that we are always linking to the shared version of this library as
|
|
-- it is hightly recommended.
|
|
|
|
with "aws_lib_shared";
|
|
with "../shared";
|
|
|
|
project DL_Lib is
|
|
|
|
for Source_Files use ();
|
|
|
|
case Shared.S_Target is
|
|
when "Windows_NT" | "vxworks" | "freebsd" =>
|
|
null;
|
|
|
|
when others =>
|
|
for Library_Dir use AWS_Lib_Shared.LIB_Path;
|
|
for Library_Name use "dl";
|
|
for Library_Kind use "relocatable";
|
|
for Externally_Built use "true";
|
|
end case;
|
|
|
|
end DL_Lib;
|