summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordscho <dscho>2001-09-29 12:51:24 +0000
committerdscho <dscho>2001-09-29 12:51:24 +0000
commit282b071a43fc9a8a12c9cdb98296a801b9d65fd3 (patch)
treec00a687d6fac781d58e01a7a026be32ef6d13a29 /Makefile
parentc30ded8d532bc3b56c8945b88ac457417f5b3706 (diff)
downloadlibvncserver-282b071a43fc9a8a12c9cdb98296a801b9d65fd3.zip
libvncserver-282b071a43fc9a8a12c9cdb98296a801b9d65fd3.tar.gz
dropped miregion and all the X stuff in favour of Wez' sraRegion, added dox
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f41af55..2483a05 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-CC=cc
+#CC=cc
CFLAGS=-g -Wall
#CFLAGS=-O2 -Wall
RANLIB=ranlib
-INCLUDES=-I. -Iinclude
+INCLUDES=-I.
VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg
# These two lines enable useage of PThreads
@@ -17,11 +17,11 @@ OSX_LIBS = -framework ApplicationServices -framework Carbon
# for Example
-SOURCES=main.c rfbserver.c miregion.c auth.c sockets.c xalloc.c \
+SOURCES=main.c rfbserver.c sraRegion.c auth.c sockets.c \
stats.c corre.c hextile.c rre.c translate.c cutpaste.c \
zlib.c tight.c httpd.c cursor.o \
d3des.c vncauth.c
-OBJS=main.o rfbserver.o miregion.o auth.o sockets.o xalloc.o \
+OBJS=main.o rfbserver.o sraRegion.o auth.o sockets.o \
stats.o corre.o hextile.o rre.o translate.o cutpaste.o \
zlib.o tight.o httpd.o cursor.o \
d3des.o vncauth.o
@@ -50,9 +50,15 @@ OSXvnc-server: mac.o libvncserver.a
storepasswd: storepasswd.o d3des.o vncauth.o
$(CC) -o storepasswd storepasswd.o d3des.o vncauth.o
+sratest: sratest.o
+ $(CC) -o sratest sratest.o
+
+sratest.o: sraRegion.c
+ $(CC) $(CFLAGS) $(INCLUDES) -DSRA_TEST -c -o sratest.o sraRegion.c
+
clean:
rm -f $(OBJS) *~ core "#"* *.bak *.orig storepasswd.o \
- mac.o example.o pnmshow.o $(OBJS)
+ mac.o example.o pnmshow.o sratest.o $(OBJS)
realclean: clean
rm -f OSXvnc-server storepasswd example pnmshow libvncserver.a
OpenPOWER on IntegriCloud