IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28062


Ignore:
Timestamp:
May 20, 2010, 6:44:59 PM (16 years ago)
Author:
eugene
Message:

adding support for qt-everywhere in the standard build (needed by VerifyStreaks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/Makefile

    r26890 r28062  
     1
     2# necessary support for libQt (only used by magic)
     3QTDIR = qt-everywhere-opensource-src-4.6.1
     4QTSRC = ~/magic_tarballs/qt-everywhere-opensource-src-4.6.1.tar.gz
     5PSCFG = ../psconfig/psconfig.csh
     6PSPREFIX := $(shell csh $(PSCFG) $(PSVERSION) --prefix)
    17
    28default: all
    39
    4 all: ssa-core-cpp magic verify
     10all: qt-everywhere ssa-core-cpp magic verify
    511
    612install: magic.install verify.install
     
    1420        tar xvzf ~/magic.tgz
    1521        tar xvzf ~/ssa-core-cpp.tgz
     22        tar xvzf $(QTSRC)
    1623        cp Makefile.magic magic/Makefile.magic
    1724        cp magic/VerifyStreaks/main.cpp verify/VerifyStreaks.cpp
     25
     26qt-everywhere: $(QTDIR)/lib/libQtCore.so
     27
     28QTOPT = -fast \
     29        -opensource \
     30        -nomake tools \
     31        -nomake examples \
     32        -nomake demos \
     33        -nomake docs \
     34        -nomake translations \
     35        -no-xmlpatterns \
     36        -no-multimedia \
     37        -no-audio-backend \
     38        -no-phonon \
     39        -no-phonon-backend \
     40        -no-svg \
     41        -no-webkit \
     42        -no-javascript-jit \
     43        -no-script \
     44        -no-scripttools
     45
     46$(QTDIR)/lib/libQtCore.so: $(QTSRC)
     47        echo $(PSCFG)
     48        echo $(PSPREFIX)
     49        if [ -d $(QTDIR) ]; then (cd $(QTDIR) && echo "yes" | ./configure $(QTOPT) -prefix $(PSPREFIX)); fi
     50        if [ -d $(QTDIR) ]; then (cd $(QTDIR) && make); fi
     51        if [ -d $(QTDIR) ]; then (cd $(QTDIR) && make install); fi
    1852
    1953ssa-core-cpp: ssa-core-cpp/build/libSSA.a
Note: See TracChangeset for help on using the changeset viewer.