File: Makefile

package info (click to toggle)
grass 6.0.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 38,764 kB
  • ctags: 31,167
  • sloc: ansic: 320,650; tcl: 25,669; cpp: 10,098; sh: 9,695; makefile: 4,714; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (32 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
MODULE_TOPDIR = ../..

PGM=v.digit
TBOX=$(GISBASE)/etc/v.digit/toolbox.tcl
SET=$(GISBASE)/etc/v.digit/settings.tcl
CAT=$(GISBASE)/etc/v.digit/cats.tcl

LIBES     = $(D_LIB) $(DISPLAYLIB) $(RASTERLIB) $(VECTLIB) $(FORMLIB) \
$(GISLIB) $(TCLTKLIBPATH) $(TCLTKLIBS)
DEPENDENCIES= $(D_DEP) $(DISPLAYDEP) $(RASTERDEP) $(VECTDEP) $(FORMDEP) $(GISDEP)

EXTRA_CFLAGS = $(XCFLAGS) $(TCLINCDIR) $(TKINCDIR) $(VECT_CFLAGS)
XTRA_LDFLAGS=$(DFLAGS) 
EXTRA_INC = $(VECT_INC)

include $(MODULE_TOPDIR)/include/Make/Module.make

default: cmd $(TBOX) $(SET) $(CAT) ico

$(TBOX): toolbox.tcl
	if [ ! -d $(GISBASE)/etc ]; then $(MKDIR) $(GISBASE)/etc; fi
	if [ ! -d $(GISBASE)/etc/v.digit ]; then $(MKDIR) $(GISBASE)/etc/v.digit; fi
	$(INSTALL) -m 755 toolbox.tcl $(TBOX)

$(SET): settings.tcl
	$(INSTALL) -m 755 settings.tcl $(SET)

$(CAT): cats.tcl
	$(INSTALL) -m 755 cats.tcl $(CAT)

ico:
	$(INSTALL) -m 644 icons/*.gif $(GISBASE)/etc/v.digit/