aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 42fd1d65573962ca403f4dcd1d4931bfeeb5cf19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
AUTOMAKE_OPTIONS = foreign

noinst_PROGRAMS = hidio.@EXTENSION@
SOURCES = hidio.c hidio_types.c
LDADD = 

noinst_HEADERS = hidio.h input_arrays.h

EXTRA_SUBDIRS = 

if MACOSX
SOURCES += hidio_darwin.c
EXTRA_SUBDIRS += HID_Utilities_Source
LDADD += HID_Utilities_Source/libHIDUtilities.a
CFLAGS += -IHID_Utilities_Source
LDFLAGS += -bundle -undefined dynamic_lookup \
	-framework Carbon -framework IOKit -framework ForceFeedback
endif

if LINUX
SOURCES += hidio_linux.c input_arrays.c
endif

if WINDOWS
SOURCES += hidio_windows.c
endif

# files that are included but not built
EXTRA_DIST = COPYING README TODO

# subdirs that are built
SUBDIRS = $(EXTRA_SUBDIRS)

# subdirs that are always included in the dist, etc.
DIST_SUBDIRS = HID_Utilities_Source