diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2018-08-08 17:19:34 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2018-08-08 17:22:16 -0400 |
commit | ca2637e4ddd64a85d7e0300b27b3765906265d7f (patch) | |
tree | b23339c31712bd5180434db3cfb45dfa0f3a2d46 /Makefile.in | |
parent | e6f6b0f854e531ce2a96de8b7fa827cbd924da5e (diff) | |
download | random-seed-ca2637e4ddd64a85d7e0300b27b3765906265d7f.tar.xz random-seed-ca2637e4ddd64a85d7e0300b27b3765906265d7f.zip |
Fix stuff.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in index 45593d3..ae356c6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,19 +1,25 @@ # @configure_input@ +VPATH = @abs_srcdir@ +abs_srcdir = @abs_srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ sbindir = @sbindir@ sysconfdir = @sysconfdir@ localstatedir = @localstatedir@ mandir = @mandir@ -CPPFLAGS = @CPPFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' -DLOCALSTATEDIR='"$(localstatedir)"' -CFLAGS = -Wall -Wextra -pedantic @SYSTEMD_CFLAGS@ @CFLAGS@ -MD -MP -UNDEBUG -include @abs_top_builddir@/config.h +systemdsystemunitdir = @systemdsystemunitdir@ + +CPPFLAGS = @CPPFLAGS@ +CFLAGS = -Wall -Wextra -pedantic @CFLAGS@ -MD -MP -UNDEBUG -include @abs_top_builddir@/config.h LDFLAGS = @LDFLAGS@ -LDLIBS = @SYSTEMD_LIBS@ -SRC ::= random-seed.c sha2.c util.c -OBJ ::= $(SRC:.c=.o) -DEP ::= $(SRC:.c=.d) -TEST_FILE ::= random-seed.test +SRC := random-seed.c sha2.c util.c +OBJ := $(SRC:.c=.o) +DEP := $(SRC:.c=.d) +TEST_FILE := random-seed.test all: random-seed @@ -21,9 +27,9 @@ random-seed: $(OBJ) install: random-seed install -D -m755 random-seed $(sbindir)/random-seed - install -D -m644 random-seed.8 $(mandir)/man8/random-seed.8 -ifneq (@systemdsystemunitdir@,) - install -D -m644 random-seed.service @systemdsystemunitdir@/random-seed.service + install -D -m644 $(abs_srcdir)/random-seed.8 $(mandir)/man8/random-seed.8 +ifneq ($(systemdsystemunitdir),) + install -D -m644 $(abs_srcdir)/random-seed.service $(systemdsystemunitdir)/random-seed.service endif test: $(TEST_FILE) |