]> git.proxmox.com Git - mirror_zfs.git/blame - lib/libspl/Makefile.am
config: better libtirpc detection
[mirror_zfs.git] / lib / libspl / Makefile.am
CommitLineData
a26baf28
BB
1include $(top_srcdir)/config/Rules.am
2
47a4a6fd
TF
3VPATH = \
4 $(top_srcdir)/lib/libspl \
5 $(top_srcdir)/lib/libspl/$(TARGET_ASM_DIR)
6
a26baf28
BB
7SUBDIRS = include $(TARGET_ASM_DIR)
8DIST_SUBDIRS = include asm-generic asm-i386 asm-x86_64
9
10DEFAULT_INCLUDES += \
6283f55e 11 -I$(top_srcdir)/lib/libspl/include
a26baf28 12
762f9ef3
RK
13AM_CFLAGS += $(LIBTIRPC_CFLAGS)
14
a26baf28 15AM_CCASFLAGS = \
e102b1b5 16 $(CFLAGS)
a26baf28 17
75056283 18noinst_LTLIBRARIES = libspl.la
a26baf28 19
47a4a6fd
TF
20USER_C = \
21 getexecname.c \
46364cb2 22 gethostid.c \
47a4a6fd
TF
23 getmntany.c \
24 list.c \
25 mkdirp.c \
98295748 26 page.c \
4b702901
BB
27 strlcat.c \
28 strlcpy.c \
47a4a6fd
TF
29 timestamp.c \
30 zone.c \
47a4a6fd
TF
31 include/sys/list.h \
32 include/sys/list_impl.h
33
34USER_ASM = atomic.S
35
47a4a6fd
TF
36nodist_libspl_la_SOURCES = \
37 $(USER_C) \
fed90353 38 $(USER_ASM)
b1c932d3 39
762f9ef3 40libspl_la_LIBADD = -lrt $(LIBTIRPC_LIBS)
47a4a6fd
TF
41
42EXTRA_DIST = $(USER_C)