fluxbox/util/Makefile.am

71 lines
2.2 KiB
Text
Raw Normal View History

2003-09-07 19:14:10 +00:00
# util/Makefile.am for Fluxbox
SUBDIRS= fbrun
AM_CPPFLAGS= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk -include $(top_builddir)/config.h
2003-09-07 19:14:10 +00:00
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 \
2004-06-08 13:15:30 +00:00
../src/FbTk/libFbTk.a
fbsetroot_LDFLAGS = \
$(FONTCONFIG_LIBS) \
$(FRIBIDI_LIBS) \
$(X11_LIBS) \
$(XFT_LIBS) \
$(XRENDER_LIBS)
2007-02-09 18:13:01 +00:00
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)
2002-08-20 01:53:18 +00:00
2003-09-07 19:14:10 +00:00
MAINTAINERCLEANFILES= Makefile.in
2003-11-15 19:28:48 +00:00
EXTRA_DIST= fbsetbg fluxbox-generate_menu.in \
startfluxbox.in
2003-09-07 19:14:10 +00:00
PROGRAM_PREFIX=@program_prefix@
PROGRAM_SUFFIX=@program_suffix@
2003-09-07 19:14:10 +00:00
all-local: startfluxbox
2001-12-11 20:47:02 +00:00
2003-09-07 19:14:10 +00:00
clean-local:
2003-11-15 19:28:48 +00:00
rm -f startfluxbox fluxbox-generate_menu
2003-09-07 19:14:10 +00:00
fbsetroot.o: fbsetroot.cc $(srcdir)/fbsetroot.hh \
$(top_srcdir)/src/FbRootWindow.hh $(top_srcdir)/src/FbAtoms.hh
2001-12-11 20:47:02 +00:00
fluxbox-update_configs.o: fluxbox-update_configs.cc \
2008-06-01 22:44:28 +00:00
$(top_builddir)/src/defaults.hh
2007-02-09 18:13:01 +00:00
fluxbox-remote.o: fluxbox-remote.cc
2003-09-07 19:14:10 +00:00
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
2003-11-15 19:28:48 +00:00
-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 \
2003-11-15 19:28:48 +00:00
> fluxbox-generate_menu
-chmod 755 fluxbox-generate_menu
2002-09-07 19:01:18 +00:00
2003-09-07 19:14:10 +00:00
../src/FbRootWindow.o:
cd ../src && ${MAKE} FbRootWindow.o
2003-09-07 19:14:10 +00:00
../src/FbAtoms.o:
cd ../src && ${MAKE} FbAtoms.o
2007-02-09 18:13:01 +00:00
../src/defaults.o:
cd ../src && ${MAKE} defaults.o
../src/Resources.o:
cd ../src && ${MAKE} Resources.o