summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1287864)
raw | patch | inline | side by side (parent: 1287864)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 6 May 2006 13:21:42 +0000 (13:21 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 6 May 2006 13:21:42 +0000 (13:21 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@817 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings/tcl/Makefile.am | patch | blob | history |
index d4ea2102f95024452c055adbaba03177c318ce60..c73a6e2e0b1bf87a3d93becf2bcd82c376ce436d 100644 (file)
--- a/bindings/tcl/Makefile.am
+++ b/bindings/tcl/Makefile.am
LIB_RUNTIME_DIR = $(libdir)
if BUILD_TCL_SITE
-pkglibdir = @TCL_PACKAGE_DIR@
+tclpkgdir = @TCL_PACKAGE_DIR@
+tclpkg_DATA = pkgIndex.tcl
+tclpkg_SCRIPTS = ifOctets.tcl
+else
+pkglib_DATA = pkgIndex.tcl
+pkglib_SCRIPTS = ifOctets.tcl
endif
# Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
all-local: $(TCL_RRD_LIB)
-pkglib_DATA = pkgIndex.tcl
-
-pkglib_SCRIPTS = ifOctets.tcl
-
$(TCL_RRD_LIB): tclrrd.o
$(TCL_SHLIB_LD) $(TCL_LD_SEARCH_FLAGS) $(LIBDIRS) $< -o $@ -lrrd_th -lm $(TCL_STUB_LIB_SPEC) $(LDFLAGS) $(LIBS)