forked from Imagelibrary/rtems
* capture/config.h: Remove. * capture/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * cpuuse/config.h: Remove. * cpuuse/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * devnull/config.h: Remove. * devnull/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * dummy/config.h: Remove. * dummy/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * dumpbuf/config.h: Remove. * dumpbuf/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * monitor/config.h: Remove. * monitor/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * mw-fb/config.h: Remove. * mw-fb/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * rtmonuse/config.h: Remove. * rtmonuse/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * serdbg/config.h: Remove. * serdbg/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * shell/config.h: Remove. * shell/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * stackchk/config.h: Remove. * stackchk/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * untar/config.h: Remove. * untar/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir).
43 lines
741 B
Makefile
43 lines
741 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
|
|
include_rtemsdir = $(includedir)/rtems
|
|
|
|
LIBNAME = libdevnull
|
|
LIB = $(ARCH)/$(LIBNAME).a
|
|
|
|
C_FILES = devnull.c
|
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
|
|
include_rtems_HEADERS = devnull.h
|
|
|
|
include $(top_srcdir)/automake/compile.am
|
|
include $(top_srcdir)/automake/lib.am
|
|
|
|
AM_CPPFLAGS += -I$(top_builddir)
|
|
|
|
$(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
|