IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2010, 3:09:59 PM (16 years ago)
Author:
watersc1
Message:

JPEG work should be done. Transitioning to try to pick up stackAssociation concept in this branch as well.

Location:
branches/czw_branch/20100519
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20100519

  • branches/czw_branch/20100519/magic/Makefile

    r26890 r28164  
     1
     2MAGIC_DIR = ~/magic_tarballs
     3
     4# necessary support for libQt (only used by magic)
     5QTDIR = qt-everywhere-opensource-src-4.6.1
     6QTSRC = $(MAGIC_DIR)/qt-everywhere-opensource-src-4.6.1.tar.gz
     7QTDEP := $(shell test -f $(QTSRC) && echo $(QTSRC))
     8
     9PSCFG = ../psconfig/psconfig.csh
     10PSPREFIX := $(shell csh $(PSCFG) $(PSVERSION) --prefix)
    111
    212default: all
    313
    4 all: ssa-core-cpp magic verify
     14all: qt-everywhere ssa-core-cpp magic verify
    515
    616install: magic.install verify.install
     
    1222update:
    1323# get the source code (replace this with SVN interactions)
    14         tar xvzf ~/magic.tgz
    15         tar xvzf ~/ssa-core-cpp.tgz
     24        tar xvzf $(MAGIC_DIR)/magic.tgz
     25        tar xvzf $(MAGIC_DIR)/ssa-core-cpp.tgz
     26        tar xvzf $(QTSRC)
    1627        cp Makefile.magic magic/Makefile.magic
    1728        cp magic/VerifyStreaks/main.cpp verify/VerifyStreaks.cpp
     29
     30qt-everywhere: $(QTDIR)/lib/libQtCore.so
     31
     32QTOPT = -fast \
     33        -opensource \
     34        -nomake tools \
     35        -nomake examples \
     36        -nomake demos \
     37        -nomake docs \
     38        -nomake translations \
     39        -no-xmlpatterns \
     40        -no-multimedia \
     41        -no-audio-backend \
     42        -no-phonon \
     43        -no-phonon-backend \
     44        -no-svg \
     45        -no-webkit \
     46        -no-javascript-jit \
     47        -no-script \
     48        -no-scripttools
     49
     50# the target (QTDEP) is blank unless QTSRC exists
     51$(QTDIR)/lib/libQtCore.so: $(QTDEP)
     52        echo $(PSCFG)
     53        echo $(PSPREFIX)
     54        if [ -d $(QTDIR) ]; then (cd $(QTDIR) && echo "yes" | ./configure $(QTOPT) -prefix $(PSPREFIX)); fi
     55        if [ -d $(QTDIR) ]; then (cd $(QTDIR) && make); fi
     56        if [ -d $(QTDIR) ]; then (cd $(QTDIR) && make install); fi
    1857
    1958ssa-core-cpp: ssa-core-cpp/build/libSSA.a
Note: See TracChangeset for help on using the changeset viewer.