mirror of
https://github.com/AdaCore/PolyORB.git
synced 2026-02-12 13:01:15 -08:00
to generate polyorb.gpr, so we can import the correct corba services projects. Use @WITH_SERVICE_PRJS@. (configure.ac): Set @WITH_SERVICE_PRJS@ to the appropriate with_clause. We generate the whole with_clause, rather than just a list, because there can be zero such projects, and "with ;" would be illegal. It doesn't make much sense to have zero application or protocol personalities, but we might as well do those the same way, for uniformity. So, we now have WITH_APPLI_PRJS and WITH_PROTO_PRJS as well. (projects/src_setup.gpr.in, projects-distrib/src_setup.gpr.in): Use WITH_APPLI_PRJS and WITH_PROTO_PRJS instead of APPLI_PRJS and PROTO_PRJS -- seems a little cleaner this way. For EC06-003. Subversion-branch: /trunk/polyorb Subversion-revision: 115574
67 lines
3.4 KiB
Plaintext
67 lines
3.4 KiB
Plaintext
------------------------------------------------------------------------------
|
|
-- --
|
|
-- POLYORB COMPONENTS --
|
|
-- --
|
|
-- S R C _ S E T U P --
|
|
-- --
|
|
-- P r o j --
|
|
-- --
|
|
-- Copyright (C) 2007, Free Software Foundation, Inc. --
|
|
-- --
|
|
-- PolyORB 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 2, or (at your option) any later --
|
|
-- version. PolyORB is distributed in the hope that it will be useful, --
|
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- --
|
|
-- TABILITY 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 PolyORB; see file COPYING. If --
|
|
-- not, write to the Free Software Foundation, 51 Franklin Street, Fifth --
|
|
-- Floor, Boston, MA 02111-1301, USA. --
|
|
-- --
|
|
-- As a special exception, if other files instantiate generics from this --
|
|
-- unit, or you link this unit with other files to produce an executable, --
|
|
-- this unit does not by itself cause the resulting executable to be --
|
|
-- covered by the GNU General Public License. This exception does not --
|
|
-- however invalidate any other reasons why the executable file might be --
|
|
-- covered by the GNU Public License. --
|
|
-- --
|
|
-- PolyORB is maintained by AdaCore --
|
|
-- (email: sales@adacore.com) --
|
|
-- --
|
|
------------------------------------------------------------------------------
|
|
|
|
-- Pre-canned middleware setups
|
|
|
|
-- The units provided by this project provide convenient short-hands to
|
|
-- drag in an appropriate middleware configuration. They contain only
|
|
-- WITH clauses for the PolyORB components. Within the PolyORB build
|
|
-- system, only tools projects (not library projects) are allowed to import
|
|
-- this one.
|
|
|
|
with "common", "src";
|
|
@NO_SSL@with "src_ssl";
|
|
@WITH_PROTO_PRJS@
|
|
@WITH_APPLI_PRJS@
|
|
|
|
project src_setup is
|
|
|
|
Dir := "src/setup";
|
|
Obj_Dir := Common.Build_Dir & Dir;
|
|
for Object_Dir use Obj_Dir;
|
|
for Source_Dirs use (Obj_Dir, Common.Source_Dir & Dir);
|
|
|
|
for Library_Name use "polyorb-setup";
|
|
for Library_Dir use Common.Build_Dir & "lib";
|
|
for Library_ALI_Dir use Common.Build_Dir & "ali/src_setup";
|
|
for Library_Kind use "static";
|
|
|
|
package Compiler is
|
|
|
|
for Default_Switches ("Ada")
|
|
use Src.Compiler'Default_Switches ("Ada");
|
|
|
|
end Compiler;
|
|
|
|
end src_setup;
|