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