diff options
Diffstat (limited to 'ACE/TAO/examples/Advanced/ch_3/Makefile.am')
-rw-r--r-- | ACE/TAO/examples/Advanced/ch_3/Makefile.am | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/ACE/TAO/examples/Advanced/ch_3/Makefile.am b/ACE/TAO/examples/Advanced/ch_3/Makefile.am new file mode 100644 index 00000000000..0eb0d1019b5 --- /dev/null +++ b/ACE/TAO/examples/Advanced/ch_3/Makefile.am @@ -0,0 +1,111 @@ +## Process this file with automake to create Makefile.in +## +## $Id$ +## +## This file was generated by MPC. Any changes made directly to +## this file will be lost the next time it is generated. +## +## MPC Command: +## ../bin/mwc.pl -type automake -noreldefs TAO.mwc + +ACE_BUILDDIR = $(top_builddir)/.. +ACE_ROOT = $(top_srcdir)/.. +TAO_BUILDDIR = $(top_builddir) +TAO_IDL = ACE_ROOT=$(ACE_ROOT) TAO_ROOT=$(TAO_ROOT) $(TAO_BUILDDIR)/TAO_IDL/tao_idl +TAO_IDL_DEP = $(TAO_BUILDDIR)/TAO_IDL/tao_idl +TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT) -I$(srcdir) -g $(ACE_BUILDDIR)/apps/gperf/src/ace_gperf +TAO_ROOT = $(top_srcdir) + +noinst_PROGRAMS = + +## Makefile.Advanced_Ch_3_Idl.am + +if BUILD_EXCEPTIONS + +BUILT_SOURCES = \ + timeC.cpp \ + timeC.h \ + timeC.inl \ + timeS.cpp \ + timeS.h \ + timeS.inl + +CLEANFILES = \ + time-stamp \ + timeC.cpp \ + timeC.h \ + timeC.inl \ + timeS.cpp \ + timeS.h \ + timeS.inl + +timeC.cpp timeC.h timeC.inl timeS.cpp timeS.h timeS.inl: time-stamp + +time-stamp: $(srcdir)/time.idl $(TAO_IDL_DEP) + $(TAO_IDL) $(TAO_IDLFLAGS) -Sa -St $(srcdir)/time.idl + @touch $@ + +noinst_HEADERS = \ + time.idl + +endif BUILD_EXCEPTIONS + +## Makefile.Advanced_Ch_3_Client.am + +if BUILD_CORBA_MESSAGING +if BUILD_EXCEPTIONS + +noinst_PROGRAMS += client + +client_CPPFLAGS = \ + -I$(ACE_ROOT) \ + -I$(ACE_BUILDDIR) \ + -I$(TAO_ROOT) \ + -I$(TAO_BUILDDIR) + +client_SOURCES = \ + client.cpp \ + timeC.cpp \ + server.h + +client_LDADD = \ + $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \ + $(TAO_BUILDDIR)/tao/libTAO.la \ + $(ACE_BUILDDIR)/ace/libACE.la + +endif BUILD_EXCEPTIONS +endif BUILD_CORBA_MESSAGING + +## Makefile.Advanced_Ch_3_Server.am + +if BUILD_EXCEPTIONS + +noinst_PROGRAMS += server + +server_CPPFLAGS = \ + -I$(ACE_ROOT) \ + -I$(ACE_BUILDDIR) \ + -I$(TAO_ROOT) \ + -I$(TAO_BUILDDIR) + +server_SOURCES = \ + server.cpp \ + timeC.cpp \ + timeS.cpp \ + server.h + +server_LDADD = \ + $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \ + $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \ + $(TAO_BUILDDIR)/tao/libTAO.la \ + $(ACE_BUILDDIR)/ace/libACE.la + +endif BUILD_EXCEPTIONS + +## Clean up template repositories, etc. +clean-local: + -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* + -rm -f gcctemp.c gcctemp so_locations *.ics + -rm -rf cxx_repository ptrepository ti_files + -rm -rf templateregistry ir.out + -rm -rf ptrepository SunWS_cache Templates.DB |