File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11* .la
22* .lo
33* .o
4+ * .pc
45.deps
56.libs
67INSTALL
Original file line number Diff line number Diff line change 11bin_PROGRAMS = systool
22systool_SOURCES = systool.c names.c names.h
3- LDADD = .. /lib/libsysfs.la
3+ LDADD = $( top_builddir ) /lib/libsysfs.la
44EXTRA_CFLAGS = @EXTRA_CFLAGS@
5- AM_CPPFLAGS = -I.. /include
5+ AM_CPPFLAGS = -I$( top_srcdir ) /include
66AM_CFLAGS = -Wall -W -Wextra -Wstrict-prototypes $(EXTRA_CFLAGS )
77
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ AC_CHECK_FUNCS([bzero isascii memset strchr strerror strrchr strstr strtol])
5656
5757AC_CONFIG_FILES ( [ Makefile
5858 lib/Makefile
59+ lib/libsysfs.pc
5960 cmd/Makefile
6061 test/Makefile] )
6162AC_CONFIG_HEADERS ( [ config.h] )
Original file line number Diff line number Diff line change 1+ EXTRA_DIST = libsysfs.pc.in
2+
3+ pkgconfigdir = $(libdir ) /pkgconfig
4+ pkgconfig_DATA = libsysfs.pc
5+
16lib_LTLIBRARIES = libsysfs.la
27libsysfs_la_SOURCES = sysfs_utils.c sysfs_attr.c sysfs_class.c dlist.c \
38 sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
4- libsysfs_la_CPPFLAGS = -I.. /include
9+ libsysfs_la_CPPFLAGS = -I$( top_srcdir ) /include
510libsysfs_la_LDFLAGS = -version-info 2:1:0
611EXTRA_CFLAGS = @EXTRA_CLFAGS@
712libsysfs_la_CFLAGS = -Wall -W -Wextra -Wstrict-prototypes $(EXTRA_CLFAGS )
Original file line number Diff line number Diff line change 1+ prefix=@prefix@
2+ exec_prefix=@exec_prefix@
3+ libdir=@libdir@
4+ includedir=@includedir@
5+
6+ Name: libsysfs
7+ Description: interface to Linux sysfs
8+ Version: @VERSION@
9+ URL: https://github.com/linux-ras/sysfsutils
10+ Libs: -L${libdir} -lsysfs
11+ Cflags: -I${includedir}
Original file line number Diff line number Diff line change 1- bin_PROGRAMS = dlist_test get_device get_driver get_module testlibsysfs
1+ check_PROGRAMS = dlist_test get_device get_driver get_module testlibsysfs
22BUILT_SOURCES = test.h
33CLEANFILES = test.h
44test.h : libsysfs.conf create-test
5- . /create-test
5+ $( AM_V_GEN ) $( srcdir ) /create-test $( srcdir ) /libsysfs.conf
66get_device_SOURCES = get_device.c
77get_driver_SOURCES = get_driver.c
88get_module_SOURCES = get_module.c
99testlibsysfs_SOURCES = test.c test_attr.c test_bus.c test_class.c \
1010 test_device.c test_driver.c test_module.c test_utils.c \
1111 testout.c test-defs.h libsysfs.conf create-test
12- AM_CPPFLAGS = -I.. /include
13- LDADD = .. /lib/libsysfs.la
12+ AM_CPPFLAGS = -I$( top_srcdir ) /include
13+ LDADD = $( top_builddir ) /lib/libsysfs.la
1414EXTRA_CFLAGS = @EXTRA_CLFAGS@
1515AM_CFLAGS = -Wall -W -Wextra -Wstrict-prototypes $(EXTRA_CLFAGS )
1616
Original file line number Diff line number Diff line change 22
33rm -f test.h
44
5- conf_file=./ libsysfs.conf
5+ conf_file=${1 :- libsysfs.conf}
66
77. $conf_file
88
You can’t perform that action at this time.
0 commit comments