summaryrefslogtreecommitdiffstats
path: root/examples/Makefile.am
blob: a77fa1563c1b30a9dcac599fe607ed27bf6e1ffa (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
AM_CFLAGS=-I.. -g -Wall
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@

if OSX
MAC=mac
mac_LDFLAGS=-framework ApplicationServices -framework Carbon -framework IOKit
endif

if WITH_TIGHTVNC_FILETRANSFER
FILETRANSFER=filetransfer
endif

if HAVE_LIBPTHREAD
BLOOPTEST=blooptest
endif

noinst_HEADERS=radon.h

noinst_PROGRAMS=example pnmshow regiontest pnmshow24 fontsel \
	vncev storepasswd colourmaptest simple simple15 $(MAC) \
	$(FILETRANSFER) backchannel $(BLOOPTEST)

blooptest.o: example.c
	$(CC) $(AM_CFLAGS) $(CFLAGS) -c -o $@ $<