summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/src/Makefile.am
blob: 35271129b1f46c8a7e99b182e7d3019343c6cf2a (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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
SUBDIRS = dbus

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

# headers to install
include_HEADERS = knetworkmanager-plugin.h \
                  knetworkmanager-vpnplugin.h

# these are the headers for your project
noinst_HEADERS = knetworkmanager.h \
                 knetworkmanager-tray.h \
                 knetworkmanager-hal_device_proxy.h \
                 knetworkmanager-nm_proxy.h \
                 knetworkmanager-device.h \
                 knetworkmanager-wired_device.h \
                 knetworkmanager-vpn_device.h \
                 knetworkmanager-vpn_plugin.h \
                 knetworkmanager-gsm_device.h \
                 knetworkmanager-cdma_device.h \
                 knetworkmanager-cellular_device.h \
                 knetworkmanager-wireless_device.h \
                 knetworkmanager-devicestore.h \
                 knetworkmanager-cellular_device_tray.h \
                 knetworkmanager-device_tray.h \
                 knetworkmanager-wired_device_tray.h \
                 knetworkmanager-wireless_device_tray.h \
                 knetworkmanager-accesspoint.h \
                 knetworkmanager-wireless_menuitem.h \
                 knetworkmanager-menuitem.h \
                 knetworkmanager-menu_subhead.h \
                 knetworkmanager-connection_setting.h \
                 knetworkmanager-connection_setting_info.h \
                 knetworkmanager-connection_setting_ipv4.h \
                 knetworkmanager-connection_setting_wired.h \
                 knetworkmanager-connection_setting_wireless.h \
                 knetworkmanager-connection_setting_wireless_security.h \
                 knetworkmanager-connection_setting_8021x.h \
                 knetworkmanager-connection_setting_vpn.h \
                 knetworkmanager-connection_setting_serial.h \
                 knetworkmanager-connection_setting_cdma.h \
                 knetworkmanager-connection_setting_gsm.h \
                 knetworkmanager-connection_setting_ppp.h \
                 knetworkmanager-ppp_connection.h \
                 knetworkmanager-cdma_connection.h \
                 knetworkmanager-gsm_connection.h \
                 knetworkmanager-wired_connection.h \
                 knetworkmanager-vpn_connection.h \
                 knetworkmanager-wireless_connection.h \
                 knetworkmanager-generic_connection.h \
                 knetworkmanager-connection.h \
                 knetworkmanager-connection_dbus.h \
                 knetworkmanager-connection_secrets_dbus.h \
                 knetworkmanager-connection_store.h \
                 knetworkmanager-connection_setting_gsm_widget.h \
                 knetworkmanager-connection_setting_cdma_widget.h \
                 knetworkmanager-connection_setting_info_widget.h \
                 knetworkmanager-connection_setting_ipv4_widget.h \
                 knetworkmanager-connection_setting_ppp_widget.h \
                 knetworkmanager-connection_setting_serial_widget.h \
                 knetworkmanager-connection_setting_widget_interface.h \
                 knetworkmanager-connection_setting_wireless_security_widget.h \
                 knetworkmanager-connection_setting_wireless_widget.h \
                 knetworkmanager-connection_setting_vpn_widget.h \
                 knetworkmanager-connection_setting_widget_interface.h \
                 knetworkmanager-nmsettings.h \
                 sha1.h \
                 md5.h \
                 xmlmarshaller.h \
                 knetworkmanager-storage.h \
                 knetworkmanager-wireless_network.h \
                 knetworkmanager-wireless_manager.h \
                 knetworkmanager-connection_editor.h \
                 knetworkmanager-plugin.h \
                 knetworkmanager-vpnplugin.h \
                 knetworkmanager-pluginmanager.h \
                 knetworkmanager-vpnservice.h \
                 knetworkmanager-vpnmanager.h \
                 knetworkmanager-vpnauthenticationdialog.h \
                 devicetraycomponent.h \
                 traycomponent.h \
                 vpn_tray_component.h \
                 secret_storage_plugin.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/knetworkmanager.pot

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS =
lib_LTLIBRARIES =
kdeinit_LTLIBRARIES = knetworkmanager.la

KDE_CXXFLAGS = -UQT_NO_ASCII_CAST ${LIBNMUTIL_CFLAGS}

# the application source, library search path, and link libraries
knetworkmanager_la_SOURCES = connection_setting_info.ui \
                             connection_setting_wireless_security_wep.ui \
                             connection_setting_gsm.ui \
                             connection_setting_cdma.ui \
                             connection_setting_ipv4.ui \
                             connection_setting_ppp.ui \
                             connection_setting_serial.ui \
                             connection_setting_wireless_security_wpacipher.ui \
                             connection_setting_wireless_security_eap.ui \
                             connection_setting_wireless_security_wpapsk.ui \
                             connection_setting_wireless_security_phase2.ui \
                             connection_setting_wireless_security_wpaversion.ui \
                             connection_setting_wireless_security.ui \
                             connection_setting_wireless.ui \
                             connection_setting_wireless_security_wepencryption.ui \
                             connection_settings.ui \
                             connection_setting_wireless_security_auth.ui \
                             connection_setting_vpn.ui \
                             connection_editor.ui \
                             vpnauthentication.ui \
                             main.cpp \
                             knetworkmanager.cpp \
                             knetworkmanager-tray.cpp \
                             knetworkmanager-hal_device_proxy.cpp \
                             knetworkmanager-nm_proxy.cpp \
                             knetworkmanager-device.cpp \
                             knetworkmanager-cdma_device.cpp \
                             knetworkmanager-cellular_device.cpp \
                             knetworkmanager-gsm_device.cpp \
                             knetworkmanager-wired_device.cpp \
                             knetworkmanager-vpn_device.cpp \
                             knetworkmanager-vpn_plugin.cpp \
                             knetworkmanager-wireless_device.cpp \
                             knetworkmanager-devicestore.cpp \
                             knetworkmanager-cellular_device_tray.cpp \
                             knetworkmanager-device_tray.cpp \
                             knetworkmanager-wired_device_tray.cpp \
                             knetworkmanager-wireless_device_tray.cpp \
                             knetworkmanager-accesspoint.cpp \
                             knetworkmanager-wireless_menuitem.cpp \
                             knetworkmanager-menuitem.cpp \
                             knetworkmanager-menu_subhead.cpp \
                             knetworkmanager-connection_setting.cpp \
                             knetworkmanager-connection_setting_info.cpp \
                             knetworkmanager-connection_setting_ipv4.cpp \
                             knetworkmanager-connection_setting_wired.cpp \
                             knetworkmanager-connection_setting_wireless.cpp \
                             knetworkmanager-connection_setting_wireless_security.cpp \
                             knetworkmanager-connection_setting_8021x.cpp \
                             knetworkmanager-connection_setting_vpn.cpp \
                             knetworkmanager-connection_setting_serial.cpp \
                             knetworkmanager-connection_setting_cdma.cpp \
                             knetworkmanager-connection_setting_gsm.cpp \
                             knetworkmanager-connection_setting_ppp.cpp \
                             knetworkmanager-connection_dbus.cpp \
                             knetworkmanager-connection_secrets_dbus.cpp \
                             knetworkmanager-connection.cpp \
                             knetworkmanager-generic_connection.cpp \
                             knetworkmanager-cdma_connection.cpp \
                             knetworkmanager-gsm_connection.cpp \
                             knetworkmanager-ppp_connection.cpp \
                             knetworkmanager-wireless_connection.cpp \
                             knetworkmanager-wired_connection.cpp \
                             knetworkmanager-vpn_connection.cpp \
                             knetworkmanager-connection_store.cpp \
                             knetworkmanager-connection_setting_cdma_widget.cpp \
                             knetworkmanager-connection_setting_gsm_widget.cpp \
                             knetworkmanager-connection_setting_info_widget.cpp \
                             knetworkmanager-connection_setting_ipv4_widget.cpp \
                             knetworkmanager-connection_setting_ppp_widget.cpp \
                             knetworkmanager-connection_setting_serial_widget.cpp \
                             knetworkmanager-connection_setting_wireless_security_widget.cpp \
                             knetworkmanager-connection_setting_wireless_widget.cpp \
                             knetworkmanager-connection_setting_vpn_widget.cpp \
                             knetworkmanager-connection_settings_dialog.cpp  \
                             knetworkmanager-connection_setting_widget_interface.cpp  \
                             knetworkmanager-nmsettings.cpp \
                             sha1.cpp \
                             md5.cpp \
                             xmlmarshaller.cpp \
                             knetworkmanager-storage.cpp \
                             knetworkmanager-wireless_network.cpp \
                             knetworkmanager-wireless_manager.cpp \
                             knetworkmanager-connection_editor.cpp \
                             knetworkmanager-plugin.cpp \
                             knetworkmanager-vpnplugin.cpp \
                             knetworkmanager-pluginmanager.cpp \
                             knetworkmanager-vpnservice.cpp \
                             knetworkmanager-vpnmanager.cpp \
                             knetworkmanager-vpnauthenticationdialog.cpp \
                             devicetraycomponent.cpp \
                             traycomponent.cpp \
                             vpn_tray_component.cpp \
                             secret_storage_plugin.cpp

knetworkmanager_la_LDFLAGS = -module \
	$(KDE_RPATH) \
	$(all_libraries) \
	$(KDE_PLUGIN) 

knetworkmanager_la_LIBADD = dbus/libknm_dbus.la \
	$(PACKAGE_LIBS) \
	$(LIB_KDEUI) \
	$(LIB_KUTILS) \
	$(LIB_KWALLETCLIENT) \
	$(LIB_KDEUI) 

# this is where the desktop file will go 
xdg_apps_DATA = knetworkmanager.desktop

mydatadir    = $(kde_datadir)/knetworkmanager
mydata_DATA  = eventsrc

servicetype_DATA = knetworkmanager_plugin.desktop knetworkmanager_vpnplugin.desktop
servicetypedir = $(kde_servicetypesdir)

EXTRA_DIST = $(xdg_apps_DATA) $(mydata_DATA) $(servicetype_DATA)