diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi68k/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi68k/Makefile.am | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/efi68k/Makefile.am b/c/src/lib/libbsp/m68k/efi68k/Makefile.am index 40f9c86aa4..da789eb2a7 100644 --- a/c/src/lib/libbsp/m68k/efi68k/Makefile.am +++ b/c/src/lib/libbsp/m68k/efi68k/Makefile.am @@ -4,21 +4,30 @@ ACLOCAL_AMFLAGS = -I ../../../../aclocal +include $(top_srcdir)/../../../../automake/compile.am +include $(top_srcdir)/../../bsp.am + # wrapup is the one that actually builds and installs the library # from the individual .rel files built in other directories -SUBDIRS = . start startup clock console spurious timer wrapup - -include $(top_srcdir)/../../bsp.am +SUBDIRS = . startup clock console spurious timer wrapup nodist_include_HEADERS += $(top_srcdir)/../../shared/include/coverhd.h include_HEADERS += include/efi68k.h include_HEADERS += include/16550.h include_HEADERS += include/DP8570A.h -all-local: $(PREINSTALL_FILES) - EXTRA_DIST = times +C_FILES = start/start.C +$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): start/start.c $(ARCH)/$(dirstamp) + $(COMPILE) -o $@ -c $< + +project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) + +all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) + +TMPINSTALL_FILES = + $(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h @@ -35,5 +44,9 @@ $(PROJECT_INCLUDE)/DP8570A.h: include/DP8570A.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/DP8570A.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/DP8570A.h +$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT) +TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT) + include $(top_srcdir)/../../../../automake/subdirs.am include $(top_srcdir)/../../../../automake/local.am |