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

Subversion Repositories or1k

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

Compare with Previous | Blame | View Log

##
## Makefile.am,v 1.8 2002/03/28 00:49:39 joel Exp
##


include_rtemsdir = $(includedir)/rtems

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

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

include_rtems_HEADERS = cpuuse.h

OBJS = $(C_O_FILES)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am
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 \
    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)

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

.PRECIOUS: $(LIB)

EXTRA_DIST = README cpuuse.c

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

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.