-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.am
63 lines (54 loc) · 1.93 KB
/
Makefile.am
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I confdb -Icontrib/hwloc/config
# Location of internal hwloc
HWLOC_SUBDIRS = contrib/hwloc
# automake requires that we initialize variables to something, even just empty,
# before appending to them with "+="
AM_CFLAGS = $(HWLOC_EMBEDDED_CFLAGS)
AM_CPPFLAGS = -Wall -I$(top_srcdir)/src/include -I$(top_builddir)/src/include $(HWLOC_EMBEDDED_CPPFLAGS)
AM_LDFLAGS =
include_HEADERS = src/include/uti.h
lib_lib@UTILIBNAME@_la_SOURCES = src/common.c
lib_lib@UTILIBNAME@_la_LIBADD = $(HWLOC_EMBEDDED_LDADD)
lib_lib@UTILIBNAME@_la_LDFLAGS = $(HWLOC_EMBEDDED_LIBS) -version-info $(libuti_so_version) -export-symbols-regex '^uti_'
lib_LTLIBRARIES = lib/lib@[email protected]
nodist_include_HEADERS =
nodist_noinst_HEADERS =
BUILT_SOURCES =
bin_PROGRAMS =
bin_SCRIPTS =
dist_noinst_SCRIPTS =
noinst_DATA =
dist_noinst_DATA =
noinst_HEADERS = src/include/uti_impl.h
noinst_IBRARIES =
sysconf_DATA =
CLEANFILES =
DISTCLEANFILES =
SUFFIXES =
DOC_SUBDIRS =
MANDOC_SUBDIRS =
HTMLDOC_SUBDIRS =
INSTALL_DATA_LOCAL_TARGETS =
# Gather HEADERS, SOURCES, CPPFLAGS
include $(top_srcdir)/src/Makefile.mk
# for $subdir in $SUBDIRS; do make -C $subdir all; done
# Note that hwloc should be built first
SUBDIRS = $(HWLOC_SUBDIRS) . test
# for $subdir in $SUBDIRS; do make -C $subdir distclean; done
DIST_SUBDIRS = $(HWLOC_SUBDIRS) . test
# Specify files to distribute but not covered automatically
EXTRA_DIST = README LICENSE RELEASE CONTRIBUTORS
# Add target name to this variable to add them to the dependencies of the
# clean-local target
CLEAN_LOCAL_TARGETS =
# the configure step checks for the 'lib' dir to decide whether a source
# directory has been previously used for an in-path build before allowing a
# VPATH build to continue
distclean-local:
-rm -rf $(top_builddir)/lib
-rm -rf $(top_builddir)/bin
-rm -rf $(top_builddir)/include
-rm -rf $(top_builddir)/share
# created by confdb/aclocal_cache.m4
DISTCLEANFILES += config.system