1 lib_LTLIBRARIES = libsocket2unix.la
2 libsocket2unix_la_SOURCES = socket2unix.c
4 # Make sure the library is not writable. See README why this is important. Is
5 # not run with `make libsocket2unix.la`, but this isn't common usage.
6 all-local: $(lib_LTLIBRARIES)
7 find .libs -type f -exec chmod ugo-w '{}' \;
8 # `install` uses normal permissions, "fix" them so `make install` also
9 # installs non-writable files.
11 find $(DESTDIR)$(libdir) -type f -exec chmod ugo-w '{}' \;