summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/include/rpc/Makefile.am
blob: 5ca801b3c975488d9578d5e7e166b38331dc71d7 (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
26
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

H_FILES = auth.h rpc.h svc.h types.h clnt.h rpc_msg.h svc_auth.h xdr.h

noinst_HEADERS = $(H_FILES)

if HAS_NETWORKING
PREINSTALL_FILES = \
$(PROJECT_INCLUDE)/rpc \
$(H_FILES:%=$(PROJECT_INCLUDE)/rpc/%)

$(PROJECT_INCLUDE)/rpc:
	@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/rpc/%.h: %.h
	$(INSTALL_DATA) $< $@
endif

all-am: $(PREINSTALL_FILES)
debug-am: $(PREINSTALL_FILES)
profile-am: $(PREINSTALL_FILES)

include $(top_srcdir)/../../../automake/local.am