Files
rtems/cpukit/libmisc/devnull/Makefile.am
Ralf Corsepius 5e622a9125 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Moving libmisc from rtems/c/src to rtems/cpukit.

	* Makefile.am: Reflect new path.
	* configure.ac: Reflect new path.
	Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP.
	Remove RTEMS_PROJECT_ROOT.
	* capture/Makefile.am: Reflect new path.
	Remove OBJS from all-local.
	* cpuuse/Makefile.am: Ditto.
	* devnull/Makefile.am: Ditto.
	* dummy/Makefile.am: Ditto.
	* dumpbuf/Makefile.am: Ditto.
	* monitor/Makefile.am: Ditto.
	* mw-fb/Makefile.am: Ditto.
	* rtmonuse/Makefile.am: Ditto.
	* serdbg/Makefile.am: Ditto.
	* shell/Makefile.am: Ditto.
	* stackchk/Makefile.am: Ditto.
	* untar/Makefile.am: Ditto.
	* wrapup/Makefile.am: Reflect new path.
2002-12-12 03:08:54 +00:00

43 lines
746 B
Makefile

##
## $Id$
##
include_rtemsdir = $(includedir)/rtems
LIBNAME = libdevnull-tmp
LIB = $(ARCH)/$(LIBNAME).a
C_FILES = devnull.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
include_rtems_HEADERS = devnull.h
OBJS = $(C_O_FILES)
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) $(LIB)
.PRECIOUS: $(LIB)
EXTRA_DIST = devnull.c
include $(top_srcdir)/../automake/local.am