700098a64c
Pine has historically built against an internal copy of the c-client library, however c-client development has progressed beyond what is shipped with pine. (It would appear that all new development work is being done via UW's imap server codebase.) This change allows pine to utilize improvements/bugfixes in the c-client library. In addition, the cclient port builds c-client as a a shared library. Now, pine links against this shared library. As a result, pine binaries are approximately 550k smaller. On the other hand, the c-client library itself is a good 650k. The real benefit here is that c-client may be shared amongst multiple binaries (i.e. imap-uw, php, and perl scripts using the p5-Mail-CClient module), thereby potentially reducing the overall disk and memory usage. PR: 19731 Submitted by: kbyanc@posi.net Reviewed by: will
29 lines
1014 B
Plaintext
29 lines
1014 B
Plaintext
--- pine/makefile.bsf.orig Thu Aug 27 09:49:51 1998
|
|
+++ pine/makefile.bsf Wed Jul 5 22:10:10 2000
|
|
@@ -50,7 +50,7 @@
|
|
PROFILE= # -pg
|
|
DEBUG= -DDEBUG # -g
|
|
|
|
-CCLIENTDIR= ../c-client
|
|
+CCLIENTDIR= $(PREFIX)/include/c-client
|
|
PICODIR= ../pico
|
|
|
|
# Only need to uncomment next two lines if you run make from this directory
|
|
@@ -61,12 +61,11 @@
|
|
LDAPOFILES= addrbook.o adrbkcmd.o args.o bldaddr.o init.o \
|
|
other.o pine.o takeaddr.o
|
|
|
|
-STDLIBS= -ltermlib
|
|
-LOCLIBS= $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a
|
|
-LIBS= $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
|
|
- `cat $(CCLIENTDIR)/LDFLAGS`
|
|
+STDLIBS= -ltermlib -lpam -L$(PREFIX)/lib -lc-client4
|
|
+LOCLIBS= $(PICODIR)/libpico.a
|
|
+LIBS= $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS)
|
|
|
|
-STDCFLAGS= -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE
|
|
+STDCFLAGS= -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE -I/usr/local/include
|
|
CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \
|
|
$(STDCFLAGS)
|
|
|