diff options
| author | 2013-09-26 09:45:58 +0200 | |
|---|---|---|
| committer | 2013-09-26 09:45:58 +0200 | |
| commit | 9099c5d9e28ca6348fc1b0431f47e2592649ae84 (patch) | |
| tree | 3793c93f6f81061f78c3a78921d9c47c950c41c1 | |
| parent | e8aef4a02bb11d38dafd20108e86ab543f0987f6 (diff) | |
| download | libirecovery-9099c5d9e28ca6348fc1b0431f47e2592649ae84.tar.gz libirecovery-9099c5d9e28ca6348fc1b0431f47e2592649ae84.tar.bz2 | |
Move irecovery to new tools directory
| -rw-r--r-- | Makefile.am | 11 | ||||
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | src/Makefile.am | 6 | ||||
| -rw-r--r-- | tools/Makefile.am | 11 | ||||
| -rw-r--r-- | tools/irecovery.c (renamed from src/irecovery.c) | 0 |
5 files changed, 14 insertions, 15 deletions
diff --git a/Makefile.am b/Makefile.am index 3c8e304..69bb74a 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -1,12 +1,5 @@ | |||
| 1 | AUTOMAKE_OPTIONS = foreign | ||
| 2 | ACLOCAL_AMFLAGS = -I m4 | 1 | ACLOCAL_AMFLAGS = -I m4 |
| 3 | SUBDIRS = src include | 2 | SUBDIRS = src include tools |
| 4 | |||
| 5 | DISTCHECK_CONFIGURE_FLAGS = | ||
| 6 | 3 | ||
| 7 | pkgconfigdir = $(libdir)/pkgconfig | 4 | pkgconfigdir = $(libdir)/pkgconfig |
| 8 | pkgconfig_DATA = libirecovery.pc | 5 | pkgconfig_DATA = libirecovery.pc \ No newline at end of file |
| 9 | |||
| 10 | indent: | ||
| 11 | indent -kr -ut -ts4 -l120 src/*.c src/*.h | ||
| 12 | |||
diff --git a/configure.ac b/configure.ac index 0a89518..38a0d6c 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -96,6 +96,7 @@ AC_OUTPUT([ | |||
| 96 | Makefile | 96 | Makefile |
| 97 | src/Makefile | 97 | src/Makefile |
| 98 | include/Makefile | 98 | include/Makefile |
| 99 | tools/Makefile | ||
| 99 | libirecovery.pc | 100 | libirecovery.pc |
| 100 | ]) | 101 | ]) |
| 101 | 102 | ||
diff --git a/src/Makefile.am b/src/Makefile.am index a7027ee..ae0b2d5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
| @@ -9,9 +9,3 @@ libirecovery_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) | |||
| 9 | libirecovery_la_SOURCES = \ | 9 | libirecovery_la_SOURCES = \ |
| 10 | libirecovery.c | 10 | libirecovery.c |
| 11 | 11 | ||
| 12 | bin_PROGRAMS = irecovery | ||
| 13 | |||
| 14 | irecovery_SOURCES = irecovery.c | ||
| 15 | irecovery_CFLAGS = $(AM_CFLAGS) | ||
| 16 | irecovery_LDFLAGS = $(AM_LDFLAGS) $(IRECOVERY_LIBS) | ||
| 17 | irecovery_LDADD = ./libirecovery.la | ||
diff --git a/tools/Makefile.am b/tools/Makefile.am new file mode 100644 index 0000000..ac062c5 --- /dev/null +++ b/tools/Makefile.am | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include | ||
| 2 | |||
| 3 | AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS) | ||
| 4 | AM_LDFLAGS = $(libusb_LIBS) -lreadline | ||
| 5 | |||
| 6 | bin_PROGRAMS = irecovery | ||
| 7 | |||
| 8 | irecovery_SOURCES = irecovery.c | ||
| 9 | irecovery_CFLAGS = $(AM_CFLAGS) | ||
| 10 | irecovery_LDFLAGS = $(AM_LDFLAGS) | ||
| 11 | irecovery_LDADD = $(top_srcdir)/src/libirecovery.la \ No newline at end of file | ||
diff --git a/src/irecovery.c b/tools/irecovery.c index 075ee79..075ee79 100644 --- a/src/irecovery.c +++ b/tools/irecovery.c | |||
