## Process this file with automake to produce Makefile.in AM_CXXFLAGS=-g if MAKE_APPS if MAKE_TESTS all-local: install-test-inplace include $(top_srcdir)/autonmake.mak include $(top_srcdir)/autovcproj.mak # if HAVE_WX # if HAVE_CRYSTALSPACE # wxtests = wxtest2 wxtest3 # else # wxtests = # endif # else wxtests = # endif #if HAVE_MYSQL #sqltest = testsqlpersist #else sqltest = #endif #if HAVE_METATRONIC #guitest = guitest #else #guitest = #endif #if BUILD_REVCONTROL #rc = testrevcontrolclient testrevcontrolserver #else #rc = #endif if ENABLE_VOP voptests=biprototest biprototestclient else voptests= endif noinst_PROGRAMS = threadtest testlocal testlocallistener \ testrefcount testmetaobject testextension testserver \ testclient testpropertyserver testpropertyclient testACL \ testpwauthserver testpwauthclient testobjcreateserver \ testobjcreateclient \ perftests perftestc searchtest \ testmetafactory testrename testfspersist \ testservices testtypes \ movertest \ propertytemplate xmltest impexptest vosapptest \ memusetest dateformatfilter testpcrcompare \ sumpropfilter meanpropfilter productpropfilter \ reciprocalpropfilter \ vutil_userinfo \ factories \ httpclienttest \ concatpropfilter \ periodicupdatepropfilter \ charsets \ childsublistenertooltest functorlisteners \ vutil_datetime \ htmlencodefilter \ $(voptests) \ $(sqltest) # viptestclient viptestserver #Obsolete: $(guitest) $(rc) $(wxtests) EXTRA_PROGRAMS = testsqlpersist endif endif INCLUDES = @DEFINES@ @WX_CFLAGS@ threadtest_SOURCES = threadtest.cc threadtest_LDADD = -lvos -lvip -lvutil -lboost_thread threadtest_LDFLAGS = -L$(top_builddir)/libs/vos/vos testlocal_SOURCES = testlocal.cc testlocal_LDADD = -lvos -lvip -lvutil -lboost_thread testlocal_LDFLAGS = -L$(top_builddir)/libs/vos/vos testlocallistener_SOURCES = testlocallistener.cc testlocallistener_LDADD = -lvos -lvip -lvutil testlocallistener_LDFLAGS = -L$(top_builddir)/libs/vos/vos testrefcount_SOURCES = testrefcount.cc testrefcount_LDADD = -lvutil testrefcount_LDFLAGS = -L$(top_builddir)/libs/vos/vos testmetaobject_SOURCES = testmetaobject.cc testmetaobject_LDADD = -lvos -lvip -lvutil testmetaobject_LDFLAGS = -L$(top_builddir)/libs/vos/vos testextension_SOURCES = testextension.cc testextension_LDADD = -lvos -lvip -lvutil testextension_LDFLAGS = -L$(top_builddir)/libs/vos/vos testserver_SOURCES = testserver.cc testserver_LDADD = -lvos -lvip -lvutil testserver_LDFLAGS = -L$(top_builddir)/libs/vos/vos testclient_SOURCES = testclient.cc testclient_LDADD = -lvos -lvip -lvutil testclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos testpropertyserver_SOURCES = testpropertyserver.cc testpropertyserver_LDADD = -lvos -lvip -lvutil testpropertyserver_LDFLAGS = -L$(top_builddir)/libs/vos/vos testpropertyclient_SOURCES = testpropertyclient.cc testpropertyclient_LDADD = -lvos -lvip -lvutil testpropertyclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos testACL_SOURCES = testACL.cc testACL_LDADD = -lvos -lvip -lvutil testACL_LDFLAGS = -L$(top_builddir)/libs/vos/vos testpwauthserver_SOURCES = testpwauthserver.cc testpwauthserver_LDADD = -lvos -lvip -lvutil testpwauthserver_LDFLAGS = -L$(top_builddir)/libs/vos/vos testpwauthclient_SOURCES = testpwauthclient.cc testpwauthclient_LDADD = -lvos -lvip -lvutil testpwauthclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos perftests_SOURCES = perftest_svr.cc perftests_LDADD = -lvos -lvip -lvutil perftests_LDFLAGS = -L$(top_builddir)/libs/vos/vos perftestc_SOURCES = perftest.cc perftestc_LDADD = -lvos -lvip -lvutil perftestc_LDFLAGS = -L$(top_builddir)/libs/vos/vos testobjcreateserver_SOURCES = testobjcreateserver.cc testobjcreateserver_LDADD = -lvos -lvip -lvutil testobjcreateserver_LDFLAGS = -L$(top_builddir)/libs/vos/vos testobjcreateclient_SOURCES = testobjcreateclient.cc testobjcreateclient_LDADD = -lvos -lvip -lvutil testobjcreateclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos searchtest_SOURCES = searchtest.cc searchtest_LDADD = -lmetaobject_misc -lvos -lvip -lvutil searchtest_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/metaobjects/misc #guitest_SOURCES = guitest.cc #guitest_LDADD = -lvos -lvip -lmetaobject_gui \ # -lmetaobject_misc -lmetatronic @WX_LIBS@ #guitest_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ # -L$(top_builddir)/libs/vos/metaobjects/gui \ # -L$(top_builddir)/libs/vos/metaobjects/misc \ # -L$(top_builddir)/libs/vos/metatronic testmetafactory_SOURCES = testmetafactory.cc testmetafactory2.cc testmetafactory_LDADD = -lvos -lvip -lmetaobject_misc -lmetaobject_a3dl -lvutil testmetafactory_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/metaobjects/misc \ -L$(top_builddir)/libs/vos/metaobjects/a3dl \ -L$(top_builddir)/libs/vos/metaobjects/gui testrename_SOURCES = testrename.cc testrename_LDADD = -lvos -lvip -lvutil testrename_LDFLAGS = -L$(top_builddir)/libs/vos/vos testsqlpersist_SOURCES = testsqlpersist.cc testsqlpersist_LDADD = -lvos -lvip -lvosext_sqlpersist -lvosext_mysqldb @LIBMYSQLCLIENT@ -lvutil testsqlpersist_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/extensions/sqlpersist testfspersist_SOURCES = testfspersist.cc testfspersist_LDADD = -lvos -lvip -lvosext_fspersist -lvutil testfspersist_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/extensions/fspersist #if BUILD_REVCONTROL #testrevcontrolclient_SOURCES = testrevcontrolclient.cc #testrevcontrolclient_LDADD = -lvos -lvip -lvosext_revcontrol \ # -lvos -lvipext_fspersist #testrevcontrolclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ # -L$(top_builddir)/libs/vos/extensions/fspersist \ # -L$(top_builddir)/libs/vos/extensions/revcontrol# # #testrevcontrolserver_SOURCES = testrevcontrolserver.cc #testrevcontrolserver_LDADD = -lvos -lvip -lvosext_fspersist \ # -lvos -lvipext_revcontrol #testrevcontrolserver_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ # -L$(top_builddir)/libs/vos/extensions/fspersist \ # -L$(top_builddir)/libs/vos/extensions/revcontrol #endif #viptestclient_SOURCES = viptestclient.cc #viptestclient_LDADD = -lvos -lvip -lvutil #viptestclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos #viptestserver_SOURCES = viptestserver.cc #viptestserver_LDADD = -lvos -lvip -lvutil #viptestserver_LDFLAGS = -L$(top_builddir)/libs/vos/vos testservices_SOURCES = testservices.cc testservices_LDADD = -lvos -lvip -lmetaobject_services -lmetaobject_misc -lvutil testservices_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/metaobjects/services testtypes_SOURCES = testtypes.cc testtypes_LDADD = -lvos -lvip -lmetaobject_misc -lvutil testtypes_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/metaobjects/misc if ENABLE_VOP biprototest_SOURCES = biprototest.cc biprototest_LDADD = -lvos -lvip -lvutil biprototest_LDFLAGS = -L$(top_builddir)/libs/vos/vos biprototestclient_SOURCES = biprototestclient.cc biprototestclient_LDADD = -lvos -lvip -lvutil biprototestclient_LDFLAGS = -L$(top_builddir)/libs/vos/vos endif movertest_SOURCES = movertest.cc movertest_LDADD = -lvos -lvip -lmetaobject_a3dl -lmetaobject_misc -lvutil movertest_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/metaobjects/misc \ -L$(top_builddir)/libs/vos/metaobjects/a3dl propertytemplate_SOURCES = propertytemplate.cc propertytemplate_LDADD = -lvos -lvip -lvutil propertytemplate_LDFLAGS = -L$(top_builddir)/libs/vos/vos \ -L$(top_builddir)/libs/vos/metaobjects/misc \ -L$(top_builddir)/libs/vos/metaobjects/a3dl xmltest_SOURCES = xmltest.cc xmltest_LDADD = -lvos -lvip -lvutil xmltest_LDFLAGS = -L$(top_builddir)/libs/vos/vos impexptest_SOURCES = impexptest.cc impexptest_LDADD = -lvos -lvip -lvutil impexptest_LDFLAGS = -L$(top_builddir)/libs/vos/vos vosapptest_SOURCES = vosapptest.cc vosapptest_LDADD = -lvos -lvip -lvutil vosapptest_LDFLAGS = -L$(top_builddir)/libs/vos/vos memusetest_SOURCES = memusetest.cc memusetest_LDADD = -lvos -lvip -lvutil memusetest_LDFLAGS = -L$(top_builddir)/libs/vos/vos dateformatfilter_SOURCES = dateformatfilter.cc dateformatfilter_LDADD = -lmetaobject_misc -lvostoolbox -lvos -lvip -lvutil dateformatfilter_LDFLAGS = testpcrcompare_SOURCES = testpcrcompare.cc testpcrcompare_LDADD = -lvos -lvutil -lvip testpcrcompare_LDFLAGS = -L$(top_bulddir)/libs/vos/vos meanpropfilter_SOURCES = meanpropfilter.cc meanpropfilter_LDADD = -lvos -lvip -lvutil -lvostoolbox meanpropfilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos productpropfilter_SOURCES = productpropfilter.cc productpropfilter_LDADD = -lvos -lvip -lvutil -lvostoolbox productpropfilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos reciprocalpropfilter_SOURCES = reciprocalpropfilter.cc reciprocalpropfilter_LDADD = -lvos -lvip -lvutil -lvostoolbox reciprocalpropfilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos sumpropfilter_SOURCES = sumpropfilter.cc sumpropfilter_LDADD = -lvos -lvip -lvutil -lvostoolbox sumpropfilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos httpclienttest_SOURCES = httpclienttest.cc httpclienttest_LDADD = -lvos -lvip -lvutil -lvostoolbox -lvosext_http httpclienttest_LDFLAGS = -L$(top_builddir)/libs/vos/vos filtertests: dateformatfilter meanpropfilter productpropfilter reciprocalpropfilter sumpropfilter concatpropfilter vutil_userinfo_SOURCES = vutil_userinfo.cc vutil_userinfo_LDADD = -lvutil vutil_userinfo_LDFLAGS = -L$(top_builddir)/libs/vos/vos vutil_datetime_SOURCES = vutil_datetime.cc vutil_datetime_LDADD = -lvutil vutil_datetime_LDFLAGS = -L$(top_builddir)/libs/vos/vos factories_SOURCES = factories.cc factories_LDADD = -lvos -lvip -lvutil -lmetaobject_misc factories_LDFLAGS = -L$(top_builddir)/libs/vos/vos concatpropfilter_SOURCES = concatpropfilter.cc concatpropfilter_LDADD = -lvos -lvip -lvutil -lvostoolbox concatpropfilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos htmlencodefilter_SOURCES = htmlencodefilter.cc htmlencodefilter_LDADD = -lvos -lvip -lvutil -lvostoolbox htmlencodefilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos periodicupdatepropfilter_SOURCES = periodicupdatepropfilter.cc periodicupdatepropfilter_LDADD = -lvos -lvip -lvutil -lvostoolbox -lmetaobject_misc periodicupdatepropfilter_LDFLAGS = -L$(top_builddir)/libs/vos/vos charsets_SOURCES = charsets.cc charsets_LDADD = -lvos -lvip -lvutil charsets_LDFLAGS = -L$(top_builddir)/libs/vos/vos childsublistenertooltest_SOURCES = childsublistenertooltest.cc childsublistenertooltest_LDADD = -lvos -lvip -lvutil -lvostoolbox childsublistenertooltest_LDFLAGS = -L$(top_builddir)/libs/vos/vos functorlisteners_SOURCES = functorlisteners.cc functorlisteners_LDADD = -lvos -lvip -lvutil -lvostoolbox functorlisteners_LDFLAGS = -L$(top_builddir)/libs/vos/vos #if HAVE_CS #wxtest1_SOURCES = wxtest1.cc #wxtest1_LDADD = @WX_LIBS@ @CS_LIBS@ #wxtest2_SOURCES = wxtest2.cc #wxtest2_LDADD = @WX_LIBS@ @CS_LIBS@ #wxtest3_SOURCES = wxtest3.cc #wxtest3_LDADD = @WX_LIBS@ @CS_LIBS@ #endif include $(top_srcdir)/inplace.mak INPLACE_TEST=$(noinst_PROGRAMS) #if MAKE_MAC_BUNDLES #rez: # if test -f .libs/guitest ; then @WX_REZ@ .libs/guitest; else if test -f guitest ; then @WX_REZ@ guitest ; fi ; fi # -mkdir wxtest1.app # -mkdir wxtest1.app/Contents # -mkdir wxtest1.app/Contents/MacOS # echo -n 'APPL????' > wxtest1.app/Contents/PkgInfo # cp wxtest1 wxtest1.app/Contents/MacOS/ # if test -f .libs/wxtest1 ; then @WX_REZ@ .libs/wxtest1; else if test -f wxtest1 ; then @WX_REZ@ wxtest1 ; fi ; fi # if test -f .libs/wxtest2 ; then @WX_REZ@ .libs/wxtest2; else if test -f wxtest2 ; then @WX_REZ@ wxtest2 ; fi ; fi # if test -f .libs/wxtest3 ; then @WX_REZ@ .libs/wxtest3; else if test -f wxtest3 ; then @WX_REZ@ wxtest3 ; fi ; fi # # #all-local: install-test-inplace rez # #else #endif