summaryrefslogtreecommitdiff
blob: b6fb97623729d621cdd00fc0586d27fd2a0c4536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Makefile.in
+++ Makefile.in
@@ -1,8 +1,17 @@
 LIBS=@LIBS@
-CFLAGS=-O3 -Wall -include config.h
+CFLAGS=@CFLAGS@ -Wall -include config.h
 CC=@CC@
+
+DESTDIR     =
+prefix      = @prefix@
+exec_prefix = @exec_prefix@
+bindir      = @bindir@
 
-ALL: bnc mkpasswd
+all ALL: bnc mkpasswd
+
+install: bnc mkpasswd
+	install -m 755 -d $(DESTDIR)$(bindir)
+	install -m 755 bnc mkpasswd bncchk bncsetup $(DESTDIR)$(bindir)
 
 mkpasswd:mkpasswd.c
 	${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS} 
--- configure.in
+++ configure.in
@@ -35,7 +35,7 @@
 dnl Check for SSL support.
 AC_MSG_CHECKING(whether to enable SSL support)
 AC_ARG_WITH(ssl,
-[  -with-ssl              Enable SSL support],
+[  --with-ssl              Enable SSL support],
 [ case "$withval" in
     yes)
       AC_MSG_RESULT(yes)