dmapi: spdx license conversion
[xfstests-dev.git] / dmapi / src / suite2 / src / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (C) 2011 SGI  All Rights Reserved.
3 #
4 #
5 #
6 TOPDIR = ../../../..
7
8 include $(TOPDIR)/include/builddefs
9
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
14
15 # things left out for some reason...
16 UNUSED_TARGS = check_dmapi.c mmap_cp.c mm_fill.c
17
18 CFILES = $(TARGETS:=.c)
19 LDIRT = $(TARGETS)
20
21 CFLAGS += -I.. -I$(TOPDIR)/dmapi/src/common -I/usr/include/xfs
22
23 LLDLIBS = $(TOPDIR)/dmapi/src/common/lib/libdmtest.la $(LIBDM)
24
25 default: depend $(TARGETS)
26
27 depend: .dep
28
29 include $(BUILDRULES)
30
31 install install-dev: default
32
33 $(TARGETS):
34         @echo "    [CC]    $@"
35         $(Q)$(LTLINK) $@.c -o $@ $(CFLAGS) $(LDFLAGS) $(LDLIBS)
36
37 -include .dep