summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/xdr/Makefile.am
blob: 3e7d848e3e2b8372db76b586912ad14f8432d516 (plain) (blame)
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
27
28
29
30
31
32
33
##
## $Id$
##

LIB = $(ARCH)/libxdr.a

include $(top_srcdir)/automake/multilib.am
include $(top_srcdir)/automake/compile.am
include $(top_srcdir)/automake/lib.am

C_FILES = xdr.c xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c xdr_reference.c \
    xdr_sizeof.c xdr_stdio.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))

OBJS = $(C_O_FILES)

noinst_MANS = xdr.3

#
# Add local stuff here using +=
#

if LIBRPC
$(LIB): $(OBJS)
	$(make-library)

man_MANS = $(noinst_MANS)
all-local: $(ARCH) $(LIB)
endif

EXTRA_DIST = $(C_FILES) $(noinst_MANS)

include $(top_srcdir)/automake/local.am