ORBit2 parallel install fixes



Hi,

This is what I had to change to make my ORBit2 RPM install alongside
ORBit1. Of course, the result is still unusable, because the ORBit1
package I have hasn't had its headers moved... I'll investigate that
next if it hasn't been done in CVS yet.

(I moved libIDL.texi on the server side, so it shows as removed but
it's just moved.)

OK to commit this change?

Havoc

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/ORBit2/ChangeLog,v
retrieving revision 1.170
diff -u -p -u -r1.170 ChangeLog
--- ChangeLog	2001/09/11 13:28:57	1.170
+++ ChangeLog	2001/09/11 19:58:26
@@ -1,3 +1,32 @@
+2001-09-11  Havoc Pennington  <hp redhat com>
+
+	* src/idl-compiler/Makefile.am: put orbit-idl2.h in
+	includedir/orbit-idl/orbit-idl2.h
+	
+	* test/Makefile.am (ior_decode_2_SOURCES): rename ior-decode to
+	ior-decode-2
+
+	* src/services/name/Makefile.am (libORBitservicesincludedir): put 
+	ORBitservices inside /usr/include/orbit to avoid ORBit1 conflicts
+	(lib_LIBRARIES): rename libname-server to libname-server-2
+
+	* src/orb/poa/Makefile.am (IDL): s/orbit-idl/orbit-idl-2/
+
+	* src/orb/orb-core/Makefile.am: s/orbit-idl/orbit-idl-2/
+
+	* Makefile.shared (IDL_COMPILER): s/orbit-idl/orbit-idl-2/
+
+	* src/idl-compiler/Makefile.am: s/orbit-idl/orbit-idl-2/
+
+	* src/services/name/Makefile.am: s/name-client/name-client-2/
+	s/orbit-name-server/orbit-name-server-2/
+
+	* src/orb/poa/Makefile.am (IDL_DIR): add IDL_DIR=./ to disable the 
+	implicit rule in Makefile.shared for IDL files in other
+	directories, because for some reason corba-ops.idl was getting
+	rebuilt, with the wrong IDL_FLAGS from this Makefile, thus
+	corba-ops.h ended up not existing. This is just a bad hack.
+
 2001-09-11  Mark McLoughlin <mark skynet ie>
 
 	* src/orb/orb-core/iop-profiles.c
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit2/Makefile.am,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile.am
--- Makefile.am	2001/06/19 15:01:20	1.8
+++ Makefile.am	2001/09/11 19:58:26
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = 1.3
 
 SUBDIRS=libIDL src include test docs
 
-bin_SCRIPTS=orbit-config
+bin_SCRIPTS=orbit-config-2
 
 EXTRA_DIST=ORBit.spec.in ORBit2.m4 ORBit-2.0.pc.in ORBit-CosNaming-2.0.pc.in
 
@@ -17,3 +17,6 @@ m4data_DATA=ORBit2.m4
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = ORBit-2.0.pc ORBit-CosNaming-2.0.pc
+
+orbit-config-2: orbit-config
+	cp -f orbit-config orbit-config-2
\ No newline at end of file
Index: Makefile.shared
===================================================================
RCS file: /cvs/gnome/ORBit2/Makefile.shared,v
retrieving revision 1.3
diff -u -p -u -r1.3 Makefile.shared
--- Makefile.shared	2001/09/04 09:00:58	1.3
+++ Makefile.shared	2001/09/11 19:58:26
@@ -1,4 +1,4 @@
-IDL_COMPILER = $(top_builddir)/src/idl-compiler/orbit-idl
+IDL_COMPILER = $(top_builddir)/src/idl-compiler/orbit-idl-2
 
 %.h %-stubs.c %-skels.c %-common.c %-imodule.c %-skelimpl.c: $(IDL_DIR)%.idl $(IDL_COMPILER)
 	-(rm -f $(*).h $(*)-stubs.c $(*)-skels.c $(*)-common.c $(*)-imodule.c $(*)-skelimpl.c || true) > /dev/null
Index: ORBit-2.0.pc.in
===================================================================
RCS file: /cvs/gnome/ORBit2/ORBit-2.0.pc.in,v
retrieving revision 1.6
diff -u -p -u -r1.6 ORBit-2.0.pc.in
--- ORBit-2.0.pc.in	2001/08/27 12:20:11	1.6
+++ ORBit-2.0.pc.in	2001/09/11 19:58:26
@@ -10,4 +10,4 @@ Description: High-performance CORBA Obje
 Version: @VERSION@
 Requires: glib-2.0 gmodule-2.0
 Libs: -L${libdir} -lORBit-2 @LINC_LIBS@ @LIBS@ -lm
-Cflags: -I${includedir} -DORBIT2=1
+Cflags: -I${includedir} -I${includedir}/orbit-idl -DORBIT2=1
Index: libIDL/ChangeLog
===================================================================
RCS file: /cvs/gnome/libIDL/ChangeLog,v
retrieving revision 1.119
diff -u -p -u -r1.119 ChangeLog
--- libIDL/ChangeLog	2001/09/03 15:40:41	1.119
+++ libIDL/ChangeLog	2001/09/11 19:58:27
@@ -1,3 +1,12 @@
+2001-09-11  Havoc Pennington  <hp redhat com>
+
+	* Makefile.am (libIDLincludedir): move headers to a versioned
+	subdir, and nuke libIDLConf.sh. rename libIDL-config to
+	libIDL-config-2
+
+	* libIDL-2.0.pc.in (Cflags): change -Iincludedir to
+	-Iincludedir/libIDL-2.0
+
 2001-09-03  Mark McLoughlin <mark skynet ie>
 
 	Fixes Bug #59824: the time to parse a union seemed to grow 
Index: libIDL/Makefile.am
===================================================================
RCS file: /cvs/gnome/libIDL/Makefile.am,v
retrieving revision 1.68
diff -u -p -u -r1.68 Makefile.am
--- libIDL/Makefile.am	2001/08/31 02:42:51	1.68
+++ libIDL/Makefile.am	2001/09/11 19:58:27
@@ -30,15 +30,16 @@ DISTCLEANFILES		= IDL.h
 
 EXTRA_DIST		= BUGS parser.y lexer.l \
 			  Makefile.msc README.win32 \
-			  libIDL.def libIDLConf.sh.in \
+			  libIDL.def \
 			  stamp-parser
 
-info_TEXINFOS		= libIDL.texi
-pkginclude_HEADERS	= IDL.h
+info_TEXINFOS		= libIDL2.texi
+libIDLincludedir        = $(includedir)/libIDL-2.0/libIDL
+libIDLinclude_HEADERS   = IDL.h
 lib_LTLIBRARIES		= libIDL-2.la
 noinst_PROGRAMS		= tstidl
 
-bin_SCRIPTS		= libIDL-config
+bin_SCRIPTS		= libIDL-config-2
 
 BUILT_SOURCES		= lexer.c parser.c parser.h IDL.h stamp-parser
 
@@ -50,23 +51,8 @@ libIDL_2_la_LDFLAGS	= -version-info $(LT
 tstidl_SOURCES		= tstidl.c
 tstidl_LDADD		= libIDL-2.la @GLIB_LIBS@
 
-confexecdir		= $(libdir)
-confexec_DATA		= libIDLConf.sh
-
-## We create libIDLConf.sh here and not from configure because we want
-## to get the paths expanded correctly.  Macros like srcdir are given
-## the value NONE in configure if the user doesn't specify them (this
-## is an autoconf feature, not a bug).
-
-libIDLConf.sh: libIDLConf.sh.in Makefile
-## Use sed and then mv to avoid problems if the user interrupts.
-	sed -e 's?\ LIBIDL_LIBDIR\@?$(LIBIDL_LIBDIR)?g' \
-		-e 's?\ LIBIDL_INCLUDEDIR\@?$(LIBIDL_INCLUDEDIR)?g' \
-		-e 's?\ LIBIDL_LIBS\@?$(LIBIDL_LIBS)?g' \
-		-e 's?\ VERSION\@?$(VERSION)?g' \
-		< $(srcdir)/libIDLConf.sh.in > libIDLConf.tmp \
-		&& mv libIDLConf.tmp libIDLConf.sh
-
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA= libIDL-2.0.pc
 
+libIDL-config-2: libIDL-config
+	cp -f libIDL-config libIDL-config-2
Index: libIDL/libIDL-2.0.pc.in
===================================================================
RCS file: /cvs/gnome/libIDL/libIDL-2.0.pc.in,v
retrieving revision 1.1
diff -u -p -u -r1.1 libIDL-2.0.pc.in
--- libIDL/libIDL-2.0.pc.in	2001/06/23 13:29:48	1.1
+++ libIDL/libIDL-2.0.pc.in	2001/09/11 19:58:27
@@ -9,4 +9,4 @@ Description: IDL parsing library
 Version: @VERSION@
 Requires: glib-2.0
 Libs: -L${libdir} -lIDL-2
-Cflags: -I${includedir}
+Cflags: -I${includedir}/libIDL-2.0
Index: libIDL/libIDL.texi
===================================================================
RCS file: libIDL.texi
diff -N libIDL.texi
--- /tmp/cvsPukI21	Tue Sep 11 15:58:28 2001
+++ /dev/null	Tue May  5 16:32:27 1998
@@ -1,359 +0,0 @@
-\input texinfo @c -*- mode: texinfo -*-
- setfilename libIDL.info
- settitle libIDL
- setchapternewpage odd
-
- ifinfo
- dircategory Libraries
- direntry
-* libIDL: (libIDL).     Interface Definition Language parsing library.
- end direntry
-
-Copyright 1998 Andrew T. Veliath
- end ifinfo
-
- titlepage
- title libIDL
- author Andrew T. Veliath
-
- page
- vskip 0pt plus 1filll
-Copyright @copyright{} 1998, 1999 Andrew T. Veliath
- end titlepage
-
- node Top, , , (dir)
- ifinfo
-This file documents the Interface Definition Language (IDL) parsing
-library, libIDL.
-
-This document applies to version 0.6 of libIDL.  It is still incomplete.
- end ifinfo
-
- menu
-* Overview::                  General overview.
-* Example::                   Simple example.
-* Reference::                 Data structure and function reference.
-
-* Function Index::            Index of available functions.
- end menu
-
- node Overview, Example, top, top
- chapter Overview
-libIDL is a library licensed under the GNU LGPL for creating trees of
-CORBA Interface Definition Language (IDL) files, which is a
-specification for defining portable interfaces.  libIDL was initially
-written for ORBit (the ORB from the GNOME project, and the primary
-means of libIDL distribution).  However, the functionality was
-designed to be as reusable and portable as possible.
-
-It is written in C, and the aim is to retain the ability to compile it
-on a system with a standard C compiler.  Preprocessed parser files are
-included so you are not forced to rebuild the parser, however an
-effort is made to keep the parser and lexer compatible with standard
-Unix yacc and lex (although bison and flex are more efficient, and are
-used for the preprocessed parsers in the distribution).
-
-With libIDL, you can parse an IDL file which will be automatically run
-through the C preprocessor (on systems with one available), and have
-detailed error and warning messages displayed.  On a compilation
-without errors, the tree is returned to the custom application.
-libIDL performs compilation phases from lexical analysis to nearly
-full semantic analysis with some optimizations, and will attempt to
-generate meaningful errors and warnings for invalid or deprecated IDL.
-
-libIDL exports functionality used to generate detailed conforming
-error and warning messages in gcc-like format, and also comes with a
-default backend to generate IDL into a file or string (useful for
-customized messages or comments in the output).  The IDL backend is
-complete enough that most generated IDL can be reparsed by libIDL
-without errors. libIDL returns separate syntax and namespace trees,
-and includes functionality to hide syntactical information from the
-primary tree, while keeping it accessible through the namespace for
-type information and name lookup.
-
-Optional extensions to standard IDL can be enabled using parse flags.
-These include node properties, embedded code fragments, and XPIDL.
-Nodes can also have declarations tags which assign particular
-attributions to certain IDL constructs to further facilitate custom
-applications.
-
- node Example, Reference, Overview, top
- chapter Usage
-The following C program using libIDL will parse an IDL file and print
-the Repository IDs of the interfaces in the IDL module.
-
- example
-#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <libIDL/IDL.h>
-
-gboolean
-print_repo_id (IDL_tree_func_data *tfd, gpointer user_data)
- {
-	char *repo_id = NULL;
-
-	if (IDL_NODE_TYPE (tfd->tree) == IDLN_INTERFACE)
-		repo_id = IDL_IDENT_REPO_ID (IDL_INTERFACE (tfd->tree).ident);
-
-	if (repo_id)
-		printf ("%s\n", repo_id);
-
-	return TRUE;
- }
-
-int 
-main (int argc, char *argv[])
- {
-	IDL_tree tree;
-	IDL_ns ns;
-	char *fn;
-	int rv;
-
-	if (argc < 2) @{
-		fprintf (stderr, "usage: %s <file>\n", argv[0]);
-		exit (1);
-	@}
-	fn = argv[1];
-
-	rv = IDL_parse_filename (fn, NULL, NULL, &tree, &ns, 0, IDL_WARNING1);
-
-	if (rv == IDL_ERROR || rv < 0) @{
-		if (rv < 0)
-			perror (fn);
-		exit (1);
-	@}
-	IDL_tree_walk_in_order (tree, print_repo_id, NULL);
-	IDL_ns_free (ns);
-	IDL_tree_free (tree);
-
-	return 0;
- }
- end example
-
- node Reference, Function Index, Example, top
- chapter Reference
-
- menu
-* Data Types::                Constructed data types used.
-* Functions::                 Functions provided.
-* Extensions::                Extensions provided to standard IDL.
-* Tree Structure::            The C IDL tree representation.
- end menu
-
- node Data Types, Functions, , Reference
- chapter Data Types
-
- itemize @bullet
- item
-IDL_tree
-
-A semi-opaque tree which encapsulates an IDL tree node.  Must be freed
-with IDL_tree_free (@pxref{Functions}).
-
- item
-IDL_ns
-
-A semi-opaque structure which encapsulates the IDL module namespace.
-Must be freed with IDL_ns_free (@pxref{Functions}).
-
- item
-IDL_msg_callback
-
-Defined as typedef int (*IDL_msg_callback)(int LEVEL, int NUM, int LINE,
-const char *NAME, const char *ERR).  A function of this type can be
-optionally passed to IDL_parse_filename to be called when a parse
-warning or error occurs.
-
- item
-IDL_tree_func
-
-Defined as typedef gboolean (*IDL_tree_func) (IDL_tree_func_data
-*TREE_FUNC_DATA, gpointer DATA).  A function of this type is passed to
-IDL_tree_walk_in_order to traverse the tree.  TREE_FUNC_DATA contains an
-up traversal hierarchy of the current traversal, as well as some state
-information.  The current node being processed is given by
-TREE_FUNC_DATA->tree.
-
- end itemize
-
- node Functions, Extensions, Data Types, Reference
- chapter Functions
-
- itemize @bullet
- item
-Function: int IDL_parse_filename (const char *NAME, const char *CPP_ARGS,
-IDL_msg_callback CALLBACK, IDL_tree *TREE, IDL_ns *NS, unsigned long FLAGS,
-int MAX_MESSAGE_LEVEL)
- findex IDL_parse_filename
-
-Parse an file containing an IDL definition into a parse tree.  Returns
-IDL_SUCCESS if successful, or IDL_ERROR if there was a parse error.  If
--1 is returned, errno will be set accordingly.  Usually, if IDL_ERROR is
-returned, all one needs to do is exit with a non-zero status, since
-libIDL will probably have made the reason for failure explictly known.
-
- itemize @minus
- item
-NAME: required, specifies the filename to be parsed.
-
- item
-CPP_ARGS: optional, if non-NULL, specifies extra arguments to pass to
-the C preprocessor.  The most common type of string would be in the form
-of -I<dir> to include additional directories for file inclusion search,
-or defines in the form of -D<define>=<value>.
-
- item
-CALLBACK: optional, if non-NULL, this function will be called when a
-warning or error is generated (@pxref{Data Types}).  If not given,
-warnings and errors will be sent to stderr.  All errors and warning,
-including callbacks, are subject to MAX_MESSAGE_LEVEL as described
-below.
-
- item
-TREE: optional, if non-NULL, points to an IDL_tree * to return the
-generated tree which must be freed with IDL_tree_free.  If NULL, the
-tree is freed and not returned.
-
- item
-NS: optional, if non-NULL, points to an IDL_ns * to return the namespace
-tree which must be freed with IDL_ns_free.  If NULL, the tree is freed
-and not returned.  If TREE is NULL, then NS must also be NULL, since the
-namespace is created as the AST is generated.
-
- item
-FLAGS: optional, specifies extra flags for parsing or 0.  The various
-flags are described here.
-
- item
-General Parse Flags
-
- itemize @minus
- item
-IDLF_NO_EVAL_CONST: instructs the parser not to evaluate constant expressions.
-
- item
-IDLF_COMBINE_REOPENED_MODULES: instructs the parser to combine modules
-defined later in the IDL code in the first module node in the tree.
-
- item
-IDLF_PREFIX_FILENAME: instructs the parser to prefix the filename to the
-namespace.
-
- item
-IDLF_IGNORE_FORWARDS: instructs the parser to not try to resolve and
-print messages for unresovled forward declarations.
-
- item
-IDLF_PEDANTIC: instructs the parser to display stricter errors and
-warnings.
-
- item
-IDLF_INHIBIT_TAG_ONLY: only tag inhibited nodes, do not remove them.
-Use IDL_tree_remove_inhibits to remove them at a later time.
-
- item
-IDLF_INHIBIT_INCLUDES: causes libIDL to automatically inhibit IDL trees
-in included files.
- end itemize
-
- item
-Syntax Extension Flags
-
- itemize @minus
- item
-IDLF_TYPECODES: understand the `TypeCode' keyword extension.
-
- item
-IDLF_XPIDL: enable XPIDL syntax.
-
- item
-IDLF_PROPERTIES: enable support for node properties.
-
- item
-IDLF_CODEFRAGS: enable support for embedded code fragments.
- end itemize
-
- item
-MAX_MESSAGE_LEVEL:
-
-This specifies the maximum message level to display.  Possible values
-are -1 for no messages, IDL_ERROR for errors only, or IDL_WARNING1,
-IDL_WARNING2 and IDL_WARNING3.  A typical value is IDL_WARNING1, which
-will limit verbosity.  IDL_WARNINGMAX is defined as the value in which
-all messages will be displayed.
-
- end itemize
-
- item
-Function: void IDL_tree_walk_in_order (IDL_tree ROOT, IDL_tree_func
-FUNC, gpointer DATA)
- findex IDL_tree_walk_in_order
-
-Walks an IDL_tree, calling FUNC for every node.  If the FUNC returns
-TRUE for a particular node, that particular node will also be traversed,
-if FALSE is returned, that particular node will be skipped, in the
-assumption that the function has taken care of it.
-
- itemize @minus
- item
-ROOT: required, specifies the IDL_tree to traverse.
-
- item
-FUNC: required, specifies the callback function (@pxref{Data Types}).
-
- item
-DATA: optional, specifies the callback data.
-
- end itemize
-
- item
-Function: void IDL_tree_free (IDL_tree TREE)
- findex IDL_tree_free
-
-Frees the memory associated with TREE.
-
- item
-Function: void IDL_ns_free (IDL_ns NS)
- findex IDL_ns_free
-
-Frees the memory associated with NS.
-
- end itemize
-
- node Extensions, Tree Structure, Functions, Reference
- chapter Extensions
-This page documents extensions to standard IDL which libIDL will
-understand.  To maintain portability, it is recommended that these
-extensions are only used with some sort of C preprocessor define so they
-can be conditionally omitted.
-
- itemize @bullet
- item
-__declspec (<spec>)
-
-This token assigns special attributions to particular IDL constructs.
-
- itemize @minus
- item
-inhibit
-
-If __declspec (inhibit) is placed before a definition or export, that
-module or interface definition will be removed from the tree.  The tree
-is only deleted when the IDL_ns component is freed, so it can be
-traversed from the namespace component for extended information, but
-will be omitted from the primary tree.
-
- end itemize
-
- end itemize
-
- node Tree Structure, , Extensions, Reference
- chapter Tree Structure
-
- node Function Index, , Reference, top
- chapter Function Index
- printindex fn
-
- contents
- bye
Index: libIDL/libIDL2.texi
===================================================================
RCS file: /cvs/gnome/libIDL/libIDL2.texi,v
retrieving revision 1.21
diff -u -p -u -r1.21 libIDL2.texi
--- libIDL/libIDL2.texi	1999/04/13 03:27:02	1.21
+++ libIDL/libIDL2.texi	2001/09/11 19:58:27
@@ -1,19 +1,19 @@
 \input texinfo @c -*- mode: texinfo -*-
- setfilename libIDL.info
- settitle libIDL
+ setfilename libIDL2.info
+ settitle libIDL2
 @setchapternewpage odd
 
 @ifinfo
 @dircategory Libraries
 @direntry
-* libIDL: (libIDL).     Interface Definition Language parsing library.
+* libIDL2: (libIDL2).     Interface Definition Language parsing library.
 @end direntry
 
 Copyright 1998 Andrew T. Veliath
 @end ifinfo
 
 @titlepage
- title libIDL
+ title libIDL2
 @author Andrew T. Veliath
 
 @page
Index: src/idl-compiler/Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit2/src/idl-compiler/Makefile.am,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile.am
--- src/idl-compiler/Makefile.am	2001/08/15 07:14:07	1.14
+++ src/idl-compiler/Makefile.am	2001/09/11 19:58:27
@@ -1,4 +1,4 @@
-bin_PROGRAMS=orbit-idl
+bin_PROGRAMS=orbit-idl-2
 
 includedir=$(prefix)/include
 orbitlibdir=$(libdir)/orbit-idl
@@ -9,13 +9,13 @@ INCLUDES=-I$(top_builddir) -I$(top_build
 	-DORBITLIBDIR="\"$(orbitlibdir)\"" \
 	-DDEBUG -DVERSION=\"$(ORBIT_VERSION)\"
 
-orbit_idl_DEPENDENCIES = $(top_builddir)/libIDL/libIDL-2.la
-orbit_idl_LDADD = \
+orbit_idl_2_DEPENDENCIES = $(top_builddir)/libIDL/libIDL-2.la
+orbit_idl_2_LDADD = \
 	$(top_builddir)/libIDL/libIDL-2.la \
 	@GLIB_LIBS@ \
 	-lpopt -lm
 
-orbit_idl_SOURCES=orbit-idl-main.c \
+orbit_idl_2_SOURCES=orbit-idl-main.c \
 		   orbit-idl-driver.c \
 		   orbit-idl-backends.c \
 		   orbit-idl-passes.c \
@@ -39,7 +39,8 @@ orbit_idl_SOURCES=orbit-idl-main.c \
 	orbit-idl-marshal.c \
 	orbit-idl-marshal.h
 
-include_DATA=orbit-idl2.h
+orbitidlincludedir=$(includedir)/orbit-idl
+orbitidlinclude_DATA=orbit-idl2.h
 
 $(top_builddir)/libIDL/libIDL-2.la:
 	$(MAKE) -C $(top_builddir)/libIDL libIDL-2.la
Index: src/orb/orb-core/Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/orb-core/Makefile.am,v
retrieving revision 1.31
diff -u -p -u -r1.31 Makefile.am
--- src/orb/orb-core/Makefile.am	2001/09/04 18:05:29	1.31
+++ src/orb/orb-core/Makefile.am	2001/09/11 19:58:27
@@ -48,7 +48,7 @@ OPS_IDLOUT= corba-ops.h corba-ops-stubs.
 IFACE_IDLOUT=orbit-interface-common.c
 
 $(liborb_core_la_OBJECTS) : $(BUILT_SOURCES)
-IDL_COMPILER = $(top_builddir)/src/idl-compiler/orbit-idl
+IDL_COMPILER = $(top_builddir)/src/idl-compiler/orbit-idl-2
 
 IDL_FLAGS = -I$(top_srcdir)/src/idl/CORBA_PIDL			\
 	-I$(top_srcdir)/src/idl/CORBA				\
Index: src/orb/poa/Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/poa/Makefile.am,v
retrieving revision 1.16
diff -u -p -u -r1.16 Makefile.am
--- src/orb/poa/Makefile.am	2001/09/04 18:05:30	1.16
+++ src/orb/poa/Makefile.am	2001/09/11 19:58:27
@@ -1,6 +1,6 @@
 noinst_LTLIBRARIES=liborb-poa.la
 
-IDL = $(top_builddir)/src/idl-compiler/orbit-idl
+IDL = $(top_builddir)/src/idl-compiler/orbit-idl-2
 INCLUDES=-I$(top_srcdir)/include \
 	-I$(top_builddir)/include \
 	-I$(top_builddir)/src/orb/orb-core \
@@ -41,4 +41,5 @@ IDL_FLAGS= -I$(top_srcdir)/src/idl/CORBA
 	--define=Object=OObject --define=TypeCode=TTypeCode	\
         --showcpperrors
 IDL_FILES=poa-defs.idl
+IDL_DIR=./
 include $(top_srcdir)/Makefile.shared
Index: src/services/name/Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit2/src/services/name/Makefile.am,v
retrieving revision 1.5
diff -u -p -u -r1.5 Makefile.am
--- src/services/name/Makefile.am	2001/08/15 07:14:12	1.5
+++ src/services/name/Makefile.am	2001/09/11 19:58:27
@@ -1,10 +1,10 @@
-libORBitservicesincludedir = $(includedir)/ORBitservices
+libORBitservicesincludedir = $(includedir)/orbit/ORBitservices
 
 lib_LTLIBRARIES=libORBitCosNaming-2.la
 
-bin_PROGRAMS = name-client orbit-name-server
+bin_PROGRAMS = name-client-2 orbit-name-server-2
 
-lib_LIBRARIES = libname-server.a
+lib_LIBRARIES = libname-server-2.a
 
 libORBitCosNaming_2_la_SOURCES = 						\
 	CosNaming-common.c 						\
@@ -48,19 +48,19 @@ LDADDS = \
 $(srcdir)/name-client.c $(srcdir)/orbit-name-server.c \
 $(srcdir)/boot.c: CosNaming.h
 
-name_client_SOURCES = name-client.c name-support.c name-support.h
-name_client_LDFLAGS = $(FLAGS)
-name_client_DEPENDENCIES = $(DEPS) CosNaming.h
-name_client_LDADD = $(LDADDS)
+name_client_2_SOURCES = name-client.c name-support.c name-support.h
+name_client_2_LDFLAGS = $(FLAGS)
+name_client_2_DEPENDENCIES = $(DEPS) CosNaming.h
+name_client_2_LDADD = $(LDADDS)
 
-libname_server_a_SOURCES = orbit-name-server.c CosNaming-skels.c \
+libname_server_2_a_SOURCES = orbit-name-server.c CosNaming-skels.c \
 			   name-support.c name-support.h
-libname_server_a_DEPENDENCIES = $(DEPS) CosNaming.h
+libname_server_2_a_DEPENDENCIES = $(DEPS) CosNaming.h
 
-orbit_name_server_SOURCES = boot.c
-orbit_name_server_LDFLAGS = $(FLAGS)
-orbit_name_server_DEPENDENCIES = $(DEPS) CosNaming.h
-orbit_name_server_LDADD = libname-server.a $(LDADDS)
+orbit_name_server_2_SOURCES = boot.c
+orbit_name_server_2_LDFLAGS = $(FLAGS)
+orbit_name_server_2_DEPENDENCIES = $(DEPS) CosNaming.h
+orbit_name_server_2_LDADD = libname-server-2.a $(LDADDS)
 
 EXTRA_DIST = CosNaming.idl
 
Index: test/Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit2/test/Makefile.am,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile.am
--- test/Makefile.am	2001/08/24 18:56:46	1.13
+++ test/Makefile.am	2001/09/11 19:58:27
@@ -4,7 +4,7 @@ INCLUDES=-I$(top_srcdir)/include \
 	-I$(top_builddir)/include \
 	$(LINC_CFLAGS) \
 	$(GLIB_CFLAGS)
-bin_PROGRAMS=ior-decode typelib-dump
+bin_PROGRAMS=ior-decode-2 typelib-dump
 noinst_PROGRAMS=test1 \
 	echo-client echo-server \
 	empty-client empty-server \
@@ -34,7 +34,7 @@ IDLOUT=test1-stubs.c test1-skels.c test1
 test1_SOURCES=test1.c $(IDLOUT)
 $(srcdir)/test1.c: test1.h
 
-ior_decode_SOURCES=ior-decode.c
+ior_decode_2_SOURCES=ior-decode.c
 
 typelib_dump_SOURCES=typelib-dump.c
 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]