Make sure that libleakcheck does not rely on the /gnome prefix to build.

2000-06-15  JP Rosevear  <jpr@arcavia.com>

	* test/Makefile.am: Make sure that libleakcheck does not rely
	on the /gnome prefix to build. Make sure libleakcheck is cleaned
	and uninstalled properly.
This commit is contained in:
JP Rosevear 2000-06-15 18:15:20 +00:00 committed by JP Rosevear
parent 1842397b94
commit ea4fe73e38
2 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2000-06-15 JP Rosevear <jpr@arcavia.com>
* test/Makefile.am: Make sure that libleakcheck does not rely
on the /gnome prefix to build. Make sure libleakcheck is cleaned
and uninstalled properly.
2000-06-15 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:

View file

@ -68,11 +68,16 @@ EXTRA_DIST = \
# $(LINK) -rpath $(libdir) $(libleakcheck_la_LDFLAGS) $(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
# 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 nautilus-leak-checker.c nautilus-leak-hash-table.c nautilus-leak-symbol-lookup.c -Wall -o $@ -shared -I/gnome/include -I/gnome/lib/glib/include -L/gnome/lib -lglib -lpthread -ldl -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic
gcc nautilus-leak-checker.c nautilus-leak-hash-table.c nautilus-leak-symbol-lookup.c -Wall -o $@ -shared $(GLIB_CFLAGS) $(GLIB_LIBS) -lpthread -ldl -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic
leakcheck_DATA = libleakcheck.so
leakcheckdir= $(DESTDIR)$(libdir)
install: libleakcheck.so
cp -f libleakcheck.so $(DESTDIR)$(libdir)