blob: 1ade77dca5b9a572468029da2a229c4bc63690e8 (
plain) (
blame)
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
|
--- Makefile.orig Fri Dec 5 13:12:35 2003
+++ Makefile Fri Dec 5 13:13:13 2003
@@ -1,14 +1,14 @@
-BINDIR = /usr/etc
+BINDIR = ${PREFIX}/libexec
LIBDIR =
-CFLAGS = -g
-LFLAGS = -g
-CCM = cc -Em
+CFLAGS?= -O
+LFLAGS?= ${LDFLAGS}
+CCM = $(CC) -Em
OBJECTS = poppassd.o
-LIBS =
+LIBS = -lcrypt -lutil
poppassd: $(OBJECTS)
- cc -o poppassd $(LFLAGS) $(OBJECTS) $(LIBS)
+ $(CC) -o poppassd $(LFLAGS) $(OBJECTS) $(LIBS)
install: poppassd
install -g bin -o root -m 500 poppassd $(BINDIR)
@@ -17,4 +17,4 @@
rm -f *.o *~* core Makefile.new Makefile.bak poppassd
poppassd.o: poppassd.c
- cc -c $(CFLAGS) poppassd.c
+ $(CC) -c $(CFLAGS) poppassd.c
|