blob: 58277c3a0748800678155ebcdd09ea80bee444b8 [file] [log] [blame]
Constantin Kaplinsky47ed8d32004-10-08 09:43:57 +00001
2SRCS = vncExt.c vncconfig.cxx
3
4OBJS = vncExt.o vncconfig.o
5
6program = vncconfig
7
8DEP_LIBS = ../tx/libtx.a ../rfb/librfb.a ../network/libnetwork.a \
9 ../rdr/librdr.a
10
11EXTRA_LIBS = @X_PRE_LIBS@ @X_LIBS@ -lX11 -lXext @X_EXTRA_LIBS@
12
13DIR_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tx @X_CFLAGS@ # X_CFLAGS are really CPPFLAGS
14
15all:: $(program)
16
17$(program): $(OBJS) buildtime.o $(DEP_LIBS)
18 rm -f $(program)
19 $(CXXLD) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) buildtime.o $(DEP_LIBS) $(LIBS) $(EXTRA_LIBS)
20
21buildtime.o: $(OBJS) $(DEP_LIBS)
22
23# followed by boilerplate.mk