CFLAGS= -g $(OPTIMISE) \
-Wall -Wwrite-strings -Wpointer-arith -Wimplicit \
-Wnested-externs -Wmissing-prototypes -Wstrict-prototypes
CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \
-DLIBAUTHBIND='"$(lib_dir)/$(LIBCANON)"' \
CFLAGS= -g $(OPTIMISE) \
-Wall -Wwrite-strings -Wpointer-arith -Wimplicit \
-Wnested-externs -Wmissing-prototypes -Wstrict-prototypes
CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \
-DLIBAUTHBIND='"$(lib_dir)/$(LIBCANON)"' \
- 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 644 $(LIBTARGET) $(lib_dir)/.
+ $(INSTALL_DIR) $(lib_dir) $(man1_dir) $(man8_dir)
+ $(INSTALL_PROGRAM) $(BINTARGETS) $(bin_dir)/.
+ $(INSTALL_FILE) $(LIBTARGET) $(lib_dir)/.
- install -o root -g root -m 4755 -s helper $(lib_dir)/.
- install -o root -g root -m 755 -d $(etc_dir) \
+ $(INSTALL_PROGRAM) $(HELPER) $(libexec_dir)/.
+ chmod u+s $(libexec_dir)/$(HELPER)
+ $(INSTALL_DIR) $(etc_dir) \
- install -o root -g root -m 644 $(MANPAGES_1) $(man1_dir)/.
- install -o root -g root -m 644 $(MANPAGES_8) $(man8_dir)/.
+ $(INSTALL_FILE) $(MANPAGES_1) $(man1_dir)/.
+ $(INSTALL_FILE) $(MANPAGES_8) $(man8_dir)/.