blob: 25232f9e733e0303cd014892b83b6d2bf9245dbf (
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
|
$NetBSD: patch-aa,v 1.2 2002/12/09 00:19:47 rh Exp $
--- Makefile.orig Tue Apr 16 04:26:35 2002
+++ Makefile
@@ -1,7 +1,7 @@
# compiling with g++-3 worked for me with the commented ## lines - tpo
# path to c-client headers
-C = /usr/include/c-client
+C = ${PREFIX}/include/c-client
##C = /usr/include/c-client -I/usr/include/g++-v3/
# path to c-client library
@@ -15,16 +15,16 @@ CC = g++
##CC = g++-3.0
# flags for your compiler
-CFLAGS = -g -O2 -Wall -I$(C)
+CFLAGS += -Wall -I$(C)
# required libraries
-LDFLAGS = -lm -lssl
+LDFLAGS+= -lm -lssl -lcrypto -lc-client
# if your system requires pam to access crypt() you have to link pam in
#LDFLAGS = -lm -lssl -lpam
default: mailsync
-mailsync: mailsync.o $(CCLIENTLIB)
+mailsync: mailsync.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
|