mirror of
https://github.com/TigerVNC/tigervnc.git
synced 2024-08-21 17:54:34 +02:00
![Peter Åstrand](/assets/img/avatar_default.png)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@19 3789f03b-4d11-0410-bbf8-ca57d06f2519
24 lines
607 B
Makefile
24 lines
607 B
Makefile
|
|
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
|