summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/optman/Makefile.am
blob: b508a8cc35f8e2ffdb74976179f243b62fcbe5a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##
##  $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

C_FILES =
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)

PGMS = $(C_FILES:%.c=$(ARCH)/%.rel)

include $(top_srcdir)/../../../../automake/multilib.am
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am

TMPINSTALL_FILES += \
    $(C_FILES:%.c=$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/%$(LIB_VARIANT).rel)

$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/%$(LIB_VARIANT).rel: $(ARCH)/%.rel
	$(INSTALL_DATA) $< $@

#
# (OPTIONAL) Add local stuff here using +=
#
all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES)

.PRECIOUS: $(PGMS)

EXTRA_DIST = $(C_FILES)

include $(top_srcdir)/../../../../automake/local.am