File: Makefile.am

package info (click to toggle)
pilot-link 0.12.5-dfsg-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 6,868 kB
  • ctags: 5,811
  • sloc: ansic: 53,153; sh: 10,459; java: 2,584; perl: 2,247; python: 1,044; makefile: 991; yacc: 662; cpp: 551; xml: 39
file content (91 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download | duplicates (4)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
INCLUDES = 			\
	-I../include		\
	-I$(top_srcdir)/include

bluetooth_FILES =	\
	bluetooth.c

serial_FILES = 		\
	unixserial.c
serial_SOURCE = unixserial.c

usb_FILES = 		\
	usb.c		\
	libusb.c	\
	linuxusb.c	\
	freebsdusb.c	\
	darwinusb.c

if WITH_LIBUSB
usb_SOURCE = usb.c libusb.c
endif

if WITH_LINUXUSB
usb_SOURCE = usb.c linuxusb.c
endif

if WITH_FREEBSDUSB
usb_SOURCE = usb.c freebsdusb.c
endif

if WITH_DARWINUSB
usb_SOURCE = usb.c darwinusb.c
endif

if WITH_BLUEZ
bluetooth_SOURCE = bluetooth.c
endif

lib_LTLIBRARIES = libpisock.la

# All new sources MUST be added here, or anything 
# building against libpisock will fail!
libpisock_la_SOURCES =  \
	$(bluetooth_SOURCE)	\
	$(serial_SOURCE)	\
	$(usb_SOURCE)		\
	address.c	\
	appinfo.c	\
	connect.c	\
	contact.c	\
	cmp.c		\
	datebook.c	\
	debug.c		\
	dlp.c		\
	expense.c	\
	hinote.c	\
	inet.c		\
	location.c	\
	blob.c	\
	calendar.c	\
	mail.c		\
	md5.c		\
	memo.c		\
	money.c		\
	net.c		\
	notepad.c	\
	padp.c		\
	palmpix.c	\
	pi-buffer.c	\
	pi-file.c	\
	pi-header.c	\
	serial.c	\
	slp.c		\
	sys.c		\
	socket.c	\
	syspkt.c	\
	threadsafe.c	\
	todo.c		\
	utils.c		\
	veo.c		\
	versamail.c

# Including PTHREAD_CFLAGS here is a dirty ugly kluge.  It works.
libpisock_la_LIBADD = \
	@usb_libs@ @PTHREAD_LIBS@ @PTHREAD_CFLAGS@ @BLUEZ_LIBS@

libpisock_la_LDFLAGS = \
	-export-dynamic -version-info $(PISOCK_CURRENT):$(PISOCK_REVISION):$(PISOCK_AGE)
libpisock_la_CFLAGS = $(PIC_LIBS) @PTHREAD_CFLAGS@ @BLUEZ_CFLAGS@

EXTRA_DIST = $(bluetooth_FILES) $(serial_FILES) $(usb_FILES)