~ubuntu-branches/ubuntu/intrepid/grass/intrepid

« back to all changes in this revision

Viewing changes to db/drivers/postgres/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2008-04-06 17:08:21 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080406170821-7l3d3ulh4g8crwcs
Tags: 6.2.3-2.1
* NMU during credativ BSP 2008
* using patch from Moritz Muehlenhoff <jmm@inutil.org> to fix
  FTBFS with GCC 4.3: missing #includes
  (closes: #461673)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
include $(MODULE_TOPDIR)/include/Make/Grass.make
7
7
include $(MODULE_TOPDIR)/include/Make/Rules.make
8
8
 
9
 
DRIVER=$(DBDRIVERDIR)/pg$(EXE_SUFFIX)
 
9
DRIVER=$(DBDRIVERDIR)/pg$(EXE)
10
10
 
11
11
LIBES = $(DBMIDRIVERLIB) $(DBMIBASELIB) $(DBMIEXTRALIB) $(SQLPLIB) $(DBSTUBSLIB) \
12
12
        $(GISLIB) $(DATETIMELIB) $(PQLIB)
13
13
 
14
14
EXTRA_CFLAGS = $(PQINCPATH)
15
 
EXTRA_INC = -I$(GRASS_LIBDIR)/db/dbmi_driver
 
15
EXTRA_INC = -I$(MODULE_TOPDIR)/lib/db/dbmi_driver
16
16
 
17
17
OBJS = $(subst .c,.o,$(wildcard *.c))
18
 
        
 
18
 
19
19
ARCH_OBJS := $(foreach obj,$(OBJS),$(OBJDIR)/$(obj))
20
20
 
21
21
DRVDOC=$(GISBASE)/docs/html/grass-pg.html
27
27
                $(MATHLIB) $(XDRLIB)
28
28
 
29
29
$(DRVDOC): grass-pg.html
30
 
        $(INSTALL) -m 644 grass-pg.html $(DRVDOC)
 
30
        $(INSTALL_DATA) grass-pg.html $(DRVDOC)