Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 1 | |
Constantin Kaplinsky | e179b5a | 2006-02-17 09:30:21 +0000 | [diff] [blame] | 2 | SRCS = Image.cxx TimeMillis.cxx PollingScheduler.cxx PollingManager.cxx \ |
Constantin Kaplinsky | 44e9964 | 2006-05-20 12:58:38 +0000 | [diff] [blame] | 3 | Geometry.cxx \ |
Constantin Kaplinsky | 441eaa1 | 2006-04-17 08:55:53 +0000 | [diff] [blame] | 4 | x0vncserver.cxx ../vncconfig_unix/QueryConnectDialog.cxx |
Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 5 | |
| 6 | OBJS = $(SRCS:.cxx=.o) |
| 7 | |
| 8 | program = x0vncserver |
| 9 | |
Constantin Kaplinsky | a1d2cef | 2006-04-17 08:46:22 +0000 | [diff] [blame] | 10 | DEP_LIBS = ../rfb/librfb.a \ |
| 11 | ../network/libnetwork.a \ |
| 12 | ../rdr/librdr.a \ |
| 13 | ../tx/libtx.a |
Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 14 | |
Constantin Kaplinsky | d397b77 | 2005-09-09 12:17:32 +0000 | [diff] [blame] | 15 | EXTRA_LIBS = @ZLIB_LIB@ @JPEG_LIB@ @INET_LIB@ @X_PRE_LIBS@ @X_LIBS@ \ |
| 16 | @XTEST_LIB@ -lXext -lX11 @X_EXTRA_LIBS@ |
Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 17 | |
Constantin Kaplinsky | d397b77 | 2005-09-09 12:17:32 +0000 | [diff] [blame] | 18 | # X_CFLAGS are really CPPFLAGS |
Constantin Kaplinsky | 441eaa1 | 2006-04-17 08:55:53 +0000 | [diff] [blame] | 19 | DIR_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tx -I$(top_srcdir)/vncconfig_unix \ |
Constantin Kaplinsky | d397b77 | 2005-09-09 12:17:32 +0000 | [diff] [blame] | 20 | @XTEST_DEFINE@ @READDISPLAY_DEFINE@ @MITSHM_DEFINE@ @X_CFLAGS@ |
Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 21 | |
| 22 | all:: $(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 | |
| 28 | buildtime.o: $(OBJS) $(DEP_LIBS) |
| 29 | |
| 30 | # followed by boilerplate.mk |