fluxbox/util/Makefile.am
Sami Kerola 9e5eddfc3d build-sys: use pkg-config to locate dependencies
This commit alters XRANDR (X Resize And Rotate) extension dependency,
which is expected to have at least version 1.4.  Earlier old versions of
xrandr were supported, at least to some extent.
2013-05-26 10:38:10 +01:00

70 lines
2.2 KiB
Makefile

# util/Makefile.am for Fluxbox
SUBDIRS= fbrun
AM_CPPFLAGS= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk -include $(top_builddir)/config.h
bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox
bin_PROGRAMS= fbsetroot fluxbox-update_configs fluxbox-remote
fbsetroot_SOURCES= fbsetroot.cc fbsetroot.hh
fbsetroot_LDADD=../src/FbRootWindow.o ../src/FbAtoms.o \
../src/FbTk/libFbTk.a
fbsetroot_LDFLAGS = \
$(FONTCONFIG_LIBS) \
$(FRIBIDI_LIBS) \
$(X11_LIBS) \
$(XFT_LIBS) \
$(XRENDER_LIBS)
fluxbox_update_configs_SOURCES= fluxbox-update_configs.cc
fluxbox_update_configs_LDADD= ../src/defaults.o ../src/Resources.o \
../src/FbTk/libFbTk.a
fluxbox_update_configs_LDFLAGS = \
$(FRIBIDI_LIBS) \
$(X11_LIBS)
fluxbox_remote_SOURCES= fluxbox-remote.cc
fluxbox_remote_LDFLAGS = $(X11_LIBS)
MAINTAINERCLEANFILES= Makefile.in
EXTRA_DIST= fbsetbg fluxbox-generate_menu.in \
startfluxbox.in
PROGRAM_PREFIX=@program_prefix@
PROGRAM_SUFFIX=@program_suffix@
all-local: startfluxbox
clean-local:
rm -f startfluxbox fluxbox-generate_menu
fbsetroot.o: fbsetroot.cc $(srcdir)/fbsetroot.hh \
$(top_srcdir)/src/FbRootWindow.hh $(top_srcdir)/src/FbAtoms.hh
fluxbox-update_configs.o: fluxbox-update_configs.cc \
$(top_builddir)/src/defaults.hh
fluxbox-remote.o: fluxbox-remote.cc
startfluxbox: startfluxbox.in
@regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \
-e "s,@pkgbindir@,$(bindir),g" \
-e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \
-e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \
-e "s,@EXEEXT@,$(EXEEXT),g" \
$(srcdir)/startfluxbox.in > startfluxbox
-chmod 755 startfluxbox
fluxbox-generate_menu: fluxbox-generate_menu.in
@regex_cmd@ -e "s,@PREFIX@,$(prefix),g" \
-e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \
-e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \
-e "s,@EXEEXT@,$(EXEEXT),g" \
$(srcdir)/fluxbox-generate_menu.in \
> fluxbox-generate_menu
-chmod 755 fluxbox-generate_menu
../src/FbRootWindow.o:
cd ../src && ${MAKE} FbRootWindow.o
../src/FbAtoms.o:
cd ../src && ${MAKE} FbAtoms.o
../src/defaults.o:
cd ../src && ${MAKE} defaults.o
../src/Resources.o:
cd ../src && ${MAKE} Resources.o