summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordscho <dscho>2001-09-29 14:55:25 +0000
committerdscho <dscho>2001-09-29 14:55:25 +0000
commit58031bcb768f927d18ce7f781feff528855eefbd (patch)
tree540e869b70b30c8aef5db7e6d5000724cddcf4d3 /Makefile
parent25697e82162be3ebd449ba0eaca61e26916ee95d (diff)
downloadlibvncserver-58031bcb768f927d18ce7f781feff528855eefbd.zip
libvncserver-58031bcb768f927d18ce7f781feff528855eefbd.tar.gz
more pthread debugging
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 06885e8..7af948d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,16 @@
-#CC=cc
-CFLAGS=-g -Wall
-#CFLAGS=-O2 -Wall
-RANLIB=ranlib
-
INCLUDES=-I.
VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg
-# These two lines enable useage of PThreads
-CFLAGS += -DHAVE_PTHREADS
-VNCSERVERLIB += -lpthread
+# Uncomment these two lines to enable use of PThreads
+PTHREADDEF = -DHAVE_PTHREADS
+PTHREADLIB = -lpthread
+
+#CC=cc
+CFLAGS=-g -Wall $(PTHREADDEF)
+#CFLAGS=-O2 -Wall
+RANLIB=ranlib
-LIBS=$(LDFLAGS) $(VNCSERVERLIB)
+LIBS=$(LDFLAGS) $(VNCSERVERLIB) $(PTHREADLIB)
# for Mac OS X
OSX_LIBS = -framework ApplicationServices -framework Carbon
OpenPOWER on IntegriCloud