Use SHIM_LOADER and SHIM_LIBS in gtk-shim.so rule.
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 31 May 2011 01:23:21 +0000 (18:23 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 31 May 2011 01:23:21 +0000 (18:23 -0700)
src/gtk/Makefile-fragment

index feac50aa891a61f3134f156ab5e0a559b302b3aa..0da5333a3a1f12a4a21cd8d12960b2a954e64a71 100644 (file)
@@ -38,8 +38,9 @@ install:
                 | ../microcode/scheme --library ../lib --batch-mode` = "c"; \
        then $(MAKE) install-liarc-bundle; fi
 
-gtk-shim.so: gtk-shim.o scmwidget.o gtkio.o
-       $(LINK_SHIM) $^ `pkg-config --libs gtk+-2.0`
+gtk-shim.so: gtk-shim.o scmwidget.o gtkio.o $(SHIM_LOADER)
+       $(LINK_SHIM) gtk-shim.o scmwidget.o gtkio.o                     \
+               `pkg-config --libs gtk+-2.0` $(SHIM_LIBS)
 
 scmwidget.o: scmwidget.c
        $(COMPILE_SHIM) `pkg-config --cflags gtk+-2.0` -c scmwidget.c
@@ -78,4 +79,4 @@ gtk-const: gtk-const.o
 gtk-const.o: gtk-const.c
        $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -o $@ -c $<
 
-.PHONY: build compile
+.PHONY: build install