1 ###########################################################################
2 # Makefile for BPALogin v2.0
6 # Install locations as determined by configure
9 SBINPATH
=${exec_prefix}/sbin
13 # Locations of system utilities as determined by configure
15 CHKCONFIG
=/sbin
/chkconfig
16 INSTALL
=/usr
/bin
/install -c
21 CFLAGS
=-g
-O2
-Wall
$(EXTRACFLAGS
)
25 OBJS
= bpalogin.o protocol.o transaction.o gen_md5.o unixmain.o get_time.o
28 $(CC
) -o
$@
$(OBJS
) $(LIBS
) $(LDFLAGS
)
37 rm -f bpalogin config.log config.cache config.status Makefile bpalogin.h
39 bpalogin.h
: bpalogin.h.in
40 $(SED
) 's#@@BPALOGIN_CONF@@#$(ETCPATH)/bpalogin.conf#' < bpalogin.h.in
> bpalogin.h
45 install bpalogin
$(INSTALLDIR
)/usr
/sbin
46 $(STRIP
) $(INSTALLDIR
)/usr
/sbin
/bpalogin