Cross Reference:
xref
: /
systemd
/
Makefile
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
Makefile revision df2ce9dbb6e0d55aa375f57293a7b2bf31f44be7
# $Id$
CFLAGS
=-
Wall
-
pipe
-W -
O2
-
Wextra
-
Wno
-
unused
-
parameter
VERSION
=
0.1
libnss_myhostname.so
.
2
:
nss-myhostname.o
$(
CC
)
$(
CFLAGS
)
-
shared
-o $@ -
Wl
,-
soname
,$@ $^
strip
$@
install
:
install
-D -g
root
-m
644
-o
root
-v
libnss_myhostname.so
.
2
/
lib
/
libnss_myhostname.so.2
clean
:
rm
-f *.o *~
libnss_myhostname.so
.
2
nss-myhostname.tar.gz
:
rm
-
rf
"nss-myhostname-
$(
VERSION
)
"
mkdir
"nss-myhostname-
$(
VERSION
)
"
cp
Makefile
README
*.c
"nss-myhostname-
$(
VERSION
)
"
/
tar
czf
"nss-myhostname-
$(
VERSION
)
.tar.gz
" "nss-myhostname-
$(
VERSION
)
"
/
rm
-
rf
"nss-myhostname-
$(
VERSION
)
"
tar
:
nss-myhostname.tar.gz
.
PHONY
:
clean
install
tar