forked from Imagelibrary/rtems
In case the zlib compression was used, then the librtemscpu.a depended on libz.a. To avoid a GCC patch or complicated link flags move the JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to link the executable.
25 lines
608 B
Plaintext
25 lines
608 B
Plaintext
## Automatically generated by ampolish3 - Do not edit
|
|
|
|
if AMPOLISH3
|
|
$(srcdir)/preinstall.am: Makefile.am
|
|
$(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
|
|
endif
|
|
|
|
PREINSTALL_DIRS =
|
|
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
|
|
|
all-local: $(TMPINSTALL_FILES)
|
|
|
|
TMPINSTALL_FILES =
|
|
CLEANFILES = $(TMPINSTALL_FILES)
|
|
|
|
$(PROJECT_LIB)/$(dirstamp):
|
|
@$(MKDIR_P) $(PROJECT_LIB)
|
|
@: > $(PROJECT_LIB)/$(dirstamp)
|
|
PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
|
|
|
|
$(PROJECT_LIB)/libjffs2.a: libjffs2.a $(PROJECT_LIB)/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/libjffs2.a
|
|
TMPINSTALL_FILES += $(PROJECT_LIB)/libjffs2.a
|
|
|