source: rtems/c/src/libmisc/mw-fb/Makefile.am @ baf7b085

4.104.114.84.95
Last change on this file since baf7b085 was baf7b085, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 16, 2001 at 9:19:31 PM

2001-08-26 Brett Swimley <brett.swimley@…>

  • mw-fb\Makefile.am: Corrected problem.
  • Property mode set to 100644
File size: 890 bytes
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include_rtemsdir = $(includedir)/rtems
8
9LIBNAME = libmw-fb-tmp
10LIB = ${ARCH}/${LIBNAME}.a
11
12C_FILES = mw_fb.c mw_uid.c
13C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
14
15include_rtems_HEADERS = mw_fb.h mw_uid.h
16
17SRCS = $(C_FILES)
18OBJS = $(C_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../automake/compile.am
22include $(top_srcdir)/../../../automake/lib.am
23
24$(PROJECT_INCLUDE)/rtems:
25        @$(mkinstalldirs) $@
26$(PROJECT_INCLUDE)/rtems/%.h: %.h
27        $(INSTALL_DATA) $< $@
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33${LIB}: ${OBJS}
34        $(make-library)
35
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
37    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
38
39all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
40
41.PRECIOUS: $(LIB)
42
43EXTRA_DIST = $(C_FILES)
44
45include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.