forked from Imagelibrary/rtems
Fix based on report from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>
that some files needed to be installed so you could build your own version of the web server initialization code.
This commit is contained in:
@@ -15,6 +15,8 @@ C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
H_FILES = ej.h uemf.h webs.h wsIntrn.h
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../../../automake/lib.am
|
include $(top_srcdir)/../../../automake/lib.am
|
||||||
|
|
||||||
@@ -27,8 +29,20 @@ AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS"
|
|||||||
$(LIB): $(OBJS)
|
$(LIB): $(OBJS)
|
||||||
$(make-library)
|
$(make-library)
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE):
|
||||||
|
$(mkinstalldirs) $@
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/goahead:
|
||||||
|
$(mkinstalldirs) $@
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/goahead/%.h: %.h
|
||||||
|
$(INSTALL_DATA) $< $@
|
||||||
|
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/goahead \
|
||||||
|
$(H_FILES:%.h=$(PROJECT_INCLUDE)/goahead/%.h)
|
||||||
|
|
||||||
if HAS_POSIX
|
if HAS_POSIX
|
||||||
all-local: $(ARCH) $(OBJS) $(LIB)
|
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PRECIOUS: $(LIB)
|
.PRECIOUS: $(LIB)
|
||||||
|
|||||||
Reference in New Issue
Block a user