blob: 782b68040b00199e24e88c5ce56c920a22c25e71 [file] [log] [blame]
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00001
2PACKAGE = @PACKAGE@
3VERSION = @VERSION@
4
5prefix = @prefix@
6datadir = @datadir@
7localedir = $(datadir)/locale
8
9SRCS = DesktopWindow.cxx CConn.cxx vncviewer.cxx
10
11OBJS = $(SRCS:.cxx=.o)
12
13program = vncviewer
14
15DEP_LIBS = ../tx/libtx.a ../rfb/librfb.a ../network/libnetwork.a \
16 ../rdr/librdr.a
17
18EXTRA_LIBS = @ZLIB_LIB@ @JPEG_LIB@ @X_PRE_LIBS@ @X_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ @LIBINTL@
19
20DIR_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir) -I$(top_srcdir)/tx -I$(top_srcdir)/intl @X_CFLAGS@ # X_CFLAGS are really CPPFLAGS
21
22all:: $(program)
23
24$(program): $(OBJS) buildtime.o $(DEP_LIBS)
25 rm -f $(program)
26 $(CXXLD) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) buildtime.o $(DEP_LIBS) $(LIBS) $(EXTRA_LIBS)
27
28buildtime.o: $(OBJS) $(DEP_LIBS)
29
30# followed by boilerplate.mk