mirror of https://github.com/nirenjan/libx52.git
Reorganize source layout
parent
7bc0ba522c
commit
f0a0a7dcaf
|
@ -1,6 +1,6 @@
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = libx52 cli util libusbx52 test
|
SUBDIRS = lib utils
|
||||||
|
|
||||||
# Extra files that need to be in the distribution
|
# Extra files that need to be in the distribution
|
||||||
EXTRA_DIST = README.md LICENSE
|
EXTRA_DIST = README.md LICENSE
|
||||||
|
|
15
configure.ac
15
configure.ac
|
@ -24,15 +24,16 @@ AS_IF([test "x${have_libusb}" != xyes], [
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_SUBST([X52_PKG_VERSION], [0.1])
|
AC_SUBST([X52_PKG_VERSION], [0.1])
|
||||||
AC_SUBST([X52_INCLUDE], ["-I \$(top_srcdir)/libx52"])
|
AC_SUBST([X52_INCLUDE], ["-I \$(top_srcdir)/lib/libx52"])
|
||||||
AC_SUBST([X52_CORE_LIB], [../libx52/libx52.la])
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
libx52/Makefile
|
lib/Makefile
|
||||||
libusbx52/Makefile
|
lib/libx52/Makefile
|
||||||
cli/Makefile
|
lib/libusbx52/Makefile
|
||||||
util/Makefile
|
lib/libx52util/Makefile
|
||||||
test/Makefile
|
utils/Makefile
|
||||||
|
utils/cli/Makefile
|
||||||
|
utils/test/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
SUBDIRS = libx52 libx52util libusbx52
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
SUBDIRS = cli test
|
||||||
|
|
|
@ -5,7 +5,7 @@ bin_PROGRAMS = x52cli
|
||||||
# Command line utility that front ends the core library
|
# Command line utility that front ends the core library
|
||||||
x52cli_SOURCES = x52_cli.c
|
x52cli_SOURCES = x52_cli.c
|
||||||
x52cli_CFLAGS = @X52_INCLUDE@
|
x52cli_CFLAGS = @X52_INCLUDE@
|
||||||
x52cli_LDADD = @X52_CORE_LIB@
|
x52cli_LDADD = ../../lib/libx52/libx52.la
|
||||||
|
|
||||||
# Man pages for CLI utility
|
# Man pages for CLI utility
|
||||||
dist_man1_MANS = x52cli.man
|
dist_man1_MANS = x52cli.man
|
|
@ -5,7 +5,7 @@ bin_PROGRAMS = x52test
|
||||||
# Test utility that exercises all the library functions
|
# Test utility that exercises all the library functions
|
||||||
x52test_SOURCES = x52_test.c x52_test_mfd.c x52_test_led.c x52_test_clock.c
|
x52test_SOURCES = x52_test.c x52_test_mfd.c x52_test_led.c x52_test_clock.c
|
||||||
x52test_CFLAGS = @X52_INCLUDE@
|
x52test_CFLAGS = @X52_INCLUDE@
|
||||||
x52test_LDADD = @X52_CORE_LIB@
|
x52test_LDADD = ../../lib/libx52/libx52.la
|
||||||
|
|
||||||
# Extra files that need to be in the distribution
|
# Extra files that need to be in the distribution
|
||||||
EXTRA_DIST = x52_test_common.h
|
EXTRA_DIST = x52_test_common.h
|
Loading…
Reference in New Issue