mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
In preparation for a new feature, introduce property file handling routines. A property file stores key value pairs in a text file. Optionally a hash of all keys and values contained in the properties file can be generated to ensure integrity of the properties file and to detect manual modifications. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
25 lines
507 B
Makefile
25 lines
507 B
Makefile
include ../common.mak
|
|
|
|
CPPFLAGS += -I../include
|
|
LDLIBS += -ldl -lcrypto
|
|
|
|
all: zkey
|
|
|
|
libs = $(rootdir)/libutil/libutil.a
|
|
|
|
zkey.o: zkey.c pkey.h misc.h
|
|
properties.o: properties.c properties.h
|
|
|
|
zkey: zkey.o properties.o $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(USRBINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 zkey $(DESTDIR)$(USRBINDIR)
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man1
|
|
$(INSTALL) -m 644 -c zkey.1 $(DESTDIR)$(MANDIR)/man1
|
|
|
|
clean:
|
|
rm -f *.o zkey
|
|
|
|
.PHONY: all install clean
|