forked from Imagelibrary/rtems
2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc505/ictrl/Makefile.am, mpc6xx/clock/Makefile.am, mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am, mpc8xx/include/Makefile.am, new_exception_processing/Makefile.am, old_exception_processing/Makefile.am, pc403/ictrl/Makefile.am, shared/include/Makefile.am, shared/src/Makefile.am: Apply *_HEADERS instead of *H_FILES. * shared/src/.cvsignore: Add cache.h.
This commit is contained in:
@@ -7,7 +7,9 @@ AUTOMAKE_OPTIONS = foreign 1.4
|
||||
C_FILES = cpuIdent.c
|
||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||
|
||||
H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
|
||||
include_libcpudir = $(includedir)/libcpu
|
||||
|
||||
include_libcpu_HEADERS = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
|
||||
|
||||
OBJS = $(C_O_FILES)
|
||||
|
||||
@@ -31,7 +33,7 @@ $(PROJECT_INCLUDE)/libcpu/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
|
||||
$(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
|
||||
$(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
|
||||
|
||||
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
cache.h
|
||||
@@ -9,8 +9,9 @@ VPATH = @srcdir@:@srcdir@/../../../shared/src
|
||||
C_FILES = cache.c cache_aligned_malloc.c cache_manager.c
|
||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||
|
||||
H_FILES = cache_.h
|
||||
INSTALLED_H_FILES =
|
||||
include_libcpudir = $(includedir)/libcpu
|
||||
|
||||
include_libcpu_HEADERS = cache_.h cache.h
|
||||
|
||||
OBJS = $(C_O_FILES)
|
||||
|
||||
@@ -26,14 +27,16 @@ $(PROJECT_INCLUDE)/libcpu:
|
||||
$(PROJECT_INCLUDE)/libcpu/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
$(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
cache.h: $(top_srcdir)/../shared/include/cache.h
|
||||
cp $< $@
|
||||
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
|
||||
$(PROJECT_INCLUDE)/libcpu/cache.h
|
||||
$(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
|
||||
|
||||
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
|
||||
|
||||
CLEANFILES += cache.h
|
||||
|
||||
EXTRA_DIST = cache.c cache_.h
|
||||
|
||||
include $(top_srcdir)/../../../../../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user