diff options
author | dscho <dscho> | 2002-04-23 10:35:00 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-04-23 10:35:00 +0000 |
commit | a73243f8c236d9807644ca34cddbe78fbef87402 (patch) | |
tree | 3e1636c7c821e236c247d0a2c7b29ac944211792 /Makefile | |
parent | b2865b4f830ebfc3f965a22c3982543fa442fb70 (diff) | |
download | libvncserver-a73243f8c236d9807644ca34cddbe78fbef87402.zip libvncserver-a73243f8c236d9807644ca34cddbe78fbef87402.tar.gz |
another solaris clean compile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,9 @@ INCLUDES=-I. VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg +# for Solaris +EXTRALIBS=-lsocket -lnsl -L/usr/X/lib + # Uncomment these two lines to enable use of PThreads #PTHREADDEF = -DHAVE_PTHREADS #PTHREADLIB = -lpthread @@ -14,7 +17,7 @@ OPTFLAGS=-g -Wall CFLAGS=$(OPTFLAGS) $(PTHREADDEF) $(FLAG24) $(INCLUDES) -DBACKCHANNEL RANLIB=ranlib -LIBS=$(LDFLAGS) $(VNCSERVERLIB) $(PTHREADLIB) +LIBS=$(LDFLAGS) $(VNCSERVERLIB) $(PTHREADLIB) $(EXTRALIBS) # for Mac OS X OSX_LIBS = -framework ApplicationServices -framework Carbon @@ -62,7 +65,7 @@ OSXvnc-server: mac.o libvncserver.a x11vnc.o: x11vnc.c 1instance.c x11vnc: x11vnc.o libvncserver.a - $(CC) -o x11vnc x11vnc.o libvncserver.a -lz -ljpeg $(XLIBS) + $(CC) -o x11vnc x11vnc.o $(LIBS) $(XLIBS) x11vnc_static: x11vnc.o libvncserver.a $(CC) -o x11vnc_static x11vnc.o libvncserver.a /usr/lib/libz.a /usr/lib/libjpeg.a $(XLIBS) |