summaryrefslogtreecommitdiffstats
path: root/vmchooser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vmchooser/Makefile')
-rw-r--r--vmchooser/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/vmchooser/Makefile b/vmchooser/Makefile
index 0512069..81cdfa9 100644
--- a/vmchooser/Makefile
+++ b/vmchooser/Makefile
@@ -1,20 +1,24 @@
-STATIC= -static
+STATIC=# -static
CXX=g++
-CFLAGS=-c -O2 -I../fltk-2/include/ -I. -Wall
+CFLAGS=-c -O2 -I../fltk-2/include/ -I. -Wall -g3
XMLFLAG=`xml2-config --cflags`
-LDFLAGS=`../fltk-2/bin/fltk2-config --ldstaticflags` -lXrender -lfontconfig -lxml2 -lXft -lXdmcp -lXau -ldl -lz -lfreetype -lX11
+BOOST=-lboost_regex-s
+LDFLAGS=-L../fltk-2/lib/ ../fltk-2/lib/libfltk2.a -lpng ../fltk-2/lib/libfltk2_images.a -ljpeg -lz -lXi -lXinerama -lpthread -lm -lXext -lsupc++ -lXrender -lfontconfig -lxml2 -lXft -lXdmcp -lXau -ldl -lz -lfreetype -lX11
-all: main SWindow readXmlDir runImage
- ${CXX} ${STATIC} main.o SWindow.o runImage.o readXmlDir.o -o vmchooser ${LDFLAGS}
+all: main SWindow readXmlDir readLinSess runImage
+ ${CXX} ${STATIC} main.o SWindow.o runImage.o readLinSess.o readXmlDir.o -o vmchooser ${LDFLAGS} ${BOOST}
strip vmchooser
-
+
SWindow:
${CXX} ${CFLAGS} -c SWindow.cxx -o SWindow.o
readXmlDir:
${CXX} ${CFLAGS} ${XMLFLAG} -o readXmlDir.o readXmlDir.cxx
+readLinSess:
+ ${CXX} ${CFLAGS} -o readLinSess.o readLinSess.cxx
+
runImage:
${CXX} ${CFLAGS} -o runImage.o runImage.cxx
@@ -23,4 +27,7 @@ main:
clean:
- rm -rf *.o vmchooser
+ rm -rf *.o test
+
+install:
+ cp vmchooser ../../../../../../openslx/trunk/os-plugins/plugins/vmchooser/files/