2 AM_MAKEFLAGS = --no-print-directory
6 includedir = @includedir@/connman
8 include_HEADERS = include/log.h include/plugin.h \
9 include/notifier.h include/service.h \
10 include/resolver.h include/ipconfig.h \
11 include/device.h include/network.h include/inet.h \
12 include/storage.h include/provision.h \
13 include/session.h include/ipaddress.h include/agent.h \
14 include/inotify.h include/peer.h include/machine.h \
15 include/acd.h include/tethering.h
17 if TIZEN_EXT_WIFI_MESH
18 include_HEADERS += include/mesh.h include/mesh-netlink.h
21 nodist_include_HEADERS = include/version.h
23 noinst_HEADERS = include/rtnl.h include/task.h \
24 include/dbus.h include/option.h \
25 include/provider.h include/vpn-dbus.h \
26 include/utsname.h include/timeserver.h include/proxy.h \
27 include/technology.h include/setting.h \
30 local_headers = $(foreach file,$(include_HEADERS) $(nodist_include_HEADERS) \
31 $(noinst_HEADERS), include/connman/$(notdir $(file)))
34 noinst_LTLIBRARIES += gdbus/libgdbus-internal.la
36 gdbus_libgdbus_internal_la_SOURCES = gdbus/gdbus.h \
37 gdbus/mainloop.c gdbus/watch.c \
38 gdbus/object.c gdbus/client.c gdbus/polkit.c
41 backtrace_sources = src/backtrace.c
44 gdhcp_sources = gdhcp/gdhcp.h gdhcp/common.h gdhcp/common.c gdhcp/client.c \
45 gdhcp/server.c gdhcp/ipv4ll.h gdhcp/ipv4ll.c gdhcp/unaligned.h
47 gweb_sources = gweb/gweb.h gweb/gweb.c gweb/gresolv.h gweb/gresolv.c
50 gweb_sources += gweb/giognutls.h gweb/giognutls.c
52 gweb_sources += gweb/giognutls.h gweb/gionotls.c
56 stats_sources = src/stats.c
58 stats_sources = src/nostats.c
61 shared_sources = src/shared/util.h src/shared/util.c \
62 src/shared/netlink.h src/shared/netlink.c \
63 src/shared/arp.h src/shared/arp.c
68 nmcompat_conf = plugins/connman-nmcompat.conf
71 dbusconfdir = @DBUS_CONFDIR@
73 dbusconf_DATA = src/connman.conf $(nmcompat_conf)
76 dbusconf_DATA += vpn/connman-vpn-dbus.conf
77 dbusservicedir = @DBUS_DATADIR@
78 dbusservice_DATA = vpn/net.connman.vpn.service
81 systemdunitdir = @SYSTEMD_UNITDIR@
82 systemdunit_DATA = src/connman.service vpn/connman-vpn.service
86 service_files_sources = src/connman.service.in src/net.connman.service.in \
87 vpn/connman-vpn.service.in \
88 vpn/net.connman.vpn.service.in
89 service_files = src/connman.service src/net.connman.service \
90 vpn/connman-vpn.service \
91 vpn/net.connman.vpn.service
96 systemdunitdir = @SYSTEMD_UNITDIR@
97 systemdunit_DATA = src/connman.service
101 service_files_sources = src/connman.service.in src/net.connman.service.in
102 service_files = src/connman.service src/net.connman.service
117 bin_PROGRAMS = src/connmand
129 sbin_PROGRAMS = src/connmand src/connmand-wait-online
132 src_connmand_SOURCES = $(gdhcp_sources) $(gweb_sources) $(stats_sources) \
133 $(backtrace_sources) $(builtin_sources) $(shared_sources) \
134 src/connman.ver src/main.c src/connman.h src/log.c \
135 src/error.c src/plugin.c src/task.c \
136 src/device.c src/network.c src/connection.c \
137 src/manager.c src/service.c \
138 src/clock.c src/timezone.c src/agent-connman.c \
139 src/agent.c src/notifier.c src/provider.c \
140 src/resolver.c src/ipconfig.c src/detect.c src/inet.c \
141 src/dhcp.c src/dhcpv6.c src/rtnl.c src/proxy.c \
142 src/utsname.c src/timeserver.c src/rfkill.c \
143 src/storage.c src/dbus.c src/config.c \
144 src/technology.c src/counter.c src/ntp.c \
145 src/session.c src/tethering.c src/wpad.c src/wispr.c \
146 src/6to4.c src/ippool.c src/bridge.c src/nat.c \
147 src/ipaddress.c src/inotify.c src/ipv6pd.c src/peer.c \
148 src/peer_service.c src/machine.c src/util.c \
151 if INTERNAL_DNS_BACKEND
152 src_connmand_SOURCES += src/dnsproxy.c
154 if SYSTEMD_RESOLVED_DNS_BACKEND
155 src_connmand_SOURCES += src/dns-systemd-resolved.c
157 if TIZEN_EXT_WIFI_MESH
158 src_connmand_SOURCES += src/mesh.c src/mesh-netlink.c
161 src_connmand_LDADD = gdbus/libgdbus-internal.la $(builtin_libadd) \
162 @GLIB_LIBS@ @DBUS_LIBS@ @GNUTLS_LIBS@ @LIBSYSTEMD_LIBS@ \
165 if TIZEN_EXT_WIFI_MESH
166 src_connmand_LDADD += @LIBNL_LIBS@ @LIBNL_GENL_LIBS@
169 src_connmand_LDFLAGS = -Wl,--export-dynamic -pie \
170 -Wl,--version-script=$(srcdir)/src/connman.ver
172 src_connmand_wait_online_SOURCES = src/connmand-wait-online.c
174 src_connmand_wait_online_LDADD = gdbus/libgdbus-internal.la \
175 @GLIB_LIBS@ @DBUS_LIBS@
178 src_connmand_SOURCES += src/iptables.c src/firewall-iptables.c
179 src_connmand_LDADD += @XTABLES_LIBS@
183 src_connmand_SOURCES += src/firewall-nftables.c
184 src_connmand_LDADD += @NFTABLES_LIBS@
188 vpn_plugin_LTLIBRARIES =
192 builtin_vpn_modules =
193 builtin_vpn_sources =
198 bin_PROGRAMS += vpn/connman-vpnd
200 sbin_PROGRAMS += vpn/connman-vpnd
203 vpn_connman_vpnd_SOURCES = $(gdhcp_sources) $(builtin_vpn_sources) \
205 $(gweb_sources) vpn/vpn.ver vpn/main.c vpn/vpn.h \
206 vpn/vpn-manager.c vpn/vpn-provider.c \
207 vpn/vpn-provider.h vpn/vpn-rtnl.h \
208 vpn/vpn-ipconfig.c src/inet.c vpn/vpn-rtnl.c \
209 src/log.c src/error.c src/plugin.c src/task.c \
210 src/device.c src/network.c src/connection.c \
211 src/manager.c src/service.c \
212 src/clock.c src/timezone.c src/agent-connman.c \
213 src/agent.c src/notifier.c src/provider.c \
214 src/resolver.c src/ipconfig.c src/detect.c \
215 src/dhcp.c src/dhcpv6.c src/rtnl.c src/proxy.c \
216 src/utsname.c src/timeserver.c src/rfkill.c \
217 src/storage.c src/dbus.c src/config.c \
218 src/technology.c src/counter.c src/ntp.c \
219 src/session.c src/tethering.c src/wpad.c src/wispr.c \
220 src/stats.c src/iptables.c src/dnsproxy.c src/6to4.c \
221 src/ippool.c src/bridge.c src/nat.c src/ipaddress.c \
222 src/inotify.c src/firewall-iptables.c src/ipv6pd.c src/peer.c \
223 src/peer_service.c src/machine.c src/util.c \
224 vpn/vpn-agent.c vpn/vpn-agent.h \
225 vpn/vpn-config.c src/acd.c
227 if TIZEN_EXT_WIFI_MESH
228 vpn_connman_vpnd_SOURCES += src/mesh.c src/mesh-netlink.c
231 vpn_connman_vpnd_LDADD = gdbus/libgdbus-internal.la $(builtin_vpn_libadd) \
232 @GLIB_LIBS@ @DBUS_LIBS@ @GNUTLS_LIBS@ \
233 @LIBSYSTEMD_LIBS@ @XTABLES_LIBS@ \
236 if TIZEN_EXT_WIFI_MESH
237 vpn_connman_vpnd_LDADD += @LIBNL_LIBS@ @LIBNL_GENL_LIBS@
240 vpn_connman_vpnd_LDFLAGS = -Wl,--export-dynamic \
241 -Wl,--version-script=$(srcdir)/vpn/vpn.ver
244 BUILT_SOURCES = $(local_headers) src/builtin.h $(service_files) \
247 if INTERNAL_DNS_BACKEND
248 BUILT_SOURCES += scripts/connman_resolvconf.conf
252 BUILT_SOURCES += vpn/builtin.h
255 CLEANFILES = src/connman.conf $(BUILT_SOURCES) $(service_files)
257 statedir = $(runstatedir)/connman
258 vpn_statedir = $(runstatedir)/connman-vpn
261 vpn_plugindir = $(libdir)/connman/plugins-vpn
264 plugindir = $(libdir)/connman/plugins
266 scriptdir = $(libdir)/connman/scripts
268 storagedir = $(localstatedir)/lib/connman
269 vpn_storagedir = $(localstatedir)/lib/connman-vpn
271 configdir = ${sysconfdir}/connman
275 build_vpn_plugindir = $(abs_top_srcdir)/vpn/plugins/.libs
277 build_plugindir = $(abs_top_srcdir)/plugins/.libs
278 build_scriptdir = $(abs_top_srcdir)/scripts
280 build_plugindir = $(plugindir)
281 build_scriptdir = $(scriptdir)
283 build_vpn_plugindir = $(vpn_plugindir)
287 AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @LIBSYSTEMD_CFLAGS@\
288 @GNUTLS_CFLAGS@ $(builtin_cflags) \
289 -DCONNMAN_PLUGIN_BUILTIN \
290 -DSTATEDIR=\""$(statedir)"\" \
291 -DVPN_STATEDIR=\""$(vpn_statedir)"\" \
292 -DPLUGINDIR=\""$(build_plugindir)"\" \
293 -DSCRIPTDIR=\""$(build_scriptdir)"\" \
294 -DSTORAGEDIR=\""$(storagedir)\"" \
295 -DVPN_STORAGEDIR=\""$(vpn_storagedir)\"" \
296 -DCONFIGDIR=\""$(configdir)\"" \
300 AM_CPPFLAGS = -I$(builddir)/include -I$(srcdir)/gdbus
302 AM_CPPFLAGS = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/gdbus
305 src_connmand_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ \
306 @GNUTLS_CFLAGS@ $(builtin_cflags) \
307 -DCONNMAN_PLUGIN_BUILTIN \
308 -DSTATEDIR=\""$(statedir)"\" \
309 -DPLUGINDIR=\""$(build_plugindir)"\" \
310 -DSCRIPTDIR=\""$(build_scriptdir)"\" \
311 -DSTORAGEDIR=\""$(storagedir)\"" \
312 -DVPN_STORAGEDIR=\""$(vpn_storagedir)\"" \
313 -DCONFIGDIR=\""$(configdir)\"" \
316 EXTRA_DIST = src/genbuiltin src/connman-dbus.conf src/connman-polkit.conf \
317 plugins/connman-nmcompat.conf \
318 $(service_files_sources) scripts/connman.in
321 vpn_connman_vpnd_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @XTABLES_CFLAGS@ \
322 $(builtin_vpn_cflags) \
323 -DCONNMAN_PLUGIN_BUILTIN \
324 -DVPN_STATEDIR=\""$(vpn_statedir)"\" \
325 -DPLUGINDIR=\""$(build_vpn_plugindir)"\" \
326 -DSCRIPTDIR=\""$(build_scriptdir)"\" \
327 -DSTORAGEDIR=\""$(storagedir)\"" \
328 -DVPN_STORAGEDIR=\""$(vpn_storagedir)\"" \
329 -DCONFIGDIR=\""$(configdir)\"" \
335 AM_CFLAGS += @XTABLES_CFLAGS@
336 src_connmand_CFLAGS += @XTABLES_CFLAGS@
340 AM_CFLAGS += @NFTABLES_CFLAGS@
341 src_connmand_CFLAGS += @NFTABLES_CFLAGS@
344 if TIZEN_EXT_WIFI_MESH
345 AM_CFLAGS += @LIBNL_CFLAGS@ @LIBNL_GENL_CFLAGS@
346 src_connmand_CFLAGS += @LIBNL_CFLAGS@ @LIBNL_GENL_CFLAGS@
348 vpn_connman_vpnd_CFLAGS += @LIBNL_CFLAGS@ @LIBNL_GENL_CFLAGS@
352 EXTRA_DIST += vpn/vpn-dbus.conf vpn/vpn-polkit.conf
358 include Makefile.plugins
361 bin_PROGRAMS += client/connmanctl
363 client_connmanctl_SOURCES = client/dbus_helpers.h client/dbus_helpers.c \
364 client/services.h client/services.c \
365 client/commands.h client/commands.c \
366 client/input.h client/input.c \
367 client/agent.h client/agent.c \
368 client/peers.h client/peers.c \
369 client/tethering.h client/tethering.c \
370 client/vpnconnections.h client/vpnconnections.c \
373 if TIZEN_EXT_WIFI_MESH
374 client_connmanctl_SOURCES += client/mesh.c client/mesh.h
378 client_connmanctl_SOURCES += client/ins.c client/ins.h
381 client_connmanctl_LDADD = gdbus/libgdbus-internal.la @DBUS_LIBS@ @GLIB_LIBS@ \
382 -lreadline -ldl -lncurses
385 noinst_PROGRAMS += unit/test-ippool
387 unit_test_ippool_SOURCES = $(backtrace_sources) src/log.c src/dbus.c \
388 src/error.c src/ippool.c unit/test-ippool.c
389 unit_test_ippool_LDADD = gdbus/libgdbus-internal.la \
390 @GLIB_LIBS@ @DBUS_LIBS@ -ldl
392 TESTS = unit/test-ippool
395 noinst_PROGRAMS += tools/wispr
397 tools_wispr_SOURCES = $(gweb_sources) tools/wispr.c
398 tools_wispr_LDADD = @GLIB_LIBS@ @GNUTLS_LIBS@ -lresolv
402 noinst_PROGRAMS += tools/supplicant-test \
403 tools/dhcp-test tools/dhcp-server-test \
404 tools/addr-test tools/web-test tools/resolv-test \
405 tools/dbus-test tools/polkit-test \
406 tools/tap-test tools/wpad-test \
407 tools/stats-tool tools/private-network-test \
409 tools/dnsproxy-test tools/netlink-test
411 tools_supplicant_test_SOURCES = tools/supplicant-test.c \
412 tools/supplicant-dbus.h tools/supplicant-dbus.c \
413 tools/supplicant.h tools/supplicant.c
414 tools_supplicant_test_LDADD = gdbus/libgdbus-internal.la \
415 @GLIB_LIBS@ @DBUS_LIBS@
417 tools_web_test_SOURCES = $(gweb_sources) tools/web-test.c
418 tools_web_test_LDADD = @GLIB_LIBS@ @GNUTLS_LIBS@ -lresolv
420 tools_resolv_test_SOURCES = gweb/gresolv.h gweb/gresolv.c tools/resolv-test.c
421 tools_resolv_test_LDADD = @GLIB_LIBS@ -lresolv
423 tools_wpad_test_SOURCES = gweb/gresolv.h gweb/gresolv.c tools/wpad-test.c
424 tools_wpad_test_LDADD = @GLIB_LIBS@ -lresolv
426 tools_stats_tool_LDADD = @GLIB_LIBS@
428 tools_dhcp_test_SOURCES = $(backtrace_sources) src/log.c src/util.c \
429 $(gdhcp_sources) src/inet.c tools/dhcp-test.c src/shared/arp.c
430 tools_dhcp_test_LDADD = @GLIB_LIBS@ -ldl
432 tools_dhcp_server_test_SOURCES = $(backtrace_sources) src/log.c src/util.c \
433 $(gdhcp_sources) src/inet.c tools/dhcp-server-test.c src/shared/arp.c
434 tools_dhcp_server_test_LDADD = @GLIB_LIBS@ -ldl
436 tools_dbus_test_SOURCES = tools/dbus-test.c
437 tools_dbus_test_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@
439 tools_polkit_test_LDADD = @DBUS_LIBS@
441 tools_private_network_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
443 tools_session_test_SOURCES = $(backtrace_sources) src/log.c src/dbus.c src/error.c \
444 tools/session-test.c tools/session-utils.c tools/manager-api.c \
445 tools/session-api.c tools/session-test.h
446 tools_session_test_LDADD = gdbus/libgdbus-internal.la \
447 @GLIB_LIBS@ @DBUS_LIBS@ -ldl
450 noinst_PROGRAMS += tools/iptables-test tools/ip6tables-test tools/iptables-unit \
453 tools_iptables_test_SOURCES = $(backtrace_sources) src/log.c src/iptables.c \
454 tools/iptables-test.c
455 tools_iptables_test_LDADD = @GLIB_LIBS@ @XTABLES_LIBS@ -ldl
457 tools_ip6tables_test_SOURCES = $(backtrace_sources) src/log.c src/iptables.c \
458 tools/ip6tables-test.c
459 tools_ip6tables_test_LDADD = @GLIB_LIBS@ @XTABLES_LIBS@ -ldl
461 tools_iptables_unit_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @XTABLES_CFLAGS@ \
462 -DIPTABLES_SAVE=\""${IPTABLES_SAVE}"\" \
463 -DIP6TABLES_SAVE=\""${IP6TABLES_SAVE}"\"
464 tools_iptables_unit_SOURCES = $(backtrace_sources) src/log.c \
465 src/iptables.c src/firewall-iptables.c src/nat.c \
466 tools/iptables-unit.c
467 tools_iptables_unit_LDADD = gdbus/libgdbus-internal.la \
468 @GLIB_LIBS@ @DBUS_LIBS@ @XTABLES_LIBS@ -ldl
470 TESTS += unit/test-iptables
472 unit_test_iptables_CFLAGS = $(COVERAGE_OPT) $(AM_CFLAGS) @GLIB_CFLAGS@
473 unit_test_iptables_SOURCES = $(backtrace_sources) src/connman.h src/log.c \
474 unit/test-iptables.c src/iptables.c
475 unit_test_iptables_LDADD = @GLIB_LIBS@ -ldl
479 tools_dnsproxy_test_SOURCES = tools/dnsproxy-test.c
480 tools_dnsproxy_test_LDADD = @GLIB_LIBS@
482 tools_netlink_test_SOURCES = src/shared/util.c src/shared/netlink.c \
484 tools_netlink_test_LDADD = @GLIB_LIBS@
488 test_scripts = test/get-state test/list-services \
489 test/monitor-services test/test-clock \
490 test/simple-agent test/show-introspection test/test-compat \
491 test/test-manager test/test-connman test/monitor-connman \
492 test/connect-provider test/remove-provider \
493 test/test-counter test/set-ipv4-method test/set-ipv6-method \
494 test/get-services test/get-proxy-autoconfig test/set-proxy \
495 test/enable-tethering test/disable-tethering test/backtrace \
496 test/test-session test/p2p-on-supplicant \
497 test/test-new-supplicant test/service-move-before \
498 test/set-global-timeservers test/get-global-timeservers \
499 test/set-nameservers test/set-domains test/set-timeservers \
502 test_scripts += test/vpn-connect test/vpn-disconnect test/vpn-get \
503 test/monitor-vpn test/vpn-property
506 testdir = $(pkglibdir)/test
507 test_SCRIPTS = $(test_scripts)
510 EXTRA_DIST += $(test_scripts)
512 EXTRA_DIST += doc/overview-api.txt doc/behavior-api.txt \
513 doc/coding-style.txt doc/wifi-p2p-overview.txt \
514 doc/vpn-agent-api.txt doc/peer-api.txt \
515 doc/ipconfig-api.txt doc/plugin-api.txt \
516 doc/manager-api.txt doc/agent-api.txt \
517 doc/service-api.txt doc/technology-api.txt \
518 doc/counter-api.txt doc/config-format.txt \
519 doc/clock-api.txt doc/session-api.txt \
520 doc/session-overview.txt doc/backtrace.txt \
521 doc/advanced-configuration.txt \
522 doc/vpn-config-format.txt \
523 doc/vpn-connection-api.txt \
524 doc/vpn-manager-api.txt doc/vpn-overview.txt \
525 doc/session-policy-format.txt \
526 doc/connmanctl.1.in doc/connman.conf.5.in \
527 doc/connman-service.config.5.in \
528 doc/connman-vpn.conf.5.in \
529 doc/connman-vpn-provider.config.5.in \
530 doc/connman.8.in doc/connman-vpn.8.in
532 EXTRA_DIST += src/main.conf \
535 #MANUAL_PAGES += doc/connmanctl.1 doc/connman.conf.5 \
536 # doc/connman-service.config.5 doc/connman-vpn.conf.5 \
537 # doc/connman-vpn-provider.config.5 \
538 # doc/connman.8 doc/connman-vpn.8
540 nodist_man_MANS = $(MANUAL_PAGES)
542 pkgconfigdir = $(libdir)/pkgconfig
544 pkgconfig_DATA = connman.pc
546 DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles \
547 --enable-hh2serial-gps \
548 --enable-openconnect \
552 --enable-session-policy-local \
556 DISTCLEANFILES = $(pkgconfig_DATA)
558 MAINTAINERCLEANFILES = Makefile.in \
559 aclocal.m4 configure config.h.in config.sub config.guess \
560 ltmain.sh depcomp compile missing install-sh mkinstalldirs test-driver
563 src/builtin.h: src/genbuiltin $(builtin_sources)
564 $(AM_V_at)$(MKDIR_P) $(dir $@)
565 $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
567 vpn/builtin.h: src/genbuiltin $(builtin_vpn_sources)
568 $(AM_V_at)$(MKDIR_P) $(dir $@)
569 $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_vpn_modules) > $@
571 src/connman.conf: src/connman-dbus.conf src/connman-polkit.conf
573 $(AM_V_GEN)cp $(srcdir)/src/connman-polkit.conf $@
575 $(AM_V_GEN)cp $(srcdir)/src/connman-dbus.conf $@
579 vpn/connman-vpn-dbus.conf: vpn/vpn-dbus.conf vpn/vpn-polkit.conf
581 $(AM_V_GEN)cp $(srcdir)/vpn/vpn-polkit.conf $@
583 $(AM_V_GEN)cp $(srcdir)/vpn/vpn-dbus.conf $@
585 CLEANFILES += vpn/connman-vpn-dbus.conf
590 EXTRA_DIST += connman-task.pp
591 CLEANFILES += connman-task.pp
594 connman-task.pp: vpn/connman-task.te
595 make -f /usr/share/selinux/devel/Makefile
598 EXTRA_DIST += vpn/connman-task.te
600 do_subst = $(AM_V_GEN)$(SED) \
601 -e 's,[@]prefix[@],$(prefix),g' \
602 -e 's,[@]sbindir[@],$(sbindir),g' \
603 -e 's,[@]sysconfdir[@],$(sysconfdir),g' \
604 -e 's,[@]storagedir[@],$(storagedir),g' \
605 -e 's,[@]vpn_storagedir[@],$(vpn_storagedir),g' \
606 -e 's,[@]localstatedir[@],$(localstatedir),g' \
607 -e 's,[@]runstatedir[@],$(runstatedir),g'
610 $(AM_V_at)$(MKDIR_P) $(dir $@)
611 $(do_subst) < $< > $@
614 $(AM_V_at)$(MKDIR_P) $(dir $@)
615 $(do_subst) < $< > $@
618 $(AM_V_at)$(MKDIR_P) $(dir $@)
619 $(do_subst) < $< > $@
621 %.service: %.service.in Makefile
622 $(AM_V_at)$(MKDIR_P) $(dir $@)
623 $(do_subst) < $< > $@
625 scripts/connman: scripts/connman.in Makefile
626 $(AM_V_at)$(MKDIR_P) $(dir $@)
627 $(do_subst) < $< > $@
629 scripts/connman_resolvconf.conf: scripts/connman_resolvconf.conf.in
630 $(AM_V_at)$(MKDIR_P) $(dir $@)
631 $(do_subst) < $< > $@
633 include/connman/version.h: include/version.h
634 $(AM_V_at)$(MKDIR_P) include/connman
635 $(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@
637 include/connman/%.h: $(abs_top_srcdir)/include/%.h
638 $(AM_V_at)$(MKDIR_P) include/connman
639 $(AM_V_GEN)$(LN_S) $< $@
642 @$(RM) -rf include/connman $(MANUAL_PAGES)