summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/vpn-plugins/pptp/src/Makefile.am.automake
blob: 2c8f5b0cb26bfb421c923667a1b92b45014e0dec (plain)
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
INCLUDES = $(PACKAGE_CFLAGS) $(all_includes) 

# rule for creating tqmoc files
%.tqmoc.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.tqmoc.cpp \
	vpncauth.tqmoc.cpp \
	vpncprop.tqmoc.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_KDEUI) $(LIB_KDECORE) $(LIB_QT)

service_DATA = knetworkmanager_vpnc.desktop
servicedir = $(kde_servicesdir)

CLEANFILES = $(all_TQMOC) $(all_METASOURCES)