diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/amba/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/amba/Makefile.am | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/amba/Makefile.am b/c/src/lib/libbsp/sparc/leon3/amba/Makefile.am new file mode 100644 index 0000000000..0586f7b922 --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon3/amba/Makefile.am @@ -0,0 +1,33 @@ +## +## $Id$ +## + + +PGM = $(ARCH)/amba.rel + +include_HEADERS = ../include/amba.h + +C_FILES = amba.c +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) + +OBJS = $(C_O_FILES) + +include $(top_srcdir)/../../../../../../automake/compile.am +include $(top_srcdir)/../../../../../../automake/lib.am + +# +# (OPTIONAL) Add local stuff here using += +# + +$(PGM): $(OBJS) + $(make-rel) + +# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile + +all-local: $(ARCH) $(OBJS) $(PGM) + +.PRECIOUS: $(PGM) + +EXTRA_DIST = amba.c + +include $(top_srcdir)/../../../../../../automake/local.am |