### Makefile.am for KPilot ### ### This is a bit of a mess, but that's partly because we build two ### executables and one library from the sources in this dir. ### ### ### SUBDIRS = Icons noinst_LTLIBRARIES = libconfiguration.la noinst_PROGRAMS = kpilotTest bin_PROGRAMS = kpilot kpilotDaemon kde_module_LTLIBRARIES = kcm_kpilot.la METASOURCES = AUTO INCLUDES= $(PISOCK_INCLUDE) -I$(top_srcdir)/lib $(all_includes) libconfiguration_la_SOURCES = kpilotConfig.cpp kpilotSettings.kcfgc libconfiguration_la_LDFLAGS = $(PISOCK_LDFLAGS) $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kcm_kpilot_la_SOURCES = pilotDaemonDCOP.stub kpilotConfigDialog.cpp \ kpilotConfigDialog_device.ui \ kpilotConfigDialog_sync.ui \ kpilotConfigDialog_startup.ui \ kpilotConfigDialog_viewers.ui \ kpilotConfigDialog_backup.ui \ conduitConfigDialog.cpp \ kpilotProbeDialog.cpp \ kpilotConfigWizard_address.kcfgc \ kpilotConfigWizard_notes.kcfgc \ kpilotConfigWizard_vcal.kcfgc \ kpilotConfigWizard_user.ui \ kpilotConfigWizard_app.ui \ kpilotConfigWizard.cpp \ dbSelectionDialog.cpp dbSelection_base.ui kcm_kpilot_la_LDFLAGS = $(PISOCK_LDFLAGS) $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -module -avoid-version -no-undefined kcm_kpilot_la_LIBADD = $(LIB_TDEFILE) $(PISOCK_LIB) \ ../lib/libkpilot.la \ libconfiguration.la kpilot_SOURCES = \ pilotDaemonDCOP.stub kpilotDCOP.skel loggerDCOP.skel \ kpilot.cpp \ pilotComponent.cpp logWidget.cpp memoWidget.cpp \ addressWidget.cpp addressEditor.cpp \ dbviewerWidget.cpp dbFlagsEditor.cpp dbFlagsEditor_base.ui \ dbRecordEditor.cpp dbAppInfoEditor.cpp \ datebookWidget.cpp \ todoWidget.cpp todoEditor.cpp todoEditor_base.ui \ fileInstaller.cpp fileInstallWidget.cpp \ listItems.cpp kpilot_COMPILE_FIRST = kpilotSettings.h kpilotDaemon_SOURCES = \ pilotDaemonDCOP.skel kpilotDCOP.stub loggerDCOP.stub loggerDCOP.skel \ pilotDaemon.cpp logFile.cpp \ hotSync.cpp internalEditorAction.cpp \ fileInstaller.cpp kpilotTest_SOURCES = \ logWidget.cpp pilotComponent.cpp \ hotSync.cpp internalEditorAction.cpp \ loggerDCOP.skel \ main-test.cpp kpilot_LDFLAGS = $(PISOCK_LDFLAGS) $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kpilotDaemon_LDFLAGS = $(PISOCK_LDFLAGS) $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kpilotTest_LDFLAGS = $(PISOCK_LDFLAGS) $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor # the libraries to link against. Be aware of the order. First the libraries, # that depend on the following ones. kpilot_LDADD = $(LIB_TDEFILE) $(PISOCK_LIB) -ltdeutils \ ../lib/libkpilot.la libconfiguration.la kpilotDaemon_LDADD = $(LIB_TDEFILE) $(PISOCK_LIB) \ ../lib/libkpilot.la libconfiguration.la kpilotTest_LDADD = $(LIB_TDEFILE) $(PISOCK_LIB) \ ../lib/libkpilot.la libconfiguration.la xdg_apps_DATA = kpilot.desktop kpilotdaemon.desktop kde_kcfg_DATA = kpilot.kcfg kde_services_DATA = kpilot_config.desktop servicetypedir = $(kde_servicetypesdir) servicetype_DATA = kpilotconduit.desktop rcdir = $(kde_datadir)/kpilot rc_DATA = kpilotui.rc update_DATA = kpilot.upd updatedir = $(kde_datadir)/tdeconf_update DOXYGEN_REFERENCES = tdeui kpilot/lib include $(top_srcdir)/admin/Doxyfile.am ### Some additional dependencies: kpilotConfigDialog.lo : kpilotSettings.h