diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/leon_smc91111/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/leon_smc91111/Makefile.am | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/leon_smc91111/Makefile.am b/c/src/lib/libbsp/sparc/leon3/leon_smc91111/Makefile.am new file mode 100644 index 0000000000..d51345a28b --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon3/leon_smc91111/Makefile.am @@ -0,0 +1,35 @@ +## +## $Id$ +## + + +PGM = $(ARCH)/leon_smc91111.rel + +C_FILES = leon_smc91111.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 += +# + +AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ + +$(PGM): $(OBJS) + $(make-rel) + +# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile + +if HAS_NETWORKING +all-local: $(ARCH) $(OBJS) $(PGM) +endif + +.PRECIOUS: $(PGM) + +EXTRA_DIST = leon_smc91111.c + +include $(top_srcdir)/../../../../../../automake/local.am |