aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: fd9ec35a6b34866e14d147675293123106a329e1 (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
37
38
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool
# documentation before making any modification
LIBVERSION=0:0:0

AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS=-Wall -Wno-unused-result $(LIBOSMOCORE_CFLAGS) $(LIBUSB_CFLAGS)

lib_LTLIBRARIES = libosmo-e1d.la

libosmo_e1d_la_SOURCES = \
	proto.c \
	proto_clnt.c \
	proto_srv.c \
	$(NULL)

libosmo_e1d_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined -export-symbols-regex '^osmo_'
libosmo_e1d_la_LIBADD = $(LIBOSMOCORE_LIBS)


noinst_HEADERS = \
	e1d.h \
	log.h \
	$(NULL)


bin_PROGRAMS = \
	osmo-e1d \
	$(NULL)

osmo_e1d_SOURCES = \
	ctl.c \
	log.c \
	osmo-e1d.c \
	usb.c \
	$(NULL)

osmo_e1d_LDADD = $(LIBOSMOCORE_LIBS) $(LIBUSB_LIBS) libosmo-e1d.la