aboutsummaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver/Makefile.in
blob: 8ece5516ca732709f3f288dac21a82b6725d830b (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/QueryConnectDialog.cxx

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

program = x0vncserver

DEP_LIBS = $(COMMON)/rfb/librfb.a \
           $(COMMON)/network/libnetwork.a \
           $(COMMON)/rdr/librdr.a \
	   $(TOP)/tx/libtx.a

EXTRA_LIBS = @ZLIB_LIB@ @JPEG_LIB@ @INET_LIB@ @X_PRE_LIBS@ @X_LIBS@ \
             @XTEST_LIB@ -lXext -lX11 @X_EXTRA_LIBS@ @CL_LIB@ @DMEDIA_LIB@

# X_CFLAGS are really CPPFLAGS
DIR_CPPFLAGS = -I$(COMMON) -I$(TOP) -I$(TOP)/tx -I$(TOP)/vncconfig \
  @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