35 lines
1.4 KiB
Text
35 lines
1.4 KiB
Text
$NetBSD: patch-ap,v 1.1 2005/03/02 21:42:48 wiz Exp $
|
|
|
|
--- imap/Makefile.in.orig 2004-05-28 14:03:02.000000000 -0400
|
|
+++ imap/Makefile.in
|
|
@@ -185,6 +185,9 @@ mupdate_err.c: mupdate_err.et
|
|
|
|
mupdate_err.h: mupdate_err.c
|
|
|
|
+mutex_pthread.o: mutex_pthread.c
|
|
+ $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $(PTHREAD_CFLAGS) $<
|
|
+
|
|
### Services
|
|
idled: idled.o mutex_fake.o libimap.a $(DEPLIBS)
|
|
$(CC) $(LDFLAGS) -o idled \
|
|
@@ -241,16 +244,16 @@ proxyd.pure: $(PROXYDOBJS) mutex_fake.o
|
|
|
|
mupdate: mupdate.o mupdate-slave.o mupdate-client.o mutex_pthread.o tls.o \
|
|
libimap.a $(DEPLIBS)
|
|
- $(CC) $(LDFLAGS) -o mupdate \
|
|
+ $(CC) $(LDFLAGS) $(PTHREAD_LDFLAGS) -o mupdate \
|
|
$(SERVICETHREAD) mupdate.o mupdate-slave.o mupdate-client.o \
|
|
mutex_pthread.o tls.o libimap.a \
|
|
- $(DEPLIBS) $(LIBS) $(LIB_WRAP) -lpthread
|
|
+ $(DEPLIBS) $(LIBS) $(LIB_WRAP) $(PTHREAD_LIBS)
|
|
|
|
mupdate.pure: mupdate.o mupdate-slave.o mupdate-client.o mutex_pthread.o \
|
|
libimap.a $(DEPLIBS)
|
|
- $(PURIFY) $(PUREOPT) $(CC) $(LDFLAGS) -o mupdate.pure \
|
|
+ $(PURIFY) $(PUREOPT) $(CC) $(LDFLAGS) $(PTHREAD_LDFLAGS) -o mupdate.pure \
|
|
$(SERVICETHREAD) mupdate.o mupdate-slave.o mupdate-client.o \
|
|
- mutex_pthread.o libimap.a $(DEPLIBS) $(LIBS) $(LIB_WRAP) -lpthread
|
|
+ mutex_pthread.o libimap.a $(DEPLIBS) $(LIBS) $(LIB_WRAP) $(PTHREAD_LIBS)
|
|
|
|
pop3d: pop3d.o backend.o tls.o mutex_fake.o libimap.a $(DEPLIBS) $(SERVICE)
|
|
$(CC) $(LDFLAGS) -o pop3d pop3d.o backend.o tls.o $(SERVICE) \
|