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

includedir = @includedir@/connman

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

nodist_include_HEADERS = version.h

noinst_HEADERS = driver.h element.h property.h ipv4.h rtnl.h dbus.h \
				resolver.h ipconfig.h service.h option.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