~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Utilities/nifti/nifticdf/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-05-31 12:07:29 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080531120729-7g7layn480le43ko
Tags: 3.6.0-3
* debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
  with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
* debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
  This only showed up in the tcl wrapping step.

* Above two entries fix FTBFS for GCC 4.3-based systems.
  Closes: #478500.

* debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
  systems are not also configured as a SUN sparc system, which requires
  SUN header sys/isa_defs.h.  Closes: #478940, #483312.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include ../Makefile
 
2
 
 
3
PROJNAME = nifticdflib
 
4
 
 
5
INCFLAGS = $(NIFTI_INC) $(NIFTICDF_INC)
 
6
 
 
7
SRCS=nifticdf.c
 
8
OBJS=nifticdf.o
 
9
 
 
10
depend: 
 
11
        $(RM) -f depend.mk
 
12
        $(MAKE) depend.mk
 
13
 
 
14
depend.mk:
 
15
        $(CC) $(DEPENDFLAGS) $(INCFLAGS) $(SRCS) >> depend.mk
 
16
 
 
17
lib: libnifticdf.a
 
18
 
 
19
test: $(TESTXFILES)
 
20
 
 
21
nifticdf.o: nifticdf.c nifticdf.h
 
22
        $(CC) -c $(CFLAGS) $(USEZLIB) $(INCFLAGS) $<
 
23
 
 
24
libnifticdf.a: $(OBJS)
 
25
        $(AR) -r libnifticdf.a $(OBJS)
 
26
        $(RANLIB) $@
 
27
 
 
28
include depend.mk