blob: c2de7ae947ba53d43b52e66cd1f4d54efb458500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
CFLAGS=-I. -I../include
VNCSERVERLIB=-L.. -lvncserver -L/usr/local/lib -lz -ljpeg -lpthread
LDFLAGS=$(VNCSERVERLIB)
ifdef CXX
LINK=$(CXX)
else
LINK=$(CC)
endif
all: example pnmshow sratest blooptest pnmshow24 fontsel vncev storepasswd
example: example.o ../libvncserver.a
$(LINK) -o example example.o $(LDFLAGS)
pnmshow: pnmshow.o ../libvncserver.a
$(LINK) -o pnmshow pnmshow.o $(LDFLAGS)
mac.o: mac.c 1instance.c
OSXvnc-server: mac.o ../libvncserver.a
$(LINK) -o OSXvnc-server mac.o $(LDFLAGS) $(OSX_LIBS)
storepasswd: storepasswd.o
$(LINK) -o storepasswd storepasswd.o $(LDFLAGS)
sratest: sratest.o
$(LINK) -o sratest sratest.o
sratest.o: ../sraRegion.c
$(CC) $(CFLAGS) -DSRA_TEST -c -o sratest.o ../sraRegion.c
blooptest: blooptest.o ../libvncserver.a
$(LINK) -o blooptest blooptest.o $(LDFLAGS)
blooptest.o: example.c
$(CC) $(CFLAGS) -DBACKGROUND_LOOP_TEST -c -o blooptest.o example.c
pnmshow24: pnmshow24.o ../libvncserver.a
$(LINK) -o pnmshow24 pnmshow24.o $(LDFLAGS)
fontsel: fontsel.o ../libvncserver.a
$(LINK) -o fontsel fontsel.o $(LDFLAGS)
vncev: vncev.o ../libvncserver.a
$(LINK) -o vncev vncev.o $(LDFLAGS)
pnmshow24.o pnmshow.o example.o mac.o blooptest.o: Makefile ../include/rfb.h
clean:
rm -f $(OBJS) *~ core "#"* *.bak *.orig
|