Makefile.am 1.3 KB

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