#
# Copyright (c) 1996, 1997, 1998, 1999 The University of Utah and
# the Computer Systems Laboratory at the University of Utah (CSL).
#
# This file is part of Flick, the Flexible IDL Compiler Kit.
#
# Flick is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Flick 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
# along with Flick; see the file COPYING.  If not, write to
# the Free Software Foundation, 59 Temple Place #330, Boston, MA 02111, USA.
#

#### Start of configuration section ####

SRCDIR	= ../../..
#OBJDIR	= @top_objdir@
OBJDIR	= ../../..

prefix = /usr/local
exec_prefix = ${prefix}

include $(OBJDIR)/GNUmakeconf

##### End of configuration section #####

SECTIONS += test/pbe/iiopxx

TEST_PRES_C_DIR_LIST = $(OBJDIR)/test/pfe/corbaxx

FLICK_PBE = $(FLICK_C_PBE_IIOPXX)

FLICK_PBE_STUBS_FILE_SUFFIX  = .cc
FLICK_PBE_HEADER_FILE_SUFFIX = .h

include $(SRCDIR)/test/fe/corba/TESTLIST
include $(SRCDIR)/test/GNUmakerules.pbe

#
# The `iiopxx' back end is unusual:
#
# `FLICK_PBE_CLIENT_FLAGS': the generated client `.cc' file must include the
#  generated *server* `.h' file in order to get the definitions of the TAO
# ``collocated'' versions of the object types, the POA types, and so on.
#
# `FLICK_PBE_SERVER_FLAGS': similarly, the server `.cc' file must include the
# generated *client* `.h' file.
#
FLICK_PBE_CLIENT_FLAGS	+= -f $(addsuffix .h,\
				$(patsubst %-client,%-server,$(basename $@)))

FLICK_PBE_SERVER_FLAGS	+= -F $(addsuffix .h,\
				$(patsubst %-server,%-client,$(basename $@)))

## End of file.



syntax highlighted by Code2HTML, v. 0.9.1