OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [network/] [Makefile.am] - Rev 517

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

##
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:41 chris Exp $
##

AUTOMAKE_OPTIONS = foreign 1.4

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

C_FILES = dec21140.c sonic.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)

H_FILES = sonic.h

OBJS = $(C_O_FILES)

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

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

#
# Add local stuff here using +=
#

AM_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
AM_CFLAGS = $(LIBC_DEFINES)

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

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

if HAS_NETWORKING
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \
    $(PROJECT_INCLUDE)/libchip/sonic.h
endif

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

if HAS_NETWORKING
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
endif

.PRECIOUS: $(LIB)

EXTRA_DIST = README README.dec21140 README.sonic dec21140.c sonic.c sonic.h

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.