all: $(target)
$(target): $(objects)
- $(LINK) -o $@ $^ $(LDFLAGS)
+ $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
$(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
$(LTCOMPILE) -c -o $@ $<
$(INSTALL) -d $(DESTDIR)$(libdir)/
$(LIBTOOL) --mode=install $(INSTALL) $(target) \
$(DESTDIR)$(libdir)/$(notdir $(target))
+ $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
uninstall:
$(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
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 \
all: $(target)
-$(target): $(objects) render/librender.a
+$(target): $(objects) render/libobrender.la
$(LINK) -o $@ $^ $(LIBS) $(LDFLAGS)
# kill the implicit .c.y rule
all: $(target)
$(target): $(objects)
- $(LINK) -o $@ $^ $(LDFLAGS)
+ $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
$(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
$(LTCOMPILE) -c -o $@ $<
$(INSTALL) -d $(DESTDIR)$(libdir)/
$(LIBTOOL) --mode=install $(INSTALL) $(target) \
$(DESTDIR)$(libdir)/$(notdir $(target))
+ $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
uninstall:
$(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
all: $(target)
$(target): $(objects)
- $(LINK) -o $@ $^ $(LDFLAGS)
+ $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS)
$(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d
$(LTCOMPILE) -c -o $@ $<
$(INSTALL) -d $(DESTDIR)$(libdir)/
$(LIBTOOL) --mode=install $(INSTALL) $(target) \
$(DESTDIR)$(libdir)/$(notdir $(target))
+ $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
uninstall:
$(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))
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) {