~ubuntu-branches/debian/jessie/ggobi/jessie

« back to all changes in this revision

Viewing changes to plugins/R/GNUmakefile

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2006-10-23 11:22:46 UTC
  • mfrom: (1.2.1 upstream) (2.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20061023112246-nrbosijkz6758sao
Tags: 2.1.4-1
* New upstream release

* debian/shlibs: Updated accordingly

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Rplugin.so:
2
 
 
3
 
ifndef GGOBI_HOME
4
 
  GGOBI_HOME=../..
5
 
endif
6
 
 
7
 
-include $(GGOBI_HOME)/local.config
8
 
-include local.config
9
 
 
10
 
 
11
 
ifdef GGOBI_CONFIG
12
 
 GGOBI_INCLUDE_DIR=$(shell $(GGOBI_CONFIG) --cflags)
13
 
 GGOBI_LIB=$(shell $(GGOBI_CONFIG) --libs)
14
 
else
15
 
 GGOBI_INCLUDE_DIR=-I../..
16
 
 GGOBI_LIB=-L../.. -lggobi
17
 
endif
18
 
 
19
 
ifdef ADMIN
20
 
 include Install/GNUmakefile.admin
21
 
endif
22
 
 
23
 
R_LIBS=-L$(R_HOME)/bin -lR
24
 
 
25
 
SRC= R
26
 
# REval
27
 
OBJS=$(SRC:%=%.o)
28
 
 
29
 
CFLAGS+= -g -Wall -I$(R_HOME)/include $(GGOBI_INCLUDE_DIR)  $(shell $(GTK_CONFIG) --cflags) -I$(OMEGA_HOME)/include/Corba -D_R_=1 -DUSE_R=1
30
 
 
31
 
Rplugin.so: $(OBJS)
32
 
        $(CC) -shared -o $@ $^ $(R_LIBS) $(GGOBI_LIB)  $(shell $(GTK_CONFIG) --libs) 
33
 
 
34
 
ifndef ADMIN
35
 
local.config: local.config.in configure
36
 
        ./configure
37
 
 
38
 
 
39
 
configure: configure.in
40
 
        autoconf
41
 
endif