diff options
Diffstat (limited to 'TAO/examples/AMH/Sink_Server/Makefile.am')
-rw-r--r-- | TAO/examples/AMH/Sink_Server/Makefile.am | 104 |
1 files changed, 80 insertions, 24 deletions
diff --git a/TAO/examples/AMH/Sink_Server/Makefile.am b/TAO/examples/AMH/Sink_Server/Makefile.am index d7c6dca9fee..6df470c1810 100644 --- a/TAO/examples/AMH/Sink_Server/Makefile.am +++ b/TAO/examples/AMH/Sink_Server/Makefile.am @@ -16,52 +16,41 @@ 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.Sink_Server_IDL.am +## Makefile.Sink_Server_Client.am if BUILD_CORBA_MESSAGING -BUILT_SOURCES = \ +BUILT_SOURCES += \ TestC.cpp \ TestC.h \ TestC.inl \ - TestS.cpp \ TestS.h \ TestS.inl \ TestS_T.cpp \ TestS_T.h \ TestS_T.inl -CLEANFILES = \ +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 +TestC.cpp TestC.h TestC.inl 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) -GH $(srcdir)/Test.idl @touch $@ - -noinst_HEADERS = \ - Test.idl - -endif BUILD_CORBA_MESSAGING - -## Makefile.Sink_Server_Client.am - -if BUILD_CORBA_MESSAGING -if !BUILD_ACE_FOR_TAO - noinst_PROGRAMS += client client_CPPFLAGS = \ @@ -74,8 +63,12 @@ client_SOURCES = \ Client_Task.cpp \ TestC.cpp \ client.cpp \ - Base_Server.inl \ - Client_Task.h + Client_Task.h \ + TestC.h \ + TestC.inl \ + TestS.h \ + TestS_T.h \ + TestS_T.inl client_LDADD = \ $(TAO_BUILDDIR)/tao/libTAO_Messaging.la \ @@ -88,13 +81,40 @@ client_LDADD = \ $(TAO_BUILDDIR)/tao/libTAO.la \ $(ACE_BUILDDIR)/ace/libACE.la -endif !BUILD_ACE_FOR_TAO endif BUILD_CORBA_MESSAGING ## Makefile.Sink_Server_Mt_Server.am if BUILD_CORBA_MESSAGING -if !BUILD_ACE_FOR_TAO + +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) -GH $(srcdir)/Test.idl + @touch $@ noinst_PROGRAMS += mt_server @@ -116,6 +136,11 @@ mt_server_SOURCES = \ Base_Server.h \ Base_Server.inl \ MT_AMH_Server.h \ + TestC.h \ + TestC.inl \ + TestS.h \ + TestS_T.h \ + TestS_T.inl \ Timer_Handler.h mt_server_LDADD = \ @@ -129,13 +154,40 @@ mt_server_LDADD = \ $(TAO_BUILDDIR)/tao/libTAO.la \ $(ACE_BUILDDIR)/ace/libACE.la -endif !BUILD_ACE_FOR_TAO endif BUILD_CORBA_MESSAGING ## Makefile.Sink_Server_St_Server.am if BUILD_CORBA_MESSAGING -if !BUILD_ACE_FOR_TAO + +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) -GH $(srcdir)/Test.idl + @touch $@ noinst_PROGRAMS += st_server @@ -155,6 +207,11 @@ st_server_SOURCES = \ AMH_Servant.h \ Base_Server.h \ Base_Server.inl \ + TestC.h \ + TestC.inl \ + TestS.h \ + TestS_T.h \ + TestS_T.inl \ Timer_Handler.h st_server_LDADD = \ @@ -168,7 +225,6 @@ st_server_LDADD = \ $(TAO_BUILDDIR)/tao/libTAO.la \ $(ACE_BUILDDIR)/ace/libACE.la -endif !BUILD_ACE_FOR_TAO endif BUILD_CORBA_MESSAGING ## Clean up template repositories, etc. |