mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Now that we have a utility library for file locking, remove all calls to liblockfile functions from libap and remove all links to the library from the current users of the libap liblockfile implementation (ap_tools/ap-check and zdev). Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/142 Suggested-by: Luca BRUNO <luca.bruno@coreos.com> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
27 lines
374 B
Makefile
27 lines
374 B
Makefile
include ../common.mak
|
|
|
|
lib = libap.a
|
|
|
|
check-dep-json:
|
|
touch check-dep-json
|
|
ifneq (${HAVE_JSONC},0)
|
|
$(call check_dep, \
|
|
"libap", \
|
|
"json-c/json.h", \
|
|
"json-c-devel", \
|
|
"HAVE_JSONC=0")
|
|
ALL_CPPFLAGS += -DHAVE_JSONC
|
|
endif
|
|
|
|
all: $(lib)
|
|
objects = ap.o
|
|
|
|
$(lib): $(objects)
|
|
|
|
$(objects): check-dep-json
|
|
|
|
install: all
|
|
|
|
clean:
|
|
rm -f *.o check-dep-lock check-dep-json $(lib)
|