X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile;h=8c6e90c1a39a14e1e176b260cd218538709d24b7;hb=763bc0f3c614486817225e6f22d5892f28b7899b;hp=18a092696ae06b9d8351debabcfa9963da3766b7;hpb=a942b07a4483cfa4a5f0a8307e3b6239f7f44998;p=authbind.git diff --git a/Makefile b/Makefile index 18a0926..8c6e90c 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ CFLAGS= -g $(OPTIMISE) \ -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \ -DLIBAUTHBIND='"$(lib_dir)/$(LIBCANON)"' \ - -DHELPER='"$(lib_dir)/helper"' -DCONFIGDIR='"$(etc_dir)"' + -DHELPER='"$(lib_dir)/helper"' -DCONFIGDIR='"$(etc_dir)"' \ + -D_GNU_SOURCE MAJOR=1 MINOR=0 @@ -53,7 +54,7 @@ all: $(TARGETS) install: $(TARGETS) install -o root -g root -m 755 -d $(lib_dir) $(man1_dir) $(man8_dir) install -o root -g root -m 755 -s authbind $(bin_dir)/. - install -o root -g root -m 755 $(LIBTARGET) $(lib_dir)/. + install -o root -g root -m 644 $(LIBTARGET) $(lib_dir)/. strip --strip-unneeded $(lib_dir)/$(LIBTARGET) ln -sf $(LIBTARGET) $(lib_dir)/$(LIBCANON) install -o root -g root -m 4755 -s helper $(lib_dir)/.