File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 @@ -6,7 +6,7 @@ pkgconfig_DATA = libsysfs.pc
66lib_LTLIBRARIES = libsysfs.la
77libsysfs_la_SOURCES = sysfs_utils.c sysfs_attr.c sysfs_class.c dlist.c \
88 sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
9- libsysfs_la_CPPFLAGS = -I.. /include
9+ libsysfs_la_CPPFLAGS = -I$( top_srcdir ) /include
1010libsysfs_la_LDFLAGS = -version-info 2:1:0
1111EXTRA_CFLAGS = @EXTRA_CLFAGS@
1212libsysfs_la_CFLAGS = -Wall -W -Wextra -Wstrict-prototypes $(EXTRA_CLFAGS )
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ 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- $(AM_V_GEN ) . /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