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

« back to all changes in this revision

Viewing changes to include/Make/Shlib.make

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
# common dependencies and rules for building shared libraries
2
2
 
3
 
SHLIB = $(ARCH_LIBDIR)/$(SHLIB_PREFIX)$(SHLIB_NAME).$(GRASS_VERSION_NUMBER)$(SHLIB_SUFFIX)
4
 
 
5
 
# Object that calls _setfmode(_O_BINARY) which must be linked to each DLL on Windows
6
 
ifdef MINGW
7
 
ifneq ($(SHLIB_NAME),$(DATETIME_LIBNAME))
8
 
ifneq ($(SHLIB_NAME),$(GIS_LIBNAME))
9
 
  DLLMAIN_OBJ = $(MODULE_TOPDIR)/lib/gis/$(OBJDIR)/dllmain.o
10
 
endif
11
 
endif
12
 
endif
13
 
 
14
 
CFLAGS += $(SHLIB_CFLAGS) $(NLS_CFLAGS)
 
3
SHLIB = $(ARCH_LIBDIR)/$(SHLIB_PREFIX)$(SHLIB_NAME)$(SHLIB_SUFFIX)
 
4
 
 
5
CFLAGS += $(SHLIB_CFLAGS)
 
6
CXXFLAGS += $(SHLIB_CFLAGS)
15
7
LDFLAGS += $(SHLIB_LDFLAGS)
16
8
 
17
9
$(SHLIB): $(SHLIB_OBJS)
18
 
        $(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(EXTRA_LIBS) $(DLLMAIN_OBJ) && \
 
10
        $(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(LIBES) $(EXTRA_LIBS) $(MATHLIB)
 
11
ifndef MINGW
19
12
        (cd $(ARCH_LIBDIR); ln -f -s $(notdir $@) $(patsubst %.$(GRASS_VERSION_NUMBER)$(SHLIB_SUFFIX),%$(SHLIB_SUFFIX),$@))
 
13
endif
20
14
 
21
15
shlib: $(SHLIB)
22