aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/xdr/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/xdr/Makefile.inc')
-rw-r--r--newlib/libc/xdr/Makefile.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/newlib/libc/xdr/Makefile.inc b/newlib/libc/xdr/Makefile.inc
index e69de29..40fff63 100644
--- a/newlib/libc/xdr/Makefile.inc
+++ b/newlib/libc/xdr/Makefile.inc
@@ -0,0 +1,38 @@
+if HAVE_XDR_DIR
+
+%C%_ELIX_SOURCES = \
+ %D%/xdr_private.c \
+ %D%/xdr.c \
+ %D%/xdr_float.c \
+ %D%/xdr_array.c \
+ %D%/xdr_mem.c \
+ %D%/xdr_rec.c \
+ %D%/xdr_reference.c \
+ %D%/xdr_sizeof.c
+
+if HAVE_STDIO_DIR
+%C%_ELIX_SOURCES += \
+ %D%/xdr_stdio.c
+endif
+
+%C%_EXTRA_SRC = \
+ %D%/xdr_float_vax.c
+
+## None of these functions are specified by EL/IX
+if ELIX_LEVEL_1
+else
+if ELIX_LEVEL_2
+else
+if ELIX_LEVEL_3
+else
+if ELIX_LEVEL_4
+else
+libc_a_SOURCES += $(%C%_ELIX_SOURCES)
+endif
+endif
+endif
+endif
+
+EXTRA_DIST += %D%/README $(%C%_EXTRA_SRC)
+
+endif