Re: gda-buildserver



On Tue, 20 Jun 2000, Rodrigo Moya wrote:
[...]

> Let me a couple of days to add the new templates to CVS so that you can
> start with it. But for the moment, you can play around with the old
> templates, as the mechanism is the same.
[...]

OK - I took a first pass at it, and it now runs with --skels. I'm not sure
if it does the right thing, but it basically works (until it tries to link
and can't find main). I've attached the diff to this email message.

Cheers,

--
Brian Jepson * (bjepson@jepstone.net)  *  http://www.jepstone.net/

*** gda-buildserver.in.orig	Wed Jun 21 09:07:56 2000
--- gda-buildserver.in	Wed Jun 21 09:09:15 2000
***************
*** 78,99 ****
  done
  
  # Set variables
! INCLUDE_FLAGS="-I$(prefix)/include/gda @GNOME_INCLUDEDIR@"
! IDL_FLAGS="$(shell $(GNOME_CONFIG) --cflags idl))"
! LIBS_FLAGS="@GNORBA_LIBS@ @INTLLIBS@ -L$(prefix)/lib -lgda-srv"
  GENERATED_C_FILES="gda-skels.c gda-common.c"
  GENERATED_O_FILES="gda-skels.o gda-common.o"
  GENERATED_FILES="$GENERATED_C_FILES gda-stubs.c gda.h"
  
  # Generate and compile ORBit files
! if ! `orbit-idl -I${datadir}/idl $(IDL_FLAGS) ${datadir}/idl/gda.idl`
  then
  	echo "$0: error compiling IDL files"
  	exit 1
  fi
  for f in ${GENERATED_C_FILES}
  do
! 	if ! `$CC $(INCLUDE_FLAGS) -c $f`
  	then
  		echo "$0: error compiling $f"
  		exit 1
--- 78,99 ----
  done
  
  # Set variables
! INCLUDE_FLAGS="-I${prefix}/include/gda @GNOME_INCLUDEDIR@"
! IDL_FLAGS=`${GNOME_CONFIG} --cflags idl`
! LIBS_FLAGS="@GNORBA_LIBS@ @INTLLIBS@ -L${prefix}/lib -lgda-server -lgda-common"
  GENERATED_C_FILES="gda-skels.c gda-common.c"
  GENERATED_O_FILES="gda-skels.o gda-common.o"
  GENERATED_FILES="$GENERATED_C_FILES gda-stubs.c gda.h"
  
  # Generate and compile ORBit files
! if ! `orbit-idl -I${datadir}/idl ${IDL_FLAGS} ${datadir}/idl/gda.idl`
  then
  	echo "$0: error compiling IDL files"
  	exit 1
  fi
  for f in ${GENERATED_C_FILES}
  do
! 	if ! `$CC ${INCLUDE_FLAGS} -c $f`
  	then
  		echo "$0: error compiling $f"
  		exit 1


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