summaryrefslogtreecommitdiff
path: root/include/Makefile.am
blob: ea364d364c94087471c29f2f61ab2cb6aca302f1 (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

includedir = @includedir@/connman

include_HEADERS = types.h log.h plugin.h security.h notifier.h \
				storage.h device.h network.h inet.h

nodist_include_HEADERS = version.h

noinst_HEADERS = driver.h element.h property.h rtnl.h wifi.h task.h \
			dbus.h rfkill.h option.h resolver.h ipconfig.h \
					profile.h service.h provider.h

MAINTAINERCLEANFILES = Makefile.in

all-local:
	@if [ ! -e connman ]; then \
	  mkdir connman; \
	  list='$(include_HEADERS) $(noinst_HEADERS)'; for i in $$list; \
	    do $(LN_S) $(abs_top_srcdir)/include/$$i connman/$$i; done; \
	  list='$(nodist_include_HEADERS)'; for i in $$list; \
	    do $(LN_S) $(abs_top_builddir)/include/$$i connman/$$i; done; \
	fi

clean-local:
	@rm -rf connman