Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Minor compile warning fixup and error checks
[palacios.git] / linux_usr / vnc / Makefile
1 # Generated automatically from Makefile.in:boilerplate.mk by configure.
2
3 V3FB_DIR = ../../palacios/linux_usr
4
5 SRCS = Image.cxx x0vncserver.cxx
6
7 OBJS = $(SRCS:.cxx=.o)  $(CSRCS:.c=.o)
8
9 program = x0vncserver
10
11 DEP_LIBS = ../rfb/librfb.a ../network/libnetwork.a ../rdr/librdr.a
12
13 EXTRA_LIBS = $(top_srcdir)/zlib/libz.a  -L/usr/lib64 $(top_srcdir)/Xregion/libXregion.a $(top_srcdir)/xlib/libX11.a $(top_srcdir)/xlib/libSM.a $(top_srcdir)/xlib/libICE.a $(top_srcdir)/xlib/libXtst.a $(top_srcdir)/xlib/libXext.a -L$(V3FB_DIR) -lv3_fb # -lX11 -lSM -lICE  -lXtst -lXext 
14
15 DIR_CPPFLAGS = -I$(top_srcdir)  -I$(V3FB_DIR) # X_CFLAGS are really CPPFLAGS
16
17 all:: $(program)
18
19 $(program): $(OBJS) buildtime.o $(DEP_LIBS)
20         rm -f $(program)
21         $(CXXLD) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) buildtime.o $(DEP_LIBS) $(LIBS) $(EXTRA_LIBS)
22
23 buildtime.o: $(OBJS) $(DEP_LIBS)
24
25 # followed by boilerplate.mk
26
27 all::
28         @subdirs="$(SUBDIRS)"; for d in $$subdirs; do (cd $$d; $(MAKE) $@) || exit 1; done
29
30 clean::
31         @subdirs="$(SUBDIRS)"; for d in $$subdirs; do (cd $$d; $(MAKE) $@) || exit 1; done
32
33 clean::
34         rm -f $(program) $(library) *.o
35
36 SHELL = /bin/sh
37 top_srcdir = ..
38
39 CC = gcc
40 CFLAGS = -g $(DIR_CFLAGS) #-O2 -Wall 
41 CCLD = $(CC)
42 CXX = c++
43 CXXFLAGS = -g #-O2 -Wall
44 CXXLD = $(CXX)
45 CPPFLAGS = 
46 DEFS =  
47 ALL_CPPFLAGS = $(CPPFLAGS) $(DEFS) $(DIR_CPPFLAGS)
48 LIBS = 
49 LDFLAGS = --whole-archive --static
50 RANLIB = ranlib
51 AR = ar cq
52
53 .SUFFIXES:
54 .SUFFIXES: .cxx .c .o
55
56 .c.o:
57         $(CC) $(ALL_CPPFLAGS) $(CFLAGS) -c $<
58
59 .cxx.o:
60         $(CXX) $(ALL_CPPFLAGS) $(CXXFLAGS) -c $<