1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (C) 2011 SGI All Rights Reserved.
8 include $(TOPDIR)/include/builddefs
10 TARGETS = test_rights test_fileattr test_hole test_dmattr \
11 test_eventlist test_region test_bulkall \
12 test_bulkattr send_msg dm_test_daemon test_invis \
13 invis_test region_test test_efault mmap
15 # things left out for some reason...
16 UNUSED_TARGS = check_dmapi.c mmap_cp.c mm_fill.c
18 CFILES = $(TARGETS:=.c)
21 CFLAGS += -I.. -I$(TOPDIR)/dmapi/src/common -I/usr/include/xfs
23 LLDLIBS = $(TOPDIR)/dmapi/src/common/lib/libdmtest.la $(LIBDM)
25 default: depend $(TARGETS)
31 install install-dev: default
35 $(Q)$(LTLINK) $@.c -o $@ $(CFLAGS) $(LDFLAGS) $(LDLIBS)