summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: f80ffa7022c53a0f977117e9740e50024dd13529 (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
AM_CPPFLAGS = -I$(top_srcdir)/include

AM_CFLAGS = \
	$(GLOBAL_CFLAGS) \
	$(LFS_CFLAGS) \
	$(limd_glue_CFLAGS) \
	$(libusb_CFLAGS)

AM_LDFLAGS = \
	$(GLOBAL_LDFLAGS) \
	$(limd_glue_LIBS) \
	$(libusb_LIBS)

lib_LTLIBRARIES = libirecovery-1.0.la
libirecovery_1_0_la_CFLAGS = $(AM_CFLAGS)
libirecovery_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) -no-undefined
libirecovery_1_0_la_SOURCES = libirecovery.c

if WIN32
libirecovery_1_0_la_LDFLAGS += -avoid-version
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libirecovery-1.0.pc