Commit 688670c3 by Eric Coissac

Patch compilation of binaries

parent ce57c25d
......@@ -103,13 +103,16 @@ TAR = tar
# PRTDIR : port dependent files location (libraries and binaries)
# BINDIR : port binaries
# LIBDIR : port libraries
# INCDIR : port includes
#
PRTDIR = $(CFGDIR)../ports/$(PORTNAME)
BINDIR = $(PRTDIR)/bin
BINDIR = $(abspath $(PRTDIR))/bin
LIBDIR = $(PRTDIR)/lib
LIBDIR = $(abspath $(PRTDIR))/lib
INCDIR = $(abspath $(PRTDIR))/include
# ------------------------------------
# default gmake variable in implicit rules
......
......@@ -18,9 +18,15 @@
# General compilation flags
# ------------------------------------
CC = /usr/bin/gcc
CXX = /usr/bin/g++
CXXPP = /usr/bin/cpp
CPP = /usr/bin/cpp
#
# MACHDEF : define machine and OS specific flags
#
MACHINE = MACOSX
MACHDEF = -DLX_TARGET_MACINTEL -DLITTLE_ENDIAN -DMACOSX
......@@ -22,7 +22,7 @@
# MACHDEF : define machine and OS specific flags
#
MACHDEF = -DLX_TARGET_LINUX -DLITTLE_ENDIAN
MACHDEF = -DLX_TARGET_LINUX -DLITTLE_ENDIAN -DLINUX
#
# MATH_LIBS : machine specific math librairies
......
......@@ -15,6 +15,9 @@ PKGDIR ?= build.$(PORTNAME)
PRTPATH = $(abspath $(PRTDIR))
PRTPATH_BIN = $(PRTPATH)/bin
PKG_CONFIG = $(PRTPATH)/bin/pkg-config
#
# Rules
#
......@@ -28,7 +31,17 @@ pkg.expand::
test -f $(PKGDIR)/configure || $(TAR) zxf $(PKGTAR) -C $(PKGDIR) --strip-components 1
pkg.make:: pkg.expand
test -f $(PKGDIR)/Makefile || (cd $(PKGDIR) && ./configure --prefix=$(PRTPATH))
echo $(PKG_CONFIG)
test -f $(PKGDIR)/Makefile || (export PATH="$(PRTPATH_BIN):$$PATH" && \
export PKG_CONFIG=$(PKG_CONFIG) && \
export CC="$(CC)" && \
export CXX="$(CXX)" && \
export CPP="$(CPP)" && \
export CXXPP="$(CXXPP)" && \
export CFLAGS="$(CFLAGS)" && \
export LDFLAGS="$(LDFLAGS)" && \
cd $(PKGDIR) && \
./configure --prefix=$(PRTPATH) $(CONFIGURE_OPTIONS))
$(MAKE) -C $(PKGDIR)
pkg.install:: pkg.make
......
......@@ -17,12 +17,18 @@
#
include ../config/auto.conf
DIRS = exonerate \
DIRS = aragorn \
clustalo \
exonerate \
hmmer3 \
kimono \
muscle \
ncbiblast \
prokov \
repseek \
sequtils \
aragorn \
ncbiblast
sumaclust \
sumatra
include ../config/targets/propagate.targ
......
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for lxpack
#
# @history:
# @history:
# @+ <Gloup> : Apr 97 : Created
# @+ <Gloup> : Mar 02 : Updated for LXxware
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../config/auto.conf
DIRS = argtable \
clustalo
include ../../config/targets/propagate.targ
include ../../config/targets/help.targ
all::
$(MAKE) ACTION=$@ _action
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = argtable2-13
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = clustal-omega-1.2.1
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
No preview for this file type
......@@ -2,10 +2,12 @@
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
# @desc: makefile for lxpack
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
# @history:
# @+ <Gloup> : Apr 97 : Created
# @+ <Gloup> : Mar 02 : Updated for LXxware
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
......@@ -13,12 +15,18 @@
# @end:
# ---------------------------------------------------------------
#
include ../../config/auto.conf
PKG = exonerate-2.2.0
DIRS = pkg-config \
libffi \
gettext \
glib2 \
exonerate
include ../../config/targets/propagate.targ
include $(CFGDIR)targets/package.targ
include ../../config/targets/help.targ
include $(CFGDIR)targets/help.targ
all::
$(MAKE) ACTION=$@ _action
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = exonerate-2.2.0_EC
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = gettext-0.19
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = glib-2.44.1
CONFIGURE_OPTIONS = --disable-dtrace
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = libffi-3.2.1
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = pkg-config-0.29
CONFIGURE_OPTIONS= --with-internal-glib
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for lxpack
#
# @history:
# @history:
# @+ <Gloup> : Apr 97 : Created
# @+ <Gloup> : Mar 02 : Updated for LXxware
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../config/auto.conf
DIRS = hmmer3
include ../../config/targets/propagate.targ
include ../../config/targets/help.targ
all::
$(MAKE) ACTION=$@ _action
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package exonerate
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = hmmer-3.1b1
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
# ---------------------------------------------------------------
#---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
......@@ -25,9 +25,6 @@ include ../../config/targets/help.targ
all::
$(MAKE) ACTION=$@ _action
test -d $(PRTDIR) || mkdir $(PRTDIR)
test -d $(BINDIR) || mkdir $(BINDIR)
\cp -f lxpack/ports/$(PORTNAME)/bin/* $(BINDIR)
clean::
$(MAKE) -C lxpack portclean
......@@ -15,14 +15,14 @@
# @end:
# ---------------------------------------------------------------
#
include ./config/auto.conf
include ../../../config/auto.conf
DIRS = src \
tests
include ./config/targets/propagate.targ
include ../../../config/targets/propagate.targ
include ./config/targets/help.targ
include ../../../config/targets/help.targ
portclean::
$(MAKE) ACTION=$@ _action
......
$Id: README.txt 1825 2013-02-26 09:39:47Z viari $
This directory contains Makefile machine specific configuration files
(and default targets to help you writing Makefile's)
These headers should be used with GNU make or compatible
#
# portname
#
To check your port, issue :
./guess_port
if output is 'unknown <mach>:<sys>:<rel>' then you should :
- add a port entry in guess_port for <mach>:<sys>:<rel>
- create a ports/<port>.conf configuration file
(the best is to start from another port file,
choose whatever looks closest)
#
# configuration flags
#
auto.conf : the main configuration file :
- determine the machine port thru 'guess_port' shell
- include 'default.conf' file
- include the machine specific 'ports/<port>.conf' file
default.conf : default configuration (included by 'auto.conf')
ports/<port>.conf : machine specific configuration (included by 'auto.conf')
#
# utility targets
#
targets/help.targ : target for standard help
targets/propagate.targ : target for propagating targets to subdirectories
targets/package.targ : default targets for standard package with 'configure'
targets/empty.targ : default empty targets (defined as double colon rules)
targets/lxbin.targ : default make targets for standard lx binary (without libraries)
targets/debug.targ : target to print debug information (for dev.)
#
# $Id: auto.conf 1825 2013-02-26 09:39:47Z viari $
#
# auto.conf
# auto configuration file using guess_port
#
# this file is included in Makefile
#
#
# default shell for gnu-make
#
SHELL = /bin/sh
#
# CFGDIR : location of config files = this file directory location
#
# CFGPRT : port name (as returned by guess_port)
#
# because builtin 'lastword' is missing in gnu-make 3.80
lastword = $(word $(words $1), $1)
CFGDIR := $(dir $(call lastword, $(MAKEFILE_LIST)))
CFGPRT := $(shell $(CFGDIR)guess_port)
# check if port is correctly defined
ifneq (1, $(words $(CFGPRT)))
entry := $(call lastword, $(CFGPRT))
$(error port is undefined - add entry for "$(entry)" in configuration file -)
endif
#
# PORTNAME : port name to use : default is CFGPRT but may be futher modified
# by machine specific configuration
PORTNAME = $(CFGPRT)
#
# default configuration
# may be overriden by machine dependant definitions below
#
include $(CFGDIR)default.conf
#
# machine dependant definitions
#
include $(CFGDIR)ports/$(CFGPRT).conf
#
# $Id: default.conf 2007 2013-12-03 14:21:39Z viari $
#
# default.conf
# default configuration flags
# maybe further redefined by machine specific configuration
#
# this file is included by auto.conf
#
# ------------------------------------
# General compilation flags
# ------------------------------------
#
# MACHDEF : define machine and OS specific flags
#