diff options
Diffstat (limited to 'TAO/examples/Buffered_AMI/Makefile.am')
-rw-r--r-- | TAO/examples/Buffered_AMI/Makefile.am | 60 |
1 files changed, 44 insertions, 16 deletions
diff --git a/TAO/examples/Buffered_AMI/Makefile.am b/TAO/examples/Buffered_AMI/Makefile.am index 06d1977ec94..f0cab01d2ea 100644 --- a/TAO/examples/Buffered_AMI/Makefile.am +++ b/TAO/examples/Buffered_AMI/Makefile.am @@ -16,14 +16,16 @@ TAO_IDL_DEP = $(TAO_BUILDDIR)/TAO_IDL/tao_idl TAO_IDLFLAGS = -Ge 1 -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT) -I$(srcdir) -g $(ACE_BUILDDIR)/apps/gperf/src/gperf TAO_ROOT = $(top_srcdir) +CLEANFILES = noinst_PROGRAMS = +BUILT_SOURCES = -## Makefile.Buffered_AMI_IDL.am +## Makefile.Buffered_AMI_Client.am if BUILD_AMI if BUILD_CORBA_MESSAGING -BUILT_SOURCES = \ +BUILT_SOURCES += \ testC.cpp \ testC.h \ testC.inl \ @@ -34,7 +36,7 @@ BUILT_SOURCES = \ testS_T.h \ testS_T.inl -CLEANFILES = \ +CLEANFILES += \ test-stamp \ testC.cpp \ testC.h \ @@ -52,18 +54,6 @@ test-stamp: $(srcdir)/test.idl $(TAO_IDL_DEP) $(TAO_IDL) $(TAO_IDLFLAGS) -GC $(srcdir)/test.idl @touch $@ - -noinst_HEADERS = \ - test.idl - -endif BUILD_CORBA_MESSAGING -endif BUILD_AMI - -## Makefile.Buffered_AMI_Client.am - -if BUILD_AMI -if BUILD_CORBA_MESSAGING - noinst_PROGRAMS += client client_CPPFLAGS = \ @@ -76,7 +66,11 @@ client_SOURCES = \ client.cpp \ testC.cpp \ testS.cpp \ - test_i.h + testC.h \ + testC.inl \ + testS.h \ + testS_T.h \ + testS_T.inl client_LDADD = \ $(TAO_BUILDDIR)/tao/libTAO_Messaging.la \ @@ -96,6 +90,35 @@ endif BUILD_AMI if BUILD_AMI if BUILD_CORBA_MESSAGING +BUILT_SOURCES += \ + testC.cpp \ + testC.h \ + testC.inl \ + testS.cpp \ + testS.h \ + testS.inl \ + testS_T.cpp \ + testS_T.h \ + testS_T.inl + +CLEANFILES += \ + test-stamp \ + testC.cpp \ + testC.h \ + testC.inl \ + testS.cpp \ + testS.h \ + testS.inl \ + testS_T.cpp \ + testS_T.h \ + testS_T.inl + +testC.cpp testC.h testC.inl testS.cpp testS.h testS.inl testS_T.cpp testS_T.h testS_T.inl: test-stamp + +test-stamp: $(srcdir)/test.idl $(TAO_IDL_DEP) + $(TAO_IDL) $(TAO_IDLFLAGS) -GC $(srcdir)/test.idl + @touch $@ + noinst_PROGRAMS += server server_CPPFLAGS = \ @@ -109,6 +132,11 @@ server_SOURCES = \ testC.cpp \ testS.cpp \ test_i.cpp \ + testC.h \ + testC.inl \ + testS.h \ + testS_T.h \ + testS_T.inl \ test_i.h server_LDADD = \ |