From 954c5504a03a061ff43ec6c5334f342bd919badd Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 17 Jul 2012 00:22:29 +0200 Subject: changed build system to autofoo. previous Makefile is now Makefile.shared --- src/Makefile.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Makefile.am (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..a7027ee --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,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 -- cgit v1.1-32-gdbae