2003-09-07 19:14:10 +00:00
|
|
|
# util/Makefile.am for Fluxbox
|
|
|
|
SUBDIRS= fbrun
|
2013-02-12 22:05:45 +00:00
|
|
|
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
|
2007-07-03 18:50:53 +00:00
|
|
|
bin_PROGRAMS= fbsetroot fluxbox-update_configs fluxbox-remote
|
2005-07-12 04:56:05 +00:00
|
|
|
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
|
2013-02-13 21:33:09 +00:00
|
|
|
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
|
2013-02-13 21:33:09 +00:00
|
|
|
fluxbox_update_configs_LDFLAGS = \
|
|
|
|
$(FRIBIDI_LIBS) \
|
|
|
|
$(X11_LIBS)
|
2007-07-03 18:50:53 +00:00
|
|
|
fluxbox_remote_SOURCES= fluxbox-remote.cc
|
2013-02-13 21:33:09 +00:00
|
|
|
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
|
|
|
|
2006-06-23 00:31:08 +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
|
|
|
|
2013-02-12 22:05:45 +00:00
|
|
|
fbsetroot.o: fbsetroot.cc $(srcdir)/fbsetroot.hh \
|
2004-04-10 19:52:43 +00:00
|
|
|
$(top_srcdir)/src/FbRootWindow.hh $(top_srcdir)/src/FbAtoms.hh
|
2001-12-11 20:47:02 +00:00
|
|
|
|
2013-02-12 22:05:45 +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
|
|
|
|
2007-07-03 18:50:53 +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" \
|
2006-06-23 00:31:08 +00:00
|
|
|
-e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \
|
|
|
|
-e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \
|
2011-10-28 20:42:18 +00:00
|
|
|
-e "s,@EXEEXT@,$(EXEEXT),g" \
|
2004-04-10 19:52:43 +00:00
|
|
|
$(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" \
|
2007-07-07 23:11:04 +00:00
|
|
|
-e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \
|
|
|
|
-e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \
|
2011-10-28 20:42:18 +00:00
|
|
|
-e "s,@EXEEXT@,$(EXEEXT),g" \
|
2004-04-10 19:52:43 +00:00
|
|
|
$(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:
|
2003-12-29 00:00:28 +00:00
|
|
|
cd ../src && ${MAKE} FbRootWindow.o
|
2003-09-07 19:14:10 +00:00
|
|
|
../src/FbAtoms.o:
|
2003-12-29 00:00:28 +00:00
|
|
|
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
|