]> Dogcows Code - chaz/openbox/commitdiff
buld fixes for the new libs
authorDana Jansens <danakj@orodu.net>
Wed, 9 Apr 2003 18:36:01 +0000 (18:36 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 9 Apr 2003 18:36:01 +0000 (18:36 +0000)
build/Makefile.cwmcc
build/Makefile.kernel
build/Makefile.obcl
build/Makefile.render
plugins/keyboard/keyboard.c

index 4e17a7dda4f521ada7d9ffcda187fe1462520204..5593519cb9d408e3b998ce1d94cb48bbcaaeb015 100644 (file)
@@ -17,7 +17,7 @@ depdir := $(depdir)/$(dir)
 all: $(target)
 
 $(target): $(objects)
-       $(LINK) -o $@ $^ $(LDFLAGS)
+       $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
 
 $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
        $(LTCOMPILE) -c -o $@ $<
@@ -31,6 +31,7 @@ install:
        $(INSTALL) -d $(DESTDIR)$(libdir)/
        $(LIBTOOL) --mode=install $(INSTALL) $(target) \
                $(DESTDIR)$(libdir)/$(notdir $(target))
+       $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
 
 uninstall:
        $(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
index 7adfdfec4c8fa0b9d2f903267d214e7b7dffe60b..a5e79c66ff9142e2e20374e7ee8f0e04b93c2fbb 100644 (file)
@@ -4,8 +4,9 @@ dir = kernel
 
 CPPFLAGS += $(GLIB_CFLAGS) $(GMODULE_CFLAGS) $(XFT_CFLAGS) $(X_CFLAGS) \
             -DG_LOG_DOMAIN=\"Openbox\"
-LIBS += $(GLIB_LIBS) $(GMODULE_LIBS) $(XFT_LIBS) $(X_LIBS) $(XINERAMA_LIBS)
-LDFLAGS += -export-dynamic
+LIBS += $(GLIB_LIBS) $(GMODULE_LIBS) $(XFT_LIBS) $(X_LIBS) $(XINERAMA_LIBS) \
+       -lobrender
+LDFLAGS += -Lrender -export-dynamic
 
 target = openbox3
 sources = action.c client.c config.c dispatch.c engine.c event.c group.c \
@@ -22,7 +23,7 @@ depdir := $(depdir)/$(dir)
 
 all: $(target)
 
-$(target): $(objects) render/librender.a
+$(target): $(objects) render/libobrender.la
        $(LINK) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 # kill the implicit .c.y rule
index c602c686abbc30d1669282dc329844d195363c1c..5e40384e3122e95c91cb8aaff1b3341a8594f3a8 100644 (file)
@@ -17,7 +17,7 @@ depdir := $(depdir)/$(dir)
 all: $(target)
 
 $(target): $(objects)
-       $(LINK) -o $@ $^ $(LDFLAGS)
+       $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
 
 $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
        $(LTCOMPILE) -c -o $@ $<
@@ -31,6 +31,7 @@ install:
        $(INSTALL) -d $(DESTDIR)$(libdir)/
        $(LIBTOOL) --mode=install $(INSTALL) $(target) \
                $(DESTDIR)$(libdir)/$(notdir $(target))
+       $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
 
 uninstall:
        $(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
index 58b2d5dbfc94dd6681599adc70db180ebf5b5480..6f99e5242f6a0ceebe00268985289cf03cc98a79 100644 (file)
@@ -17,7 +17,7 @@ depdir := $(depdir)/$(dir)
 all: $(target)
 
 $(target): $(objects)
-       $(LINK) -o $@ $^ $(LDFLAGS)
+       $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
 
 $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
        $(LTCOMPILE) -c -o $@ $<
@@ -31,6 +31,7 @@ install:
        $(INSTALL) -d $(DESTDIR)$(libdir)/
        $(LIBTOOL) --mode=install $(INSTALL) $(target) \
                $(DESTDIR)$(libdir)/$(notdir $(target))
+       $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
 
 uninstall:
        $(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
index ef36717294e97ca58d6d3244ad70176faa182cdc..81809649848b74766b6a8ca255660f1f4b99055b 100644 (file)
@@ -149,9 +149,7 @@ static void event(ObEvent *e, void *foo)
                             p->action->data.cycle.cancel = FALSE;
                         }
 
-                        if (!grabbed_key ||
-                            p->action->func == action_cycle_windows)
-                            p->action->func(&p->action->data);
+                        p->action->func(&p->action->data);
 
                         if (p->action->func == action_cycle_windows &&
                             !grabbed_key) {
This page took 0.030271 seconds and 4 git commands to generate.