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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [libmisc/] [cpuuse/] [Makefile.am] - Rev 1779

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

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

AUTOMAKE_OPTIONS = foreign 1.4

LIBNAME = libcpuuse-tmp
LIB = $(ARCH)/$(LIBNAME).a

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

H_FILES = cpuuse.h

OBJS = $(C_O_FILES)

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

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

#
# (OPTIONAL) Add local stuff here using +=
#

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

PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)

all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)

.PRECIOUS: $(LIB)

EXTRA_DIST = README cpuuse.c cpuuse.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.