summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2000-07-14 18:53:54 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2000-07-14 18:53:54 +0000
commit27c8b5ab89c44e2ba3d6bde1a024715f4abe5a72 (patch)
tree721ae49389f24a5db6e4d5f2c65e98e674382f9a /test/Makefile.am
parentf7263fbde7303e78b3c8f7e14e1c1ee5e32d8691 (diff)
downloadnautilus-27c8b5ab89c44e2ba3d6bde1a024715f4abe5a72.tar.gz
Move the leakchecker library to its own place.
* configure.in: * test/Makefile.am: * test/nautilus-leak-checker-stubs.h: * test/nautilus-leak-checker.c: * test/nautilus-leak-checker.h: * test/nautilus-leak-hash-table.c: * test/nautilus-leak-hash-table.h: * test/nautilus-leak-symbol-lookup.c: * test/nautilus-leak-symbol-lookup.h: * tools/leak-checker: Move the leakchecker library to its own place.
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 943dc8778..ef6180f39 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,5 @@
NULL=
-#lib_LTLIBRARIES = libleakcheck.la
-
INCLUDES =\
-I$(top_srcdir) \
-I$(top_builddir) \
@@ -50,52 +48,6 @@ test_nautilus_image_SOURCES = test-nautilus-image.c
test_nautilus_password_dialog_SOURCES = test-nautilus-password-dialog.c
-#libleakcheck_la_SOURCES = \
-# nautilus-leak-checker.c \
-# nautilus-leak-checker.h \
-# nautilus-leak-checker-stubs.h \
-# nautilus-leak-hash-table.c \
-# nautilus-leak-hash-table.h \
-# nautilus-leak-symbol-lookup.c \
-# nautilus-leak-symbol-lookup.h \
-# $(NULL)
-
EXTRA_DIST = \
test-nautilus-mime-actions.c \
$(NULL)
-
-# the libtool way of building libleakcheck.so is totally broken, libtool cannot
-# build an .so with statically linked -liberty
-
-# LIBLEAKCHECK_STATIC_LIBS = "-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"
-#libleakcheck_la_LDADD = -module -avoid-version $(LIBLEAKCHECK_STATIC_LIBS)
-#libleakcheck_la_LIBADD = -ldl
-
-
-
-# libleakcheck.la: $(libleakcheck_la_OBJECTS) $(libleakcheck_la_DEPENDENCIES)
-# $(LINK) -rpath $(libdir) $(libleakcheck_la_LDADD) $(libleakcheck_la_OBJECTS) $(libleakcheck_la_LIBADD) $(LIBS)
-
-
-# for now just hardcode a plain old link line, someday someone can
-#figure out what the magic password is to make libtool do this cleanly
-
-all: libleakcheck.so
-CLEANFILES += libleakcheck.so
-
-libleakcheck.so: nautilus-leak-checker.c nautilus-leak-hash-table.c nautilus-leak-symbol-lookup.c
- gcc $(srcdir)/nautilus-leak-checker.c $(srcdir)/nautilus-leak-hash-table.c \
- $(srcdir)/nautilus-leak-symbol-lookup.c \
- -Wall -o $@ -shared $(GLIB_CFLAGS) $(GLIB_LIBS) -lpthread -ldl -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic
-
-# to include them in "make dist"
-EXTRA_DIST = nautilus-leak-checker.c nautilus-leak-hash-table.c nautilus-leak-symbol-lookup.c \
- nautilus-leak-checker-stubs.h nautilus-leak-hash-table.h nautilus-leak-checker.h nautilus-leak-symbol-lookup.h
-
-leakcheck_DATA = libleakcheck.so
-leakcheckdir= $(DESTDIR)$(libdir)
-
-leakchecktest: nautilus-leak-checker.c nautilus-leak-hash-table.c nautilus-leak-symbol-lookup.c
- gcc $(srcdir)/nautilus-leak-checker.c $(srcdir)/nautilus-leak-hash-table.c \
- $(srcdir)/nautilus-leak-symbol-lookup.c \
- -Wall -o $@ -DLEAK_CHECK_TESTING $(GLIB_CFLAGS) $(GLIB_LIBS) -lpthread -ldl -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic