OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [librpc/] [src/] [xdr/] [Makefile.am] - Rev 158

Go to most recent revision | Compare with Previous | Blame | View Log

##
## $Id: Makefile.am,v 1.1.1.1 2001-07-10 10:02:36 chris Exp $
##

AUTOMAKE_OPTIONS = foreign 1.4 no-installman

LIBNAME = libxdr
LIB = $(ARCH)/$(LIBNAME).a

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)/%.o)

OBJS = $(C_O_FILES)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/lib.am

noinst_MANS = xdr.3

TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a

#
# Add local stuff here using +=
#

AM_CPPFLAGS += '-D__P(x)=x'

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

$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
        $(INSTALL_DATA) $< $@

if HAS_NETWORKING
man_MANS = $(noinst_MANS)
all-local: $(ARCH) $(OBJS) $(TMPINSTALL_FILES)
endif

.PRECIOUS: $(LIB)

EXTRA_DIST = $(C_FILES) $(noinst_MANS)

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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.