forked from Imagelibrary/rtems
Part II automake reorg by Ralf Corsepius
This commit is contained in:
@@ -11,4 +11,4 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
||||
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
|
||||
include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
SUB_DIRS=headers $(INLINE) optman src
|
||||
SUB_DIRS=include $(INLINE) optman src
|
||||
|
||||
@@ -18,11 +18,7 @@ H_PIECES=asr attr clock config dpmem event eventset \
|
||||
support tasks timer types $(MP_PIECES)
|
||||
H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
|
||||
|
||||
# H_FILES that get installed externally
|
||||
EXTERNAL_H_PIECES = rtems
|
||||
EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h)
|
||||
|
||||
SRCS=$(H_FILES) $(EXTERNAL_H_FILES)
|
||||
SRCS=$(H_FILES)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
|
||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
@@ -39,4 +35,3 @@ CLOBBER_ADDITIONS +=
|
||||
|
||||
all: $(SRCS)
|
||||
$(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/rtems
|
||||
$(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
|
||||
|
||||
Reference in New Issue
Block a user