From 5a8a05b2c9fce41cda685361e13a11bbf605676d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 24 Jan 2003 12:05:44 +0000 Subject: 2002-01-24 Ralf Corsepius * configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG). * capture/Makefile.am: Use *.a instead of *-tmp.a. * cpuuse/Makefile.am: Use *.a instead of *-tmp.a. * devnull/Makefile.am: Use *.a instead of *-tmp.a. * dummy/Makefile.am: Use *.a instead of *-tmp.a. * dumpbuf/Makefile.am: Use *.a instead of *-tmp.a. * monitor/Makefile.am: Use *.a instead of *-tmp.a. * mw-fb/Makefile.am: Use *.a instead of *-tmp.a. * rtmonuse/Makefile.am: Use *.a instead of *-tmp.a. * serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true. * shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true. * stackchk/Makefile.am: Use *.a instead of *-tmp.a. * untar/Makefile.am: Use *.a instead of *-tmp.a. * wrapup/Makefile.am: Reflect changes above. --- cpukit/libmisc/serdbg/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpukit/libmisc/serdbg') diff --git a/cpukit/libmisc/serdbg/Makefile.am b/cpukit/libmisc/serdbg/Makefile.am index 04f641d54b..9b297c3964 100644 --- a/cpukit/libmisc/serdbg/Makefile.am +++ b/cpukit/libmisc/serdbg/Makefile.am @@ -4,15 +4,17 @@ include_rtemsdir = $(includedir)/rtems -LIBNAME = libserdbg-tmp +LIBNAME = libserdbg LIB = $(ARCH)/$(LIBNAME).a C_FILES = serdbg.c serdbgio.c termios_printk.c OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) noinst_HEADERS = +if LIBSERDBG include_HEADERS = serdbgcnf.h serdbg.h termios_printk_cnf.h \ termios_printk.h +endif include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/lib.am @@ -32,7 +34,9 @@ $(LIB): $(OBJS) PREINSTALL_FILES = $(PROJECT_INCLUDE) \ $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) +if LIBSERDBG all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) +endif .PRECIOUS: $(LIB) -- cgit v1.2.3