~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to lib/vector/rtree/Makefile

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
MODULE_TOPDIR = ../../..
2
2
 
3
 
LIB_NAME = $(RTREE_LIBNAME)
4
 
 
5
 
LIB_OBJS = card.o \
6
 
        gammavol.o \
7
 
        index.o \
8
 
        node.o \
9
 
        rect.o \
10
 
        split_q.o 
11
 
 
12
 
EXTRA_LIBS = $(MATHLIB)
 
3
LIB = RTREE
13
4
 
14
5
include $(MODULE_TOPDIR)/include/Make/Lib.make
15
6
 
16
 
RTLINC = $(ARCH_INCDIR)/rtree
17
 
HEADERS := $(RTLINC)/card.h $(RTLINC)/index.h $(RTLINC)/split_q.h \
18
 
        $(ARCH_INCDIR)/rtree.h
 
7
HEADERS := $(ARCH_INCDIR)/rtree.h
19
8
 
20
 
default: $(HEADERS)
 
9
default: headers
21
10
        $(MAKE) lib
22
11
 
 
12
headers: $(HEADERS)
 
13
 
23
14
$(RTLINC):
24
15
        $(MKDIR) $@
25
16
 
26
 
ifneq ($(BROKEN_MAKE),)
27
 
$(RTLINC)/%.h: %.h $(RTLINC)
28
 
else
29
17
$(RTLINC)/%.h: %.h | $(RTLINC)
30
 
endif
31
18
        $(INSTALL_DATA) $< $@
32
19
 
33
20
$(ARCH_INCDIR)/rtree.h: rtree.h
34
21
        $(INSTALL_DATA) $< $@
35
 
 
36
 
$(OBJDIR)/test: test.c
37
 
        $(CC) $(LDFLAGS) $(INC) -o $@ test.c $(RTREELIB) -lm
38
 
        cd $(OBJDIR) && ./test
39