summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 230a0865cb669e744467a6ff9ddc25b135d1d882 (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
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
bin_PROGRAMS = kvpnc

kvpnc_SOURCES = addnetworkroutedialog.cpp addnetworkroutedialogbase.ui \
	ciscocertificateenrollment.cpp ciscocertificateenrollmentbase.ui \
	ciscocertificateenrollmentdatadialog.cpp ciscocertificateenrollmentdatadialogbase.ui \
	ciscocertificateenrollmentfinishwidgetbase.ui ciscopasswddecoder.cpp configconnectoptions.cpp \
	configconnectoptionsbase.ui configdaemonoptions.cpp configdaemonoptionsbase.ui \
	configdebugoptions.cpp configdebugoptionsbase.ui configgeneraloptions.ui \
	confighelperprogramoptions.cpp confighelperprogramoptionsbase.ui configlogoptions.cpp \
	configlogoptionsbase.ui debugoutputtextedit.cpp displaycertdialog.cpp displaycertdialogbase.ui \
	enterpassworddialog.cpp enterpassworddialogbase.ui enterxauthinteractivepasscodedialog.cpp \
	enterxauthinteractivepasscodedialogbase.ui generateopenvpnkeydialog.cpp generateopenvpnkeydialogbase.ui \
	helpdialog.cpp helpdialogbase.ui importcertificatedialog.cpp \
	importcertificatedialogbase.ui importipsecprofiledialog.cpp importopenvpnprofiledialog.cpp \
	importopenvpnprofiledialogbase.ui importprofiledialog.cpp importprofiledialogbase.ui kfeedback.cpp \
	kfeedback.h kvpnc.cpp kvpnc.skel kvpncconfig.cpp \
	kvpncimportprofileselectiondialog.cpp kvpncimportprofileselectiondialogbase.ui kvpnckicker.cpp \
	listviewtooltip.cpp logviewerdialog.cpp logviewerdialogbase.ui main.cpp mainview.cpp \
	mainviewbase.ui manageciscocert.cpp manageciscocertbase.ui networkinterface.cpp \
	newprofiledialog.cpp newprofiledialogbase.ui newprofilewizard.cpp newprofilewizard.h \
	newprofilewizardauthselection.ui newprofilewizardcert.ui newprofilewizardciscomanually.ui \
	newprofilewizardciscoselection.ui newprofilewizardconnectionstatuscheck.ui \
	newprofilewizardconnectoptions.ui newprofilewizardfreeswan.ui newprofilewizardgeneral.ui \
	newprofilewizardnat.ui newprofilewizardnetwork.ui newprofilewizardnetworkroute.ui \
	newprofilewizardopenvpn.ui newprofilewizardopenvpnauth.ui newprofilewizardopenvpnselection.ui \
	newprofilewizardp12certselection.ui newprofilewizardpptp.ui newprofilewizardpsk.ui \
	newprofilewizardracoon.ui newprofilewizardstart.ui newprofilewizardtypeselection.ui \
	newprofilewizarduser.ui openvpnmanagementhandler.cpp openvpnmanagementhandler.h \
	preferencesdialog.cpp profilecertoptions.cpp profilecertoptionsbase.ui \
	profileciscooptions.cpp profileciscooptionsbase.ui profilecmdexecafterconnectoptions.cpp \
	profilecmdexecafterconnectoptionsbase.ui profilecmdexecafterdisconnectoptions.cpp \
	profilecmdexecafterdisconnectoptionsbase.ui profilecmdexecbeforeconnectoptions.cpp \
	profilecmdexecbeforeconnectoptionsbase.ui profilecmdexecbeforedisconnectoptions.cpp \
	profilecmdexecbeforedisconnectoptionsbase.ui profilegeneraloptions.cpp profilegeneraloptionsbase.ui \
	profileipsecoptions.cpp profileipsecoptionsbase.ui profilenetworkgeneraloptions.cpp \
	profilenetworkgeneraloptions.h profilenetworkgeneraloptionsbase.ui profilenetworkhttpproxyoptions.cpp \
	profilenetworkhttpproxyoptionsbase.ui profilenetworknatoptions.cpp profilenetworknatoptions.h \
	profilenetworknatoptionsbase.ui profilenetworkrouteoptions.cpp profilenetworkrouteoptionsbase.ui \
	profilenetworkvirtualipoptions.cpp profilenetworkvirtualipoptionsbase.ui profileopenvpnoptions.cpp \
	profileopenvpnoptionsbase.ui profilepptpoptions.cpp profilepptpoptionsbase.ui profilepskoptions.cpp \
	profilepskoptionsbase.ui profileracoonoptions.cpp profileracoonoptionsbase.ui \
	profilesmartcardoptions.cpp profilesmartcardoptionsbase.ui profilesshoptions.cpp \
	profilesshoptionsbase.ui profileuseroptions.cpp profileuseroptionsbase.ui profilevtunoptions.cpp \
	profilevtunoptionsbase.ui toolinfo.cpp toolsinfodialog.cpp toolsinfowidgetbase.ui utils.cpp \
	vpnaccountdata.cpp vpntypesinfodialog.cpp widgetnotifyhelper.cpp


kvpnc_METASOURCES = AUTO

#CXXFLAGS =  $(libgcrypt-config --libs --cflags)

kvpnc_LDADD   = $(LIB_KFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) $(LIBSOCKET) -lgcrypt -ltdewalletclient -lDCOP



EXTRA_DIST = main.cpp kvpnc.cpp kvpnc.h kvpnc.desktop preferencesdialog.cpp kvpncui.rc kvpnckicker.cpp kvpnckicker.h eventsrc klpreferencesdlg.h


install-data-local:
	$(mkinstalldirs) $(kde_appsdir)/
	$(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(kde_appsdir)/kvpnc.desktop
	$(mkinstalldirs) $(kde_datadir)/kvpnc/
	$(INSTALL_DATA) $(srcdir)/kvpncui.rc $(kde_datadir)/kvpnc/kvpncui.rc
	$(mkinstalldirs) $(kde_datadir)/kvpnc/
	$(INSTALL_DATA) $(srcdir)/eventsrc $(kde_datadir)/kvpnc/eventsrc
	$(INSTALL_DATA) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
	$(INSTALL_DATA) $(srcdir)/newprofilewizard.png $(kde_datadir)/kvpnc/newprofilewizard.png
	$(INSTALL_DATA) $(srcdir)/newprofilewizard_final.png $(kde_datadir)/kvpnc/newprofilewizard_final.png
#	$(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop
#	$(INSTALL_DATA) $(srcdir)/x-openvpn.desktop $(kde_mimedir)/application/x-openvpn.desktop
	$(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kvpnc/
	$(INSTALL_DATA) $(srcdir)/pcf.protocol $(DESTDIR)$(kde_datadir)/kvpnc/pcf.protocol
	$(INSTALL_DATA) $(srcdir)/ovpn.protocol $(DESTDIR)$(kde_datadir)/kvpnc/ovpn.protocol

# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.kdelnk) should go to.
# kde_icondir       Where your icon should go to.
# kde_minidir       Where your mini icon should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

METASOURCES = AUTO


SUBDIRS = icons

# the library search path.
kvpnc_LDFLAGS = $(all_libraries) $(KDE_RPATH) 

# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE
rcdir = $(kde_datadir)/kvpnc


#WARNING: if you use a ui.rc file above, use:

# messages: rc.cpp

# instead of

# messages:

messages: rc.cpp
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
		$(XGETTEXT) -C -ki18n $$LIST -o ../po/kvpnc.pot; \
	fi

noinst_HEADERS = addnetworkroutedialog.h addnetworkroutedialogbase.h \
	ciscocertificateenrollment.h ciscocertificateenrollmentdatadialog.h configconnectoptionsbase.h \
	configdaemonoptions.h configdaemonoptionsbase.h configdebugoptions.h configdebugoptionsbase.h \
	confighelperprogramoptions.h confighelperprogramoptionsbase.h configlogoptions.h \
	configlogoptionsbase.h debugoutputtextedit.h displaycertdialog.h enterpassworddialog.h \
	enterpassworddialogbase.h enterxauthinteractivepasscodedialogbase.h generateopenvpnkeydialog.h \
	generateopenvpnkeydialogbase.h helpdialogbase.h importcertificatedialog.h \
	importcertificatedialogbase.h importipsecprofiledialog.h importopenvpnprofiledialog.h \
	importopenvpnprofiledialogbase.h importprofiledialogbase.h kvpncconfig.h \
	kvpncimportprofileselectiondialog.h kvpncimportprofileselectiondialogbase.h listviewtooltip.h \
	logviewerdialog.h logviewerdialogbase.h mainview.h mainviewbase.h manageciscocert.h \
	networkinterface.h newprofiledialog.h newprofiledialogbase.h newprofilewizard.h \
	openvpnmanagementhandler.h preferencesdialog.h profilecertoptions.h profilecertoptionsbase.h \
	profileciscooptionsbase.h profilecmdexecafterconnectoptions.h \
	profilecmdexecafterconnectoptionsbase.h profilecmdexecafterdisconnectoptions.h \
	profilecmdexecafterdisconnectoptionsbase.h profilecmdexecbeforeconnectoptions.h \
	profilecmdexecbeforeconnectoptionsbase.h profilecmdexecbeforedisconnectoptions.h \
	profilecmdexecbeforedisconnectoptionsbase.h profilegeneraloptions.h profilegeneraloptionsbase.h \
	profileipsecoptions.h profileipsecoptionsbase.h profilenetworkgeneraloptions.h \
	profilenetworkgeneraloptionsbase.h profilenetworkhttpproxyoptions.h profilenetworknatoptions.h \
	profilenetworknatoptionsbase.h profilenetworkrouteoptions.h profilenetworkrouteoptionsbase.h \
	profilenetworkvirtualipoptions.h profilenetworkvirtualipoptionsbase.h profileopenvpnoptions.h \
	profileopenvpnoptionsbase.h profilepptpoptions.h profilepptpoptionsbase.h profilepskoptions.h \
	profilepskoptionsbase.h profileracoonoptions.h profileracoonoptionsbase.h \
	profilesmartcardoptions.h profilesshoptions.h profilesshoptionsbase.h profileuseroptions.h \
	profileuseroptionsbase.h profilevtunoptions.h toolinfo.h toolsinfodialog.h toolsinfowidgetbase.h \
	utils.h vpnaccountdata.h vpntypesinfodialog.h widgetnotifyhelper.h