forked from Imagelibrary/rtems
* Makefile.am: Apply @subdirs. Remove POSIX_SUBDIRS. Remove ITRON_SUBDIRS. * configure.ac: Rework enable_unixlib handling. Add RTEMS_MULTILIBS to cpuopts.h. * include/Makefile.am: Add rtems/fs.h, rtems/userenv.h. Add $(PROJECT_INCLUDE)/rtems. Remove libio_.h.
28 lines
564 B
Makefile
28 lines
564 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.5
|
|
|
|
$(PROJECT_INCLUDE)/%.h: %.h
|
|
$(INSTALL_DATA) $< $@
|
|
|
|
$(PROJECT_INCLUDE):
|
|
@$(mkinstalldirs) $@
|
|
|
|
$(PROJECT_INCLUDE)/rtems:
|
|
@$(mkinstalldirs) $@
|
|
|
|
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
|
|
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
|
|
|
include_rtemsdir = $(includedir)/rtems
|
|
include_rtems_HEADERS = rtems/bspIo.h rtems/userenv.h rtems/fs.h
|
|
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
|
|
$(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
|
|
|
all-local: $(PREINSTALL_FILES)
|
|
|
|
include $(top_srcdir)/../../../automake/local.am
|