diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-29 13:59:57 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-29 13:59:57 +0000 |
commit | 8ab8a9002177f1b9560bce986546fd7152dfee97 (patch) | |
tree | 75345d43272b362a231c940eae2b144e45086898 /TAO/tests/QtTests | |
parent | 78661d8ec0d9fee61c4dd58dc94e0ca01f206a40 (diff) | |
download | ATCD-8ab8a9002177f1b9560bce986546fd7152dfee97.tar.gz |
ChangeLogTag: Wed Nov 29 13:45:23 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'TAO/tests/QtTests')
-rw-r--r-- | TAO/tests/QtTests/Makefile.am | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/TAO/tests/QtTests/Makefile.am b/TAO/tests/QtTests/Makefile.am new file mode 100644 index 00000000000..d191ee0182d --- /dev/null +++ b/TAO/tests/QtTests/Makefile.am @@ -0,0 +1,178 @@ +## 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 = -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) + +noinst_PROGRAMS = +CLEANFILES = +BUILT_SOURCES = + +## Makefile.QtTests_Server.am + +if BUILD_ACE_QTREACTOR +if BUILD_EXCEPTIONS +if BUILD_QT +if BUILD_TAO_QTRESOURCE + +BUILT_SOURCES += \ + testC.cpp \ + testC.h \ + testC.inl \ + testS.cpp \ + testS.h \ + testS.inl + +CLEANFILES += \ + test-stamp \ + testC.cpp \ + testC.h \ + testC.inl \ + testS.cpp \ + testS.h \ + testS.inl + +testC.cpp testC.h testC.inl testS.cpp testS.h testS.inl: test-stamp + +test-stamp: $(srcdir)/test.idl $(TAO_IDL_DEP) + $(TAO_IDL) $(TAO_IDLFLAGS) $(srcdir)/test.idl + @touch $@ + +BUILT_SOURCES += \ + test_i_moc.cpp + +CLEANFILES += \ + test_i_moc.cpp + +test_i_moc.cpp: $(srcdir)/test_i.h + $(QTDIR)/bin/moc $(srcdir)/test_i.h -o test_i_moc.cpp + +noinst_PROGRAMS += server + +server_CPPFLAGS = \ + -I$(ACE_ROOT) \ + -I$(ACE_BUILDDIR) \ + -I$(TAO_ROOT) \ + -I$(TAO_BUILDDIR) \ + $(ACE_QT_CPPFLAGS) + +server_SOURCES = \ + server.cpp \ + testC.cpp \ + testS.cpp \ + test_i.cpp \ + test_i_moc.cpp \ + testC.h \ + testC.inl \ + testS.h \ + testS.inl \ + test_i.h + +server_LDFLAGS = \ + $(ACE_QT_LDFLAGS) + +server_LDADD = \ + $(TAO_BUILDDIR)/tao/libTAO_QtResource.la \ + $(ACE_BUILDDIR)/ace/libACE_QtReactor.la \ + $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \ + $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \ + $(TAO_BUILDDIR)/tao/libTAO.la \ + $(ACE_BUILDDIR)/ace/libACE.la \ + $(ACE_QT_LIBS) + +endif BUILD_TAO_QTRESOURCE +endif BUILD_QT +endif BUILD_EXCEPTIONS +endif BUILD_ACE_QTREACTOR + +## Makefile.QtTests_Client.am + +if BUILD_ACE_QTREACTOR +if BUILD_EXCEPTIONS +if BUILD_QT +if BUILD_TAO_QTRESOURCE + +BUILT_SOURCES += \ + testC.cpp \ + testC.h \ + testC.inl \ + testS.h \ + testS.inl + +CLEANFILES += \ + test-stamp \ + testC.cpp \ + testC.h \ + testC.inl \ + testS.h \ + testS.inl + +testC.cpp testC.h testC.inl testS.h testS.inl: test-stamp + +test-stamp: $(srcdir)/test.idl $(TAO_IDL_DEP) + $(TAO_IDL) $(TAO_IDLFLAGS) $(srcdir)/test.idl + @touch $@ + +BUILT_SOURCES += \ + client_moc.cpp + +CLEANFILES += \ + client_moc.cpp + +client_moc.cpp: $(srcdir)/client.h + $(QTDIR)/bin/moc $(srcdir)/client.h -o client_moc.cpp + +noinst_PROGRAMS += client + +client_CPPFLAGS = \ + -I$(ACE_ROOT) \ + -I$(ACE_BUILDDIR) \ + -I$(TAO_ROOT) \ + -I$(TAO_BUILDDIR) \ + $(ACE_QT_CPPFLAGS) + +client_SOURCES = \ + client.cpp \ + client_moc.cpp \ + testC.cpp \ + client.h \ + testC.h \ + testC.inl \ + testS.h \ + testS.inl + +client_LDFLAGS = \ + $(ACE_QT_LDFLAGS) + +client_LDADD = \ + $(TAO_BUILDDIR)/tao/libTAO_QtResource.la \ + $(ACE_BUILDDIR)/ace/libACE_QtReactor.la \ + $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \ + $(TAO_BUILDDIR)/tao/libTAO.la \ + $(ACE_BUILDDIR)/ace/libACE.la \ + $(ACE_QT_LIBS) + +endif BUILD_TAO_QTRESOURCE +endif BUILD_QT +endif BUILD_EXCEPTIONS +endif BUILD_ACE_QTREACTOR + +## 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 |