source: rtems/c/src/optman/sapi/Makefile.am @ 624c881

4.104.114.84.95
Last change on this file since 624c881 was 624c881, checked in by Joel Sherrill <joel.sherrill@…>, on 12/19/01 at 14:35:14

2001-12-19 Ralf Corsepius <corsepiu@…>

  • optman/Makefile.am: Add multilib support.
  • src/Makefile.am: Add multilib support.
  • Property mode set to 100644
File size: 761 bytes
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7C_FILES = no-ext.c no-io.c
8C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
9
10PGMS = $(C_FILES:%.c=$(ARCH)/%.rel)
11
12## FIXME: Is this used anywhere?
13ASM4FLAGS = -I$(PROJECT_INCLUDE)/rtems
14
15include $(top_srcdir)/../../../automake/multilib.am
16include $(top_srcdir)/../../../automake/compile.am
17include $(top_srcdir)/../../../automake/lib.am
18
19TMPINSTALL_FILES += \
20    $(C_FILES:%.c=$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/%$(LIB_VARIANT).rel)
21
22$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/%$(LIB_VARIANT).rel: $(ARCH)/%.rel
23        $(INSTALL_DATA) $< $@
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES)
30
31.PRECIOUS: $(PGMS)
32
33EXTRA_DIST = $(C_FILES)
34
35include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.