1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
CFLAGS = -g -O2 -Wall -Wsign-compare
MKDIR = mkdir
INSTALL = install
DESTDIR =
ETCDIR = /etc
BINDIR = /usr/bin
LIBEXECDIR = /usr/libexec
MANDIR = /usr/share/man
DATADIR = /usr/share/kafs-client
UNITDIR = /usr/lib/systemd/system
SPECFILE = redhat/kafs-client.spec
LNS := ln -sf
###############################################################################
#
# Determine the current package version from the specfile
#
###############################################################################
VERSION := $(word 2,$(shell grep "^Version:" $(SPECFILE)))
###############################################################################
#
# Build stuff
#
###############################################################################
all:
$(MAKE) -C src all
###############################################################################
#
# Clean up
#
###############################################################################
clean:
$(MAKE) -C src clean
$(RM) debugfiles.list debugsources.list
distclean: clean
$(MAKE) -C src distclean
|