Do not treat space as separator for multiple remote gateway entries (bug 712710)
[network-manager-openvpn.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 SUBDIRS = common src
4
5 if WITH_GNOME
6 SUBDIRS += auth-dialog properties po
7 endif
8
9 dbusservicedir = $(sysconfdir)/dbus-1/system.d
10 dbusservice_DATA = nm-openvpn-service.conf
11
12 nmvpnservicedir = $(sysconfdir)/NetworkManager/VPN
13 nmvpnservice_DATA = nm-openvpn-service.name
14
15 desktopfile = nm-openvpn.desktop.in
16 iconfile = gnome-mime-application-x-openvpn-settings.png
17
18 if WITH_GNOME
19 # FIXME: uncomment when nmce gets --import support
20 #desktopdir = $(datadir)/applications
21 #desktop_in_files = $(desktopfile)
22 #desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
23 #@INTLTOOL_DESKTOP_RULE@
24
25 #icondir = $(datadir)/icons/hicolor/48x48/apps
26 #icon_DATA = $(iconfile)
27 endif
28
29 nm-openvpn-service.name: $(srcdir)/nm-openvpn-service.name.in
30         sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' \
31             -e 's|[@]PLUGINDIR[@]|$(libdir)/NetworkManager|g' \
32             $< >$@
33
34 DISTCHECK_CONFIGURE_FLAGS = \
35         --with-tests=yes \
36         --enable-more-warnings=yes
37
38 EXTRA_DIST = nm-openvpn-service.name.in \
39              $(dbusservice_DATA)  \
40              $(desktopfile) \
41              $(iconfile) \
42              intltool-extract.in  \
43              intltool-merge.in    \
44              intltool-update.in \
45              nm-test-helpers.h
46
47 CLEANFILES = $(nmvpnservice_DATA) $(desktop_DATA) *~
48 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
49
50 ACLOCAL_AMFLAGS = -I m4