mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 15:50:03 +02:00
makefile changed
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@114 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
parent
832287af9e
commit
29a9678d3b
@ -1,18 +1,29 @@
|
|||||||
PROG= bin/slsDetectorGui
|
|
||||||
|
PROG= $(DESTDIR)/slsDetectorGui
|
||||||
DIR= $(shell ls src/* slsDetectorPlotting/include/* slsDetectorPlotting/src/* include/* forms/include/*)
|
DIR= $(shell ls src/* slsDetectorPlotting/include/* slsDetectorPlotting/src/* include/* forms/include/*)
|
||||||
|
DESTDIR?=bin
|
||||||
|
DOCDIR?=docs
|
||||||
|
LIBDIR?=../slsDetectorSoftware
|
||||||
|
|
||||||
|
|
||||||
all: $(PROG)
|
all: $(PROG) Makefile.gui
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
if test -e Makefile.gui; then make -f Makefile.gui clean; make -f Makefile.gui mocclean; rm Makefile.gui; else make Makefile.gui; make -f Makefile.gui clean; make -f Makefile.gui mocclean; fi
|
if test -e Makefile.gui; then make -f Makefile.gui clean; make -f Makefile.gui mocclean; rm Makefile.gui; else make Makefile.gui; make -f Makefile.gui clean; make -f Makefile.gui mocclean; fi
|
||||||
|
cd manual && make clean
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Makefile.gui: slsDetectorGui.pro
|
Makefile.gui: slsDetectorGui.pro
|
||||||
qmake -o Makefile.gui
|
qmake -o Makefile.gui INCLUDES='$(INCLUDES)' DESTDIR=$(DESTDIR)
|
||||||
|
|
||||||
|
doc:
|
||||||
|
cd manual && make DESTDIR=$(DOCDIR)
|
||||||
|
|
||||||
|
htmldoc:
|
||||||
|
cd manual && make html DESTDIR=$(DOCDIR)
|
||||||
|
|
||||||
$(PROG): Makefile.gui $(DIR)
|
$(PROG): Makefile.gui $(DIR)
|
||||||
make -f Makefile.gui
|
echo $(LDFLAG)
|
||||||
|
make -f Makefile.gui SLSDETLIB=$(LIBDIR) DESTDIR=$(DESTDIR) SUBLIBS='$(LDFLAG)' INCLUDES='$(INCLUDES)'
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
DESTDIR = bin
|
|
||||||
|
|
||||||
|
DESTDIR ?= bin
|
||||||
MOC_DIR = mocs
|
MOC_DIR = mocs
|
||||||
OBJECTS_DIR = objs
|
OBJECTS_DIR = objs
|
||||||
UI_HEADERS_DIR = forms/include
|
UI_HEADERS_DIR = forms/include
|
||||||
|
SLSDETLIB ?=../slsDetectorSoftware
|
||||||
RESOURCES += icons.qrc
|
RESOURCES += icons.qrc
|
||||||
|
|
||||||
CONFIG += debug
|
CONFIG += debug
|
||||||
@ -18,12 +20,13 @@ documentation.path = /$(DOCPATH)
|
|||||||
documentation.files = docs/*
|
documentation.files = docs/*
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
INSTALLS += documentation
|
INSTALLS += documentation
|
||||||
QMAKE_CLEAN += docs/*/* \
|
QMAKE_CLEAN += docs/*/*
|
||||||
$(DESTDIR)*
|
|
||||||
|
|
||||||
|
|
||||||
LIBS += -Wl,-Bstatic -L../slsDetectorSoftware -lSlsDetector -Wl,-Bdynamic\
|
#LIBS += -Wl,-Bstatic -L../slsDetectorSoftware -lSlsDetector -Wl,-Bdynamic\
|
||||||
-L$(QWTDIR)/lib -lqwt -L$(QWT3D)/lib
|
# -L$(QWTDIR)/lib -lqwt -L$(QWT3D)/lib
|
||||||
|
|
||||||
|
LIBS += -L$(QWTDIR)/lib -lqwt -L$(QWT3D)/lib
|
||||||
|
|
||||||
DEPENDPATH += \
|
DEPENDPATH += \
|
||||||
slsDetectorPlotting/include\
|
slsDetectorPlotting/include\
|
||||||
@ -33,21 +36,23 @@ DEPENDPATH += \
|
|||||||
|
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
$(shell echo "/lib/modules/`uname -r`/build/include") \
|
|
||||||
$(QWTDIR)/include\
|
$(QWTDIR)/include\
|
||||||
$(QWTDIR) \
|
$(QWTDIR) \
|
||||||
$(QWTDIR)/src\
|
$(QWTDIR)/src\
|
||||||
$(QWT3D)/include\
|
$(QWT3D)/include\
|
||||||
slsDetectorPlotting/include\
|
slsDetectorPlotting/include\
|
||||||
include\
|
include\
|
||||||
forms/include\
|
forms/include\
|
||||||
../slsDetectorSoftware/commonFiles\
|
$(INCLUDES)
|
||||||
../slsDetectorSoftware/MySocketTCP\
|
|
||||||
../slsDetectorSoftware/slsReceiverInterface\
|
# $(shell echo "/lib/modules/`uname -r`/build/include") \
|
||||||
../slsDetectorSoftware/slsDetector\
|
# ../slsDetectorSoftware/commonFiles\
|
||||||
../slsDetectorSoftware/slsDetectorAnalysis\
|
# ../slsDetectorSoftware/MySocketTCP\
|
||||||
../slsDetectorSoftware/multiSlsDetector\
|
# ../slsDetectorSoftware/slsReceiverInterface\
|
||||||
../slsDetectorSoftware/usersFunctions
|
# ../slsDetectorSoftware/slsDetector\
|
||||||
|
# ../slsDetectorSoftware/slsDetectorAnalysis\
|
||||||
|
# ../slsDetectorSoftware/multiSlsDetector\
|
||||||
|
# ../slsDetectorSoftware/usersFunctions
|
||||||
|
|
||||||
SOURCES = \
|
SOURCES = \
|
||||||
slsDetectorPlotting/src/SlsQt1DPlot.cxx\
|
slsDetectorPlotting/src/SlsQt1DPlot.cxx\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user