INCLUDES = $(PACKAGE_CFLAGS) $(all_includes) # rule for creating moc files %.moc.cpp: %.h $(TQMOC) -o $@ $< # rules for creating .h and .cpp from .ui %.cpp: %.ui %.h $(UIC) -tr tr2i18n -pch klocale.h -o $@ -impl $*.h $< %.h: %.ui $(UIC) -o $@ $< all_TQMOC = knetworkmanager-vpnc.moc.cpp \ vpncauth.moc.cpp \ vpncprop.moc.cpp all_METASOURCES = vpncauth.cpp \ vpncprop.cpp all_IMPLEMENTATIONS = knetworkmanager-vpnc.cpp kde_module_LTLIBRARIES = knetworkmanager_vpnc.la knetworkmanager_vpnc_la_SOURCES = $(all_METASOURCES) $(all_TQMOC) $(all_IMPLEMENTATIONS) noinst_HEADERS = knetworkmanager-vpnc.h knetworkmanager_vpnc_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) knetworkmanager_vpnc_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) service_DATA = knetworkmanager_vpnc.desktop servicedir = $(kde_servicesdir) CLEANFILES = $(all_TQMOC) $(all_METASOURCES)