summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 547870e2e9ede8e8a4eaaa5236d660c0b08fdfde (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
AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS)
AM_LDFLAGS = $(libusb_LIBS) -lpthread -lrt

# Libraries

noinst_LTLIBRARIES = libusbmux.la libsock_stuff.la
libsock_stuff_la_SOURCES = sock_stuff.c \
			   sock_stuff.h

libusbmux_la_SOURCES = usbmux.c \
		       usbmux.h
libusbmux_la_CFLAGS = $(AM_CFLAGS)
libusbmux_la_LDFLAGS = $(AM_LDFLAGS)

lib_LTLIBRARIES = libusbmuxd.la
libusbmuxd_la_SOURCES = libusbmuxd.c \
		        usbmuxd.h \
		        usbmuxd-proto.h
libusbmuxd_la_LIBADD = libsock_stuff.la

include_HEADERS = usbmuxd.h \
		  usbmuxd-proto.h

# Programs

sbin_PROGRAMS = usbmuxd

usbmuxd_SOURCES = main.c
usbmuxd_LDADD = libusbmux.la \
	        libsock_stuff.la