aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer_unix/Makefile.in
blob: 52406309835c3d5db5d09c90d7f10ef4b0fcbed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SRCS = DesktopWindow.cxx CConn.cxx vncviewer.cxx

OBJS = $(SRCS:.cxx=.o)

program = vncviewer

DEP_LIBS = ../tx/libtx.a ../rfb/librfb.a ../network/libnetwork.a \
           ../rdr/librdr.a

EXTRA_LIBS = @ZLIB_LIB@ @JPEG_LIB@ @X_PRE_LIBS@ @X_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@

DIR_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tx @X_CFLAGS@ # X_CFLAGS are really CPPFLAGS

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