File: Makefile.in

package info (click to toggle)
blt 2.4m-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,316 kB
  • ctags: 7,778
  • sloc: ansic: 68,187; tcl: 12,491; sh: 1,918; makefile: 709; csh: 25
file content (58 lines) | stat: -rw-r--r-- 1,540 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# ------------------------------------------------------------------------
# 	Makefile for library files and directories of BLT library
# ------------------------------------------------------------------------

prefix       = @prefix@
exec_prefix  = @exec_prefix@
srcdir       = @srcdir@
libdir       = $(exec_prefix)/lib
scriptdir    = @BLT_LIBRARY@
version      = @BLT_VERSION@
AUX_LIBS     = @AUX_LIBS@

INSTALL      = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
RM           = rm -f
SHELL        = /bin/sh

miscFiles     = bltCanvEps.pro bltGraph.pro \
		bltDnd.tcl bltDragdrop.tcl \
		bltGraph.tcl bltHierbox.tcl bltTabset.tcl \
		tclIndex 

ddFiles      = dd-color.tcl dd-file.tcl dd-number.tcl dd-text.tcl tclIndex

instdirs     = $(prefix) $(exec_prefix) $(libdir) $(scriptdir) \
		$(scriptdir)/dd_protocols

all: pkgIndex

install: mkdirs dragdrop files package

mkdirs:
	@for i in $(instdirs) ; do \
	    if test -d $$i ; then : ; else mkdir $$i ; fi ; \
        done

dragdrop: mkdirs
	for i in $(ddFiles) ; do \
	    $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \
	done 

files: mkdirs
	for i in $(miscFiles) ; do \
	    $(INSTALL_DATA) $(srcdir)/$$i $(scriptdir) ; \
	done 

package: mkdirs pkgIndex.tcl
	$(INSTALL_DATA) pkgIndex.tcl $(scriptdir)

pkgIndex: 
	rm -f pkgIndex.tcl
	sed -e 's/__VERSION__/$(version)/' $(srcdir)/pkgIndex.tcl.in | \
	sed -e 's;__AUX_LIBS__;$(AUX_LIBS);' > pkgIndex.tcl
clean:
	$(RM) pkgIndex.tcl

distclean: clean
	$(RM) $(srcdir)/*.bak $(srcdir)/*\~ $(srcdir)/"#"* Makefile