chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
return any locally configured IP address if they exist
[elogind.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 9b1dcab7e48cdfaa4c55a01ca1b6a85fc282ff75..7f2f3a39c016dc0822ecb6e4ae07bab25c935a7b 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-23,6
+23,8
@@
lib_LTLIBRARIES = libnss_myhostname.la
EXTRA_DIST=bootstrap.sh README LICENSE
SUBDIRS=doc
EXTRA_DIST=bootstrap.sh README LICENSE
SUBDIRS=doc
+AM_CPPFLAGS = -include $(top_builddir)/config.h
+
MAINTAINERCLEANFILES=README
noinst_DATA = README
MAINTAINERCLEANFILES=README
noinst_DATA = README
@@
-39,8
+41,16
@@
homepage: all dist
.PHONY: homepage
.PHONY: homepage
-libnss_myhostname_la_SOURCES = nss-myhostname.c
-libnss_myhostname_la_LDFLAGS = -avoid-version -module -export-dynamic -shrext .so.2
+libnss_myhostname_la_SOURCES = \
+ nss-myhostname.c \
+ netlink.c \
+ netlink.h
+
+libnss_myhostname_la_LDFLAGS = \
+ -avoid-version \
+ -module \
+ -export-dynamic \
+ -shrext .so.2
install-exec-hook:
rm -f $(DESTDIR)$(libdir)/libnss_myhostname.la
install-exec-hook:
rm -f $(DESTDIR)$(libdir)/libnss_myhostname.la