src/hidapi/Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Tue, 16 Oct 2018 08:29:27 -0700
changeset 12332 c80f702e4b8b
parent 12098 8eb14aba4e87
permissions -rw-r--r--
Support vibration magnitude on Android 8.0 (thanks Rachel!)
slouken@12098
     1
slouken@12098
     2
ACLOCAL_AMFLAGS = -I m4
slouken@12098
     3
slouken@12098
     4
if OS_FREEBSD
slouken@12098
     5
pkgconfigdir=$(prefix)/libdata/pkgconfig
slouken@12098
     6
else
slouken@12098
     7
pkgconfigdir=$(libdir)/pkgconfig
slouken@12098
     8
endif
slouken@12098
     9
slouken@12098
    10
if OS_LINUX
slouken@12098
    11
pkgconfig_DATA=pc/hidapi-hidraw.pc pc/hidapi-libusb.pc
slouken@12098
    12
else
slouken@12098
    13
pkgconfig_DATA=pc/hidapi.pc
slouken@12098
    14
endif
slouken@12098
    15
slouken@12098
    16
SUBDIRS=
slouken@12098
    17
slouken@12098
    18
if OS_LINUX
slouken@12098
    19
SUBDIRS += linux libusb
slouken@12098
    20
endif
slouken@12098
    21
slouken@12098
    22
if OS_DARWIN
slouken@12098
    23
SUBDIRS += mac
slouken@12098
    24
endif
slouken@12098
    25
slouken@12098
    26
if OS_IOS
slouken@12098
    27
SUBDIRS += ios
slouken@12098
    28
endif
slouken@12098
    29
slouken@12098
    30
if OS_FREEBSD
slouken@12098
    31
SUBDIRS += libusb
slouken@12098
    32
endif
slouken@12098
    33
slouken@12098
    34
if OS_KFREEBSD
slouken@12098
    35
SUBDIRS += libusb
slouken@12098
    36
endif
slouken@12098
    37
slouken@12098
    38
if OS_WINDOWS
slouken@12098
    39
SUBDIRS += windows
slouken@12098
    40
endif
slouken@12098
    41
slouken@12098
    42
SUBDIRS += hidtest
slouken@12098
    43
slouken@12098
    44
if BUILD_TESTGUI
slouken@12098
    45
SUBDIRS += testgui
slouken@12098
    46
endif
slouken@12098
    47
slouken@12098
    48
EXTRA_DIST = udev doxygen
slouken@12098
    49
slouken@12098
    50
dist_doc_DATA = \
slouken@12098
    51
 README.txt \
slouken@12098
    52
 AUTHORS.txt \
slouken@12098
    53
 LICENSE-bsd.txt \
slouken@12098
    54
 LICENSE-gpl3.txt \
slouken@12098
    55
 LICENSE-orig.txt \
slouken@12098
    56
 LICENSE.txt
slouken@12098
    57
slouken@12098
    58
SCMCLEAN_TARGETS= \
slouken@12098
    59
 aclocal.m4 \
slouken@12098
    60
 config.guess \
slouken@12098
    61
 config.sub \
slouken@12098
    62
 configure \
slouken@12098
    63
 config.h.in \
slouken@12098
    64
 depcomp \
slouken@12098
    65
 install-sh \
slouken@12098
    66
 ltmain.sh \
slouken@12098
    67
 missing \
slouken@12098
    68
 mac/Makefile.in \
slouken@12098
    69
 testgui/Makefile.in \
slouken@12098
    70
 libusb/Makefile.in \
slouken@12098
    71
 Makefile.in \
slouken@12098
    72
 linux/Makefile.in \
slouken@12098
    73
 windows/Makefile.in \
slouken@12098
    74
 m4/libtool.m4 \
slouken@12098
    75
 m4/lt~obsolete.m4 \
slouken@12098
    76
 m4/ltoptions.m4 \
slouken@12098
    77
 m4/ltsugar.m4 \
slouken@12098
    78
 m4/ltversion.m4
slouken@12098
    79
slouken@12098
    80
SCMCLEAN_DIR_TARGETS = \
slouken@12098
    81
 autom4te.cache
slouken@12098
    82
slouken@12098
    83
scm-clean: distclean
slouken@12098
    84
	rm -f $(SCMCLEAN_TARGETS)
slouken@12098
    85
	rm -Rf $(SCMCLEAN_DIR_TARGETS)