Files
PolyORB/testsuite/Makefile.common
Jérôme Hugues baafcfd0c3 Added test for the COS Notification
[Imported from Perforce change 9141 at 2006-12-01 21:15:38]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36666
2005-02-22 10:57:04 +00:00

81 lines
2.9 KiB
Makefile

include $(top_srcdir)/Makefile.common
corba_lib=-I$(top_builddir)/src/corba/libpolyorb-corba.la \
-I$(top_builddir)/src/corba/rtcorba/libpolyorb-corba-rtcorba.la
giop_lib=-I$(top_builddir)/src/giop/libpolyorb-giop.la \
-I$(top_builddir)/src/giop/iiop/libpolyorb-giop-iiop.la \
-I$(top_builddir)/src/giop/diop/libpolyorb-giop-diop.la \
-I$(top_builddir)/src/giop/miop/libpolyorb-giop-miop.la
moma_lib=-I$(top_builddir)/src/moma/libpolyorb-moma.la
soap_lib=-I$(top_builddir)/src/soap/libpolyorb-soap.la
srp_lib=-I$(top_builddir)/src/srp/libpolyorb-srp.la
web_common_lib=-I$(top_builddir)/src/web_common/libpolyorb-web_common.la
POLYORB_LIBS = -I$(top_builddir)/src/libpolyorb.la @PROTO_LIBS@ @APPLI_LIBS@ @LIBS_LIBS@
naming_inc=-I$(top_srcdir)/cos/naming -I$(top_builddir)/cos/naming \
-I$(top_builddir)/idls/cos/naming
time_inc=-I$(top_srcdir)/cos/time -I$(top_builddir)/cos/time \
-I$(top_builddir)/idls/cos/time
event_inc=-I$(top_srcdir)/cos/event -I$(top_builddir)/cos/event \
-I$(top_builddir)/idls/cos/event
notification_inc=-I$(top_srcdir)/cos/notification -I$(top_builddir)/cos/notification \
-I$(top_builddir)/idls/cos/notification
corba_inc=-I$(top_srcdir)/src/corba -I$(top_builddir)/src/corba \
$(naming_inc) $(time_inc) $(event_inc) $(notification_inc) \
-I$(top_srcdir)/src/corba/messaging -I$(top_builddir)/src/corba/messaging \
-I$(top_srcdir)/src/corba/portableinterceptor \
-I$(top_builddir)/src/corba/portableinterceptor \
-I$(top_srcdir)/src/corba/rtcorba -I$(top_builddir)/src/corba/rtcorba
giop_inc=-I$(top_srcdir)/src/giop -I$(top_builddir)/src/giop \
-I$(top_srcdir)/src/giop/iiop -I$(top_builddir)/src/giop/iiop\
-I$(top_srcdir)/src/giop/diop -I$(top_builddir)/src/giop/diop\
-I$(top_srcdir)/src/giop/miop -I$(top_builddir)/src/giop/miop
moma_inc=-I$(top_srcdir)/src/moma -I$(top_builddir)/src/moma
soap_inc=-I$(top_srcdir)/src/soap -I$(top_builddir)/src/soap
srp_inc=-I$(top_srcdir)/src/srp -I$(top_builddir)/src/srp
web_common_inc=-I$(top_srcdir)/src/web_common -I$(top_builddir)/src/web_common
ir_inc=-I$(top_srcdir)/cos/ir -I$(top_builddir)/cos/ir
POLYORB_INCS = -I$(srcdir) -I$(top_srcdir)/src -I$(top_builddir)/src \
@PROTO_INCS@ @APPLI_INCS@ @SERVICE_INCS@ @LIBS_INCS@
GNATMAKE_FLAGS = \
$(POLYORB_INCS) \
$(XMLADA_INCS) \
-m \
$(EXAMPLE_GNATMAKE_FLAGS) \
-cargs $(GNATFLAGS) -bargs $(BARGS) \
-largs $(LDFLAGS) --LINK=$(LINKER) \
$(POLYORB_LIBS) $(XMLADA_LIBS) \
-margs $(EXTRA_GNATMAKE_FLAGS)
# Due to a bug in Automake 1.4, this line must not be splitted.
CLEANFILES = b~*.* *.o *.ali
DISTCLEANFILES = @APPLI_EXES@ @SERVICE_EXES@
all-local: @APPLI_EXES@ @SERVICE_EXES@
@APPLI_EXES@ @SERVICE_EXES@: src $(idl)
$(GNATMAKE_FOR_TARGET) $@ $($@_FLAGS) $(GNATMAKE_FLAGS)
$(idl): $(idl).ads
src:
cd $(top_builddir)/src && $(MAKE)