aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/xdr/Makefile.am
blob: ad9968c9acf0af9fc2fa5d38b15acf86d74b16fe (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
## Process this file with automake to generate Makefile.in

AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)

GENERAL_SOURCES = \
  xdr_private.c \
  xdr.c \
  xdr_float.c \
  xdr_array.c \
  xdr_mem.c \
  xdr_rec.c \
  xdr_reference.c \
  xdr_sizeof.c

STDIO_SOURCES = \
  xdr_stdio.c

EXTRA_SRC = \
  xdr_float_vax.c

## None of these functions are specified by EL/IX
if ELIX_LEVEL_1
ELIX_SOURCES =
else
if ELIX_LEVEL_2
ELIX_SOURCES =
else
if ELIX_LEVEL_3
ELIX_SOURCES =
else
if ELIX_LEVEL_4
ELIX_SOURCES =
else
if HAVE_STDIO_DIR
ELIX_SOURCES = $(GENERAL_SOURCES) $(STDIO_SOURCES)
else
ELIX_SOURCES = $(GENERAL_SOURCES)
endif
endif
endif
endif
endif

EXTRA_DIST = README $(EXTRA_SRC)

libxdr_la_LDFLAGS = -Xcompiler -nostdlib

if USE_LIBTOOL
noinst_LTLIBRARIES = libxdr.la
libxdr_la_SOURCES = dummy.c $(ELIX_SOURCES)
noinst_DATA = objectlist.awk.in
else
noinst_LIBRARIES = lib.a
lib_a_SOURCES = dummy.c $(ELIX_SOURCES)
lib_a_CFLAGS = $(AM_CFLAGS)
noinst_DATA =
endif # USE_LIBTOOL

CHEWOUT_FILES =
CHAPTERS =
# No doc for xdr.

include $(srcdir)/../../Makefile.shared