blob: 79960f423c9f667785a55eba5235413d2919795f (
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
34
|
$NetBSD: patch-aa,v 1.3 2004/04/22 23:41:27 ben Exp $
--- Makefile.orig Thu Oct 24 07:03:07 2002
+++ Makefile
@@ -1,13 +1,13 @@
# 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 = ../../libs/imap-2002.RC5/c-client/
##C = /usr/include/c-client -I/usr/include/g++-v3/
# path to c-client library
# linking dynamically
-CCLIENTLIB = /usr/lib/libc-client.so
+CCLIENTLIB = ${PREFIX}/lib/libc-client.so
# linkging statically
#CCLIENTLIB = ../imap-2001a/c-client/c-client.a
@@ -16,10 +16,11 @@ CC = g++
##CC = g++-3.0
# flags for your compiler
-CFLAGS = -g -O2 -Wall -I$(C)
+CFLAGS += -I$(C)
# required libraries
-LDFLAGS = -lm -lssl -lgssapi_krb5
+LDFLAGS += -lm -lssl
+# -lgssapi_krb5
# if your system requires pam to access crypt() you have to link pam in
#LDFLAGS = -lm -lssl -lpam
|