blob: cbb9fed69dee3ca932cb3260c9753e0a9c7d9b36 (
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
|
SRCS = Image.cxx TimeMillis.cxx PollingScheduler.cxx PollingManager.cxx \
Geometry.cxx \
x0vncserver.cxx ../vncconfig_unix/QueryConnectDialog.cxx
OBJS = $(SRCS:.cxx=.o)
program = x0vncserver
DEP_LIBS = ../rfb/librfb.a \
../network/libnetwork.a \
../rdr/librdr.a \
../tx/libtx.a
EXTRA_LIBS = @ZLIB_LIB@ @JPEG_LIB@ @INET_LIB@ @X_PRE_LIBS@ @X_LIBS@ \
@XTEST_LIB@ -lXext -lX11 @X_EXTRA_LIBS@
# X_CFLAGS are really CPPFLAGS
DIR_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tx -I$(top_srcdir)/vncconfig_unix \
@XTEST_DEFINE@ @READDISPLAY_DEFINE@ @MITSHM_DEFINE@ @X_CFLAGS@
all:: $(program)
$(program): $(OBJS) buildtime.o $(DEP_LIBS)
rm -f $(program)
$(CXXLD) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) buildtime.o $(DEP_LIBS) $(LIBS) $(EXTRA_LIBS)
buildtime.o: $(OBJS) $(DEP_LIBS)
# followed by boilerplate.mk
|