mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
85aa525057
This patch gives the version info for two libraries. mkfs/libf2fs_format.la lib/libf2fs.la The versioning rule should be: 1. Start with version information of '0:0:0' for each libtool library. 2. Update the version information only immediately before a public release of your software. More frequent updates are unnecessary, and only guarantee that the current interface number gets larger faster. 2. If the library source code has changed at all since the last update, then increment revision (c:r:a) becomes (c:r+1:a). 3. If any interfaces have been added, removed, or changed since the last update, increment current, and set revision to 0. 4. If any interfaces have been added since the last public release, then increment age. 5. If any interfaces have been removed or changed since the last public release, then set age to 0. quoted from: http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
15 lines
661 B
Makefile
15 lines
661 B
Makefile
## Makefile.am
|
|
|
|
AM_CPPFLAGS = ${libuuid_CFLAGS} -I$(top_srcdir)/include
|
|
AM_CFLAGS = -Wall -DWITH_BLKDISCARD
|
|
sbin_PROGRAMS = mkfs.f2fs
|
|
mkfs_f2fs_SOURCES = f2fs_format_main.c f2fs_format.c f2fs_format_utils.c f2fs_format_utils.h $(top_srcdir)/include/f2fs_fs.h
|
|
mkfs_f2fs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/libf2fs.la
|
|
|
|
lib_LTLIBRARIES = libf2fs_format.la
|
|
libf2fs_format_la_SOURCES = f2fs_format_main.c f2fs_format.c f2fs_format_utils.c
|
|
libf2fs_format_la_CFLAGS = -DWITH_BLKDISCARD
|
|
libf2fs_format_la_CPPFLAGS = -I$(top_srcdir)/include
|
|
libf2fs_format_la_LDFLAGS = -luuid -L$(top_srcdir)/lib -lf2fs \
|
|
-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
|