source: rtems/cpukit/libmisc/serdbg/Makefile.am @ 5a8a05b

4.104.114.84.95
Last change on this file since 5a8a05b was 5a8a05b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 24, 2003 at 12:05:44 PM

2002-01-24 Ralf Corsepius <corsepiu@…>

  • 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.
  • Property mode set to 100644
File size: 938 bytes
Line 
1##
2## $Id$
3##
4
5include_rtemsdir = $(includedir)/rtems
6
7LIBNAME = libserdbg
8LIB = $(ARCH)/$(LIBNAME).a
9
10C_FILES = serdbg.c serdbgio.c termios_printk.c
11OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13noinst_HEADERS =
14if LIBSERDBG
15include_HEADERS = serdbgcnf.h serdbg.h termios_printk_cnf.h \
16                  termios_printk.h
17endif
18
19include $(top_srcdir)/../automake/compile.am
20include $(top_srcdir)/../automake/lib.am
21
22$(PROJECT_INCLUDE):
23        @$(mkinstalldirs) $@
24$(PROJECT_INCLUDE)/%.h: %.h
25        $(INSTALL_DATA) $< $@
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34PREINSTALL_FILES = $(PROJECT_INCLUDE) \
35    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
36
37if LIBSERDBG
38all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
39endif
40
41.PRECIOUS: $(LIB)
42
43EXTRA_DIST = README serdbg.c serdbgio.c serdbgcnf.h serdbg.h \
44             termios_printk.c termios_printk.h termios_printk_cnf.h
45
46include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.