summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: a7027eee7c4559a51fdae4a76041dff171b4d7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AM_CPPFLAGS = -I$(top_srcdir)/include

AM_CFLAGS = $(LIBIRECOVERY_CFLAGS)
AM_LDFLAGS = $(LIBIRECOVERY_LDFLAGS)
AM_LIBS = $(LIBIRECOVERY_LIBS)

lib_LTLIBRARIES = libirecovery.la
libirecovery_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) -no-undefined $(AM_LIBS)
libirecovery_la_SOURCES = \
		libirecovery.c

bin_PROGRAMS = irecovery

irecovery_SOURCES = irecovery.c
irecovery_CFLAGS = $(AM_CFLAGS)
irecovery_LDFLAGS = $(AM_LDFLAGS) $(IRECOVERY_LIBS)
irecovery_LDADD = ./libirecovery.la