1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750
|
# require version or better
AUTOMAKE_OPTIONS = 1.7
bin_PROGRAMS=tora
METASOURCES = AUTO
TRANSLATIONS= \
i18n/tora_se.ts \
i18n/tora_fr.ts \
i18n/tora_it.ts \
i18n/tora_toad.ts
LOKIDIR_INC=$(top_srcdir)/ext/loki/loki-0.1.6/include
LOKIDIR_SRC=$(top_srcdir)/ext/loki/loki-0.1.6/src
AM_CPPFLAGS = -I$(top_srcdir)/ext/otl -I$(LOKIDIR_INC) $(KDE_INCLUDES) $(QT_INCLUDES) $(LTDLINCL)
AM_CPPFLAGS += $(PCRE_CFLAGS) \
-DDEFAULT_PLUGIN_DIR=\"$(libdir)\" \
-DTOVERSION=\"$(PACKAGE_VERSION)\" \
$(ORACLE_CXXFLAGS) \
$(QSCINTILLA_CXXFLAGS)
AM_LDFLAGS = $(PCRE_LIBS) \
$(KDE_LDFLAGS) \
$(X_LDFLAGS) \
$(QT_LDFLAGS) \
$(LIB_KPARTS) \
$(LIB_KDEPRINT) \
$(LIB_KDECORE) \
$(LIB_KDEUI) \
$(LIB_KIO) \
$(LIB_KFILE) \
$(LIB_DCOP) \
$(LIB_KHTML) \
-lqscintilla \
-lstdc++ \
$(LIBPTHREAD) \
$(ORACLE_LDFLAGS) \
$(QSCINTILLA_LDFLAGS)
# fix for annoying automake naming problems.
tora_CXXFLAGS = $(AM_CXXFLAGS)
tora_LDADD = $(ORACLE_LIBS) $(@TORA_LINK_OTHERS@)
if HAVE_ORACLE
EXTRA_ORACLE_MONO_SOURCE = tooracleconnection.cpp \
tooracleextract.cpp \
tooraclesettingui.cpp tooraclesettingui.h
endif
if ENABLE_MONO
EXTRA_tora_SOURCES = toalert.cpp toalert.h \
toanalyze.cpp toanalyze.h \
tobackup.cpp tobackup.h \
tobackuptool.cpp tobackuptool.h \
tobrowser.cpp tobrowser.h \
tobarchart.cpp tobarchart.h \
tocurrent.cpp tocurrent.h \
todebug.cpp todebug.h \
toeditextensions.cpp toeditextensions.h \
todatatype.cpp todatatype.h \
toinvalid.cpp toinvalid.h \
tooutput.cpp tooutput.h \
topassword.cpp \
toprofiler.cpp toprofiler.h \
toproject.cpp toproject.h \
toqsqlconnection.cpp \
torollback.cpp torollback.h \
toscript.cpp toscript.h \
tosecurity.cpp tosecurity.h \
tosession.cpp tosession.h \
tosgatrace.cpp tosgatrace.h \
tosqledit.cpp tosqledit.h \
tostorage.cpp tostorage.h \
tostoragedefinition.cpp tostoragedefinition.h \
totemplate.cpp totemplate.h \
totemporary.cpp totemporary.h \
totuning.cpp totuning.h \
tochangeconnection.cpp tochangeconnection.h \
toworksheet.cpp toworksheet.h \
toworksheetstatistic.cpp toworksheetstatistic.h \
tobrowserconstraint.cpp tobrowserconstraint.h \
tobrowserconstraintui.cpp tobrowserconstraintui.h \
tobrowserfilterui.cpp tobrowserfilterui.h \
tobrowserindex.cpp tobrowserindex.h \
tobrowserindexui.cpp tobrowserindexui.h \
tobrowsertable.cpp tobrowsertable.h \
tobrowsertableui.cpp tobrowsertableui.h \
tochartalarmui.cpp tochartalarmui.h \
tochartmanager.cpp tochartmanager.h \
tochartsetupui.cpp tochartsetupui.h \
tolegendchart.cpp tolegendchart.h \
tolinechart.cpp tolinechart.h \
tolinechartsetupui.cpp tolinechartsetupui.h \
topiechart.cpp topiechart.h \
toresultbar.cpp toresultbar.h \
toresultline.cpp toresultline.h \
toresultpie.cpp toresultpie.h \
todebugwatch.cpp todebugwatch.h \
todebugtext.cpp todebugtext.h \
todebugchangeui.cpp todebugchangeui.h \
toeditextensiongotoui.cpp toeditextensiongotoui.h \
toeditextensionsetupui.cpp toeditextensionsetupui.h \
toextract.cpp toextract.h \
toreport.cpp toreport.h \
toresultconstraint.cpp toresultconstraint.h \
toresultextract.cpp toresultextract.h \
toresultcols.cpp toresultcols.h \
toresultcolscomment.cpp toresultcolscomment.h \
toresultcombo.cpp toresultcombo.h \
toresultcontent.cpp toresultcontent.h \
toresultcontentfilterui.cpp toresultcontentfilterui.h \
toresultdepend.cpp toresultdepend.h \
toresultindexes.cpp toresultindexes.h \
toresultlabel.cpp toresultlabel.h \
toresultlock.cpp toresultlock.h \
toresultlong.cpp toresultlong.h \
toresultplan.cpp toresultplan.h \
toresultparam.cpp toresultparam.h \
toresultreferences.cpp toresultreferences.h \
toresultstorage.cpp toresultstorage.h \
torollbackdialogui.cpp torollbackdialogui.h \
toscriptui.cpp toscriptui.h \
tosecurityquotaui.cpp tosecurityquotaui.h \
tosecurityroleui.cpp tosecurityroleui.h \
tosecurityuserui.cpp tosecurityuserui.h \
tostoragedatafileui.cpp tostoragedatafileui.h \
tostoragedialogui.cpp tostoragedialogui.h \
tostorageprefsui.cpp tostorageprefsui.h \
tostoragetablespaceui.cpp tostoragetablespaceui.h \
tostoragedefinitionui.cpp tostoragedefinitionui.h \
totemplateaddfileui.cpp totemplateaddfileui.h \
totemplateeditui.cpp totemplateeditui.h \
totemplatesetupui.cpp totemplatesetupui.h \
totuningoverviewui.cpp totuningoverviewui.h \
totuningsettingui.cpp totuningsettingui.h \
tofilesize.cpp tofilesize.h \
tosgastatement.cpp tosgastatement.h \
totableselect.cpp totableselect.h \
tovisualize.cpp tovisualize.h \
towaitevents.cpp towaitevents.h \
toworksheetsetupui.cpp toworksheetsetupui.h \
$(EXTRA_ORACLE_MONO_SOURCE)
endif
tora_SOURCES=main.cpp \
toabout.cpp toabout.h \
toaboutui.cpp toaboutui.h \
tobackground.cpp tobackground.h \
tobackgroundlabel.cpp tobackgroundlabel.h \
toconfiguration.cpp toconfiguration.h \
toconnection.cpp toconnection.h \
todatabasesettingui.cpp todatabasesettingui.h \
toeditwidget.cpp toeditwidget.h \
toglobalsetting.cpp toglobalsetting.h \
toglobalsettingui.cpp toglobalsettingui.h \
tohelp.cpp tohelp.h \
tohelpaddfileui.cpp tohelpaddfileui.h \
tohelpsetupui.cpp tohelpsetupui.h \
tohelpbrowser.h \
tohighlightedtext.cpp tohighlightedtext.h \
tohtml.cpp tohtml.h \
tolistviewformatter.cpp tolistviewformatter.h \
tolistviewformattercsv.cpp tolistviewformattercsv.h \
tolistviewformatterfactory.h \
tolistviewformatterhtml.cpp tolistviewformatterhtml.h \
tolistviewformatteridentifier.h \
tolistviewformattersql.cpp tolistviewformattersql.h \
tolistviewformattertabdel.cpp tolistviewformattertabdel.h \
tolistviewformattertext.cpp tolistviewformattertext.h \
tomain.cpp tomain.h \
tomarkedtext.cpp tomarkedtext.h \
tomemoeditor.cpp tomemoeditor.h \
tomessageui.cpp tomessageui.h \
tonewconnection.cpp tonewconnection.h \
tonewconnectionui.cpp tonewconnectionui.h \
tonoblockquery.cpp tonoblockquery.h \
toparamget.cpp toparamget.h \
topreferences.cpp topreferences.h \
topreferencesui.cpp topreferencesui.h \
toresult.cpp toresult.h \
toresultfield.cpp toresultfield.h \
toresultitem.cpp toresultitem.h \
toresultlistformatui.cpp toresultlistformatui.h \
toresultstats.cpp toresultstats.h \
toresultview.cpp toresultview.h \
tosearchreplace.cpp tosearchreplace.h \
tosearchreplaceui.cpp tosearchreplaceui.h \
tosmtp.cpp tosmtp.h \
tosplash.cpp tosplash.h \
tosql.cpp tosql.h \
tosqlparse.cpp tosqlparse.h \
tosyntaxsetup.cpp tosyntaxsetup.h \
tosyntaxsetupui.cpp tosyntaxsetupui.h \
totabwidget.cpp totabwidget.h \
totemplateprovider.cpp \
totextview.cpp totextview.h \
tothread.cpp tothread.h \
totimer.cpp totimer.h \
totool.cpp totool.h \
totoolsettingui.cpp totoolsettingui.h todroptablespaceui.h \
todroptablespaceui.cpp utils.cpp utils.h \
$(LOKIDIR_SRC)/SmallObj.cpp \
$(LOKIDIR_SRC)/Singleton.cpp \
$(EXTRA_tora_SOURCES)
UI_FILES = toaboutui.ui \
tobrowserconstraintui.ui \
tobrowserfilterui.ui \
tobrowserindexui.ui \
tobrowsertableui.ui \
tooraclesettingui.ui \
tostoragetablespaceui.ui \
tochartalarmui.ui \
topreferencesui.ui \
tosyntaxsetupui.ui \
tochartsetupui.ui \
toresultcontentfilterui.ui \
totemplateaddfileui.ui \
todatabasesettingui.ui \
toresultlistformatui.ui \
totemplateeditui.ui \
todebugchangeui.ui \
torollbackdialogui.ui \
totemplatesetupui.ui \
todebugwatch.ui \
toscriptui.ui \
totoolsettingui.ui \
toeditextensiongotoui.ui \
tosearchreplaceui.ui \
totuningoverviewui.ui \
toeditextensionsetupui.ui \
tosecurityquotaui.ui \
totuningsettingui.ui \
toglobalsettingui.ui \
tosecurityroleui.ui \
toworksheetsetupui.ui \
tohelpaddfileui.ui \
tosecurityuserui.ui \
tohelpsetupui.ui \
tostoragedatafileui.ui \
tolinechartsetupui.ui \
tostoragedefinitionui.ui \
tomessageui.ui \
tostoragedialogui.ui \
tonewconnectionui.ui \
tostorageprefsui.ui \
todroptablespaceui.ui
EXTRA_DIST = icons \
templates \
windows \
$(UI_FILES) \
Makefile.am \
LICENSE.h \
toconf.h \
todefaultkeywords.h \
toextratranslations.cpp \
tomainwindow.h \
tomainwindow.kde.h \
tomysqlkeywords.h \
toocistub.cpp \
tooraclepreload.cpp \
toqvalue.h \
toresultresources.h \
$(TRANSLATIONS) \
LICENSE.h
# this is a hack (but it *is* mentioned in the automake manual, of all
# places). EXTRA_DIST includes all files, even things like CVS
# folders. so we delete them here. but specifying all the files in
# those subdirs would suck more because many of them are generated
# (help api for one).
dist-hook:
rm -rf `find $(distdir) -name .svn`
# mrj: this sorta sucks. there's a lot of generated source files...
# the old build system distributed the .depends folder in the source
# tarball, which is the old way of handling the dependencies. that's
# not fully portable. using BUILT_SOURCES is the (relatively speaking)
# new work around. this is mainly why i've required automake >= 1.6.
# files listed in BUILT_SOURCES are built before anything else.
BUILT_SOURCES = \
toabout.moc \
toaboutui.moc \
toalert.moc \
toanalyze.moc \
tobackup.moc \
tobarchart.moc \
tobrowser.moc \
tobrowserconstraint.moc \
tobrowserconstraintui.moc \
tobrowserfilterui.moc \
tobrowserindex.moc \
tobrowserindexui.moc \
tobrowsertable.moc \
tobrowsertableui.moc \
tochangeconnection.moc \
tochartalarmui.moc \
tochartmanager.moc \
tochartsetupui.moc \
tocurrent.moc \
todatabasesettingui.moc \
todatatype.moc \
todebug.moc \
todebugchangeui.moc \
todebugwatch.moc \
todebugtext.moc \
todroptablespaceui.moc \
toeditextensiongotoui.moc \
toeditextensions.moc \
toeditextensionsetupui.moc \
tofilesize.moc \
toglobalsettingui.moc \
tohelp.moc \
tohelpbrowser.moc \
tohelpaddfileui.moc \
tohelpbrowser.moc \
tohelpsetupui.moc \
tohighlightedtext.moc \
toinvalid.moc \
tolegendchart.moc \
tolinechart.moc \
tolinechartsetupui.moc \
tomain.moc \
tomainwindow.kde.moc \
tomainwindow.moc \
tomarkedtext.moc \
tomemoeditor.moc \
tomessageui.moc \
tonewconnection.moc \
tonewconnectionui.moc \
tooraclesettingui.moc \
tooutput.moc \
toparamget.moc \
topiechart.moc \
topreferences.moc \
topreferencesui.moc \
toprofiler.moc \
toproject.moc \
toresult.moc \
toresultbar.moc \
toresultcols.moc \
toresultcolscomment.moc \
toresultcombo.moc \
toresultconstraint.moc \
toresultcontent.moc \
toresultcontentfilterui.moc \
toresultdepend.moc \
toresultextract.moc \
toresultfield.moc \
toresultindexes.moc \
toresultitem.moc \
toresultlabel.moc \
toresultline.moc \
toresultlistformatui.moc \
toresultlock.moc \
toresultlong.moc \
toresultparam.moc \
toresultpie.moc \
toresultplan.moc \
toresultreferences.moc \
toresultstats.moc \
toresultstorage.moc \
toresultview.moc \
torollback.moc \
torollbackdialogui.moc \
toscript.moc \
toscriptui.moc \
tosearchreplace.moc \
tosearchreplaceui.moc \
tosecurity.moc \
tosecurityquotaui.moc \
tosecurityroleui.moc \
tosecurityuserui.moc \
tosession.moc \
tosgastatement.moc \
tosgatrace.moc \
tosmtp.moc \
tosqledit.moc \
tostorage.moc \
tostoragedatafileui.moc \
tostoragedefinitionui.moc \
tostoragedialogui.moc \
tostorageprefsui.moc \
tostoragetablespaceui.moc \
tosyntaxsetup.moc \
tosyntaxsetupui.moc \
totableselect.moc \
totabwidget.moc \
totemplate.moc \
totemplateaddfileui.moc \
totemplateeditui.moc \
totemplatesetupui.moc \
totemporary.moc \
totool.moc \
totoolsettingui.moc \
totuning.moc \
totuningoverviewui.moc \
totuningsettingui.moc \
tovisualize.moc \
towaitevents.moc \
toworksheet.moc \
toworksheetsetupui.moc \
toworksheetstatistic.moc \
utils.moc \
toaboutui.cpp \
todroptablespaceui.cpp \
tobrowserconstraintui.cpp \
tobrowserfilterui.cpp \
tobrowserindexui.cpp \
tobrowsertableui.cpp \
tochartalarmui.cpp \
tochartsetupui.cpp \
todatabasesettingui.cpp \
todebugchangeui.cpp \
todebugwatch.cpp \
toaboutui.h \
todroptablespaceui.h \
tobrowserconstraintui.h \
tobrowserfilterui.h \
tobrowserindexui.h \
tobrowsertableui.h \
tochartalarmui.h \
tochartsetupui.h \
todatabasesettingui.h \
todebugchangeui.h \
todebugwatch.h \
toeditextensiongotoui.h \
toeditextensionsetupui.h \
toglobalsettingui.h \
tohelpaddfileui.h \
tohelpsetupui.h \
tolinechartsetupui.h \
tomessageui.h \
tonewconnectionui.h \
tooraclesettingui.h \
topreferencesui.h \
toresultcontentfilterui.h \
toresultlistformatui.h \
torollbackdialogui.h \
toscriptui.h \
tosearchreplaceui.h \
tosecurityquotaui.h \
tosecurityroleui.h \
tosecurityuserui.h \
tostoragedatafileui.h \
tostoragedefinitionui.h \
tostoragedialogui.h \
tostorageprefsui.h \
tostoragetablespaceui.h \
tosyntaxsetupui.h \
totemplateaddfileui.h \
totemplateeditui.h \
totemplatesetupui.h \
totoolsettingui.h \
totuningoverviewui.h \
totuningsettingui.h \
toworksheetsetupui.h \
toaboutui.cpp \
tobrowserconstraintui.cpp \
tobrowserfilterui.cpp \
tobrowserindexui.cpp \
tobrowsertableui.cpp \
tochartalarmui.cpp \
tochartsetupui.cpp \
todatabasesettingui.cpp \
todebugchangeui.cpp \
todebugwatch.cpp \
toeditextensiongotoui.cpp \
toeditextensionsetupui.cpp \
toglobalsettingui.cpp \
tohelpaddfileui.cpp \
tohelpsetupui.cpp \
tolinechartsetupui.cpp \
tomessageui.cpp \
tonewconnectionui.cpp \
tooraclesettingui.cpp \
topreferencesui.cpp \
toresultcontentfilterui.cpp \
toresultlistformatui.cpp \
torollbackdialogui.cpp \
toscriptui.cpp \
tosearchreplaceui.cpp \
tosecurityquotaui.cpp \
tosecurityroleui.cpp \
tosecurityuserui.cpp \
tostoragedatafileui.cpp \
tostoragedefinitionui.cpp \
tostoragedialogui.cpp \
tostorageprefsui.cpp \
tostoragetablespaceui.cpp \
tosyntaxsetupui.cpp \
totemplateaddfileui.cpp \
totemplateeditui.cpp \
totemplatesetupui.cpp \
totoolsettingui.cpp \
totuningoverviewui.cpp \
totuningsettingui.cpp \
toworksheetsetupui.cpp \
$(filter %.qm,$(TRANSLATIONS:%.ts=%.qm)) \
tora_toad.h
# have_oracle conditional. these libraries are not built if oracle is
# not present.
if HAVE_ORACLE
OPTLIB_ORA = libtooracleconnection.la
else
OPTlIB_ORA =
endif
plugins = libtoalert.la \
libtoanalyze.la \
libtobackup.la \
libtobrowser.la \
libtochart.la \
libtocurrent.la \
libtodebug.la \
libtoeditextensions.la \
libtoextract.la \
libtoinvalid.la \
libtooutput.la \
libtopassword.la \
libtoprofiler.la \
libtoproject.la \
libtoqsqlconnection.la \
libtoresult.la \
libtorollback.la \
libtoscript.la \
libtosecurity.la \
libtosession.la \
libtosgatrace.la \
libtosqledit.la \
libtostorage.la \
libtostoragedefinition.la \
libtotemplate.la \
libtotemporary.la \
libtotuning.la \
libtowidget.la \
libtoworksheet.la \
$(OPTLIB_ORA)
if !ENABLE_MONO
lib_LTLIBRARIES = $(plugins)
endif
PFLAGS = -avoid-version -rpath $(libdir) -module -shared
libtoalert_la_LDFLAGS = $(PFLAGS)
libtoalert_la_SOURCES = toalert.cpp toalert.h
libtoanalyze_la_LDFLAGS = $(PFLAGS)
libtoanalyze_la_SOURCES = toanalyze.cpp toanalyze.h \
toworksheetstatistic.cpp toworksheetstatistic.h
libtobackup_la_LDFLAGS = $(PFLAGS)
libtobackup_la_SOURCES = tobackup.cpp tobackup.h \
tobackuptool.cpp tobackuptool.h
libtobrowser_la_LDFLAGS = $(PFLAGS)
libtobrowser_la_SOURCES = tobrowser.cpp tobrowser.h \
tobrowserconstraint.cpp tobrowserconstraint.h \
tobrowserconstraintui.cpp tobrowserconstraintui.h \
tobrowserfilterui.cpp tobrowserfilterui.h \
tobrowserindex.cpp tobrowserindex.h \
tobrowserindexui.cpp tobrowserindexui.h \
tobrowsertable.cpp tobrowsertable.h \
tobrowsertableui.cpp tobrowsertableui.h
libtochart_la_LDFLAGS = $(PFLAGS)
libtochart_la_SOURCES = tobarchart.cpp tobarchart.h \
tochartalarmui.cpp tochartalarmui.h \
tochartmanager.cpp tochartmanager.h \
tochartsetupui.cpp tochartsetupui.h \
tolegendchart.cpp tolegendchart.h \
tolinechart.cpp tolinechart.h \
tolinechartsetupui.cpp tolinechartsetupui.h \
topiechart.cpp topiechart.h \
toresultbar.cpp toresultbar.h \
toresultline.cpp toresultline.h \
toresultpie.cpp toresultpie.h
libtocurrent_la_LDFLAGS = $(PFLAGS)
libtocurrent_la_SOURCES = tocurrent.cpp tocurrent.h
libtodebug_la_LDFLAGS = $(PFLAGS)
libtodebug_la_SOURCES = todebug.cpp todebug.h \
todebugwatch.cpp todebugwatch.h \
todebugtext.cpp todebugtext.h \
todebugchangeui.cpp todebugchangeui.h
libtoeditextensions_la_LDFLAGS = $(PFLAGS)
libtoeditextensions_la_SOURCES = toeditextensions.cpp toeditextensions.h \
toeditextensiongotoui.cpp toeditextensiongotoui.h \
toeditextensionsetupui.cpp toeditextensionsetupui.h
libtoextract_la_LDFLAGS = $(PFLAGS)
libtoextract_la_SOURCES = todatatype.cpp todatatype.h \
toextract.cpp toextract.h \
toreport.cpp toreport.h \
toresultconstraint.cpp toresultconstraint.h \
toresultextract.cpp toresultextract.h
libtoinvalid_la_LDFLAGS = $(PFLAGS)
libtoinvalid_la_SOURCES = toinvalid.cpp toinvalid.h
if HAVE_ORACLE
libtooracleconnection_la_LIBADD = $(ORACLE_LIBS)
libtooracleconnection_la_CXXFLAGS = $(ORACLE_CXXFLAGS) -DOTL_FUNC_THROW_SPEC_ON
libtooracleconnection_la_LDFLAGS = $(PFLAGS) $(ORACLE_LDFLAGS)
libtooracleconnection_la_SOURCES = tooracleconnection.cpp \
tooracleextract.cpp \
tooraclesettingui.cpp tooraclesettingui.h
endif
libtooutput_la_LDFLAGS = $(PFLAGS)
libtooutput_la_SOURCES = tooutput.cpp tooutput.h
libtopassword_la_LDFLAGS = $(PFLAGS)
libtopassword_la_SOURCES = topassword.cpp
libtoprofiler_la_LDFLAGS = $(PFLAGS)
libtoprofiler_la_SOURCES = toprofiler.cpp toprofiler.h
libtoproject_la_LDFLAGS = $(PFLAGS)
libtoproject_la_SOURCES = toproject.cpp toproject.h
libtoqsqlconnection_la_LDFLAGS = $(PFLAGS)
libtoqsqlconnection_la_SOURCES = toqsqlconnection.cpp
libtoresult_la_LDFLAGS = $(PFLAGS)
libtoresult_la_SOURCES = \
toresultcols.cpp toresultcols.h \
toresultcolscomment.cpp toresultcolscomment.h \
toresultcombo.cpp toresultcombo.h \
toresultcontent.cpp toresultcontent.h \
toresultcontentfilterui.cpp toresultcontentfilterui.h \
toresultdepend.cpp toresultdepend.h \
toresultindexes.cpp toresultindexes.h \
toresultlabel.cpp toresultlabel.h \
toresultlock.cpp toresultlock.h \
toresultlong.cpp toresultlong.h \
toresultplan.cpp toresultplan.h \
toresultparam.cpp toresultparam.h \
toresultreferences.cpp toresultreferences.h \
toresultstorage.cpp toresultstorage.h
libtorollback_la_LDFLAGS = $(PFLAGS)
libtorollback_la_SOURCES = torollback.cpp torollback.h \
torollbackdialogui.cpp torollbackdialogui.h
libtoscript_la_LDFLAGS = $(PFLAGS)
libtoscript_la_SOURCES = toscript.cpp toscript.h \
toscriptui.cpp toscriptui.h
libtosecurity_la_LDFLAGS = $(PFLAGS)
libtosecurity_la_SOURCES = tosecurity.cpp tosecurity.h \
tosecurityquotaui.cpp tosecurityquotaui.h \
tosecurityroleui.cpp tosecurityroleui.h \
tosecurityuserui.cpp tosecurityuserui.h
libtosession_la_LDFLAGS = $(PFLAGS)
libtosession_la_SOURCES = tosession.cpp tosession.h
libtosgatrace_la_LDFLAGS = $(PFLAGS)
libtosgatrace_la_SOURCES = tosgatrace.cpp tosgatrace.h
libtosqledit_la_LDFLAGS = $(PFLAGS)
libtosqledit_la_SOURCES = tosqledit.cpp tosqledit.h
libtostorage_la_LDFLAGS = $(PFLAGS)
libtostorage_la_SOURCES = tostorage.cpp tostorage.h \
tostoragedatafileui.cpp tostoragedatafileui.h \
tostoragedialogui.cpp tostoragedialogui.h \
tostorageprefsui.cpp tostorageprefsui.h \
tostoragetablespaceui.cpp tostoragetablespaceui.h
libtostoragedefinition_la_LDFLAGS = $(PFLAGS)
libtostoragedefinition_la_SOURCES = tostoragedefinition.cpp tostoragedefinition.h \
tostoragedefinitionui.cpp tostoragedefinitionui.h
libtotemplate_la_LDFLAGS = $(PFLAGS)
libtotemplate_la_SOURCES = totemplate.cpp totemplate.h \
totemplateaddfileui.cpp totemplateaddfileui.h \
totemplateeditui.cpp totemplateeditui.h \
totemplatesetupui.cpp totemplatesetupui.h
libtotemporary_la_LDFLAGS = $(PFLAGS)
libtotemporary_la_SOURCES = totemporary.cpp totemporary.h
libtotuning_la_LDFLAGS = $(PFLAGS)
libtotuning_la_SOURCES = totuning.cpp totuning.h \
totuningoverviewui.cpp totuningoverviewui.h \
totuningsettingui.cpp totuningsettingui.h
libtowidget_la_LDFLAGS = $(PFLAGS)
libtowidget_la_SOURCES = tochangeconnection.cpp tochangeconnection.h \
tofilesize.cpp tofilesize.h \
tosgastatement.cpp tosgastatement.h \
totableselect.cpp totableselect.h \
tovisualize.cpp tovisualize.h \
towaitevents.cpp towaitevents.h
libtoworksheet_la_LDFLAGS = $(PFLAGS)
libtoworksheet_la_SOURCES = toworksheet.cpp toworksheet.h \
toworksheetsetupui.cpp toworksheetsetupui.h
.ui.h:
$(UIC) -o $@ $<
%.cpp: %.h %.ui
$(UIC) -o $@ -i $^
.h.moc:
$(MOC) -o $@ $<
.ts.qm:
@if ! test -d i18n; then mkdir i18n; echo "create i18n"; fi
$(LRELEASE) $< -qm $@
clean-local:
rm -f *.moc
for file in `ls *.ui`; do \
rm -f `echo $$file | sed 's/\.ui/\.cpp/g'`; \
rm -f `echo $$file | sed 's/\.ui/\.h/g'`; \
done
tora_toad.h: i18n/tora_toad.qm
$(top_builddir)/utils/chex/chex $< > $@
tora.pro: Makefile.am
echo "# Not indended to be used for anything except lupdate" > tora.pro
echo 'SOURCES= \ ' >> tora.pro
echo ' main.cpp \ ' >> tora.pro
echo ' toextratranslations.cpp \ ' >> tora.pro
echo " $(tora_SOURCES)" >> tora.pro
echo 'TRANSLATIONS=$(TRANSLATIONS)' >> tora.pro
lupdate: tora.pro
$(LUPDATE) tora.pro
lrelease: tora.pro $(TRANSLATIONS)
$(LRELEASE) tora.pro
install-data-hook:
cp -f $(top_builddir)/src/i18n/*.qm $(DESTDIR)$(libdir)
|