# set the include path for X, qt and KDE INCLUDES = $(all_includes) # these are the headers for your project noinst_HEADERS = kovpn.h traywindow.h kovpnconfig.h prefopenvpn.h prefgeneral.h \ openvpnmanager.h authmanager.h prefovpnressource.h kovpnconfigdialog.h logwidget.h \ infopopup.h configwizard.h bufferedsocket.h aboutdata.h dcopInterface.h \ kovpninterface.h # let automoc handle all of the meta source files (moc) METASOURCES = AUTO messages: rc.cpp $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp $(XGETTEXT) *.cpp -o $(podir)/kovpn.pot KDE_ICON = AUTO ######################################################################### # APPLICATION SECTION ######################################################################### # this is the program that gets installed. it's name is used for all # of the other Makefile.am variables bin_PROGRAMS = kovpn kovpnsetup # the application source, library search path, and link libraries kovpn_SOURCES = main.cpp kovpn.cpp kovpnwidget.cpp kovpnwidgetbase.ui \ traywindow.cpp kovpnconfig.cpp prefopenvpn.cpp prefgenerallayout.ui prefgeneral.cpp \ openvpnmanager.cpp authmanager.cpp prefovpnressource.cpp prefovpnressourcelayout.ui \ kovpnconfigdialog.cpp logwidgetbase.ui logwidget.cpp infopopupbase.ui infopopup.cpp \ prefopenvpnlayout.ui bufferedsocket.cpp aboutdata.cpp dcopInterface.skel kovpninterface.cpp kovpn_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lkwalletclient kovpn_LDADD = $(LIB_KIO) $(LIB_KDEUI) -lkwalletclient # this is where the desktop file will go shelldesktopdir = $(kde_appsdir)/Utilities shelldesktop_DATA = kovpn.desktop # this is where the shell's XML-GUI resource file goes shellrcdir = $(kde_datadir)/kovpn shellrc_DATA = kovpnui.rc kovpnsetup_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lkwalletclient kovpnsetup_SOURCES = configWizardBase.ui kovpnconfig.cpp kovpnconfig.h \ kovpnsetup.cpp configwizard.cpp authmanager.cpp authmanager.h kovpnsetup_LDADD = $(LIB_KIO) $(LIB_KDEUI)