2004-03-13 06:03:33 -08:00
|
|
|
SUBDIRS =
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2004-12-28 15:46:49 -08:00
|
|
|
bin_PROGRAMS = e16
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2004-12-28 15:46:49 -08:00
|
|
|
e16_SOURCES = \
|
1999-08-17 15:56:46 -07:00
|
|
|
E.h \
|
2006-11-19 13:55:52 -08:00
|
|
|
about.c \
|
|
|
|
aclass.c aclass.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
actions.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
alert.c alert.h \
|
2014-04-21 00:09:57 -07:00
|
|
|
animation.c animation.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
arrange.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
backgrounds.c backgrounds.h \
|
|
|
|
borders.c borders.h \
|
|
|
|
buttons.c buttons.h \
|
2007-05-18 01:25:06 -07:00
|
|
|
comms.c comms.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
conf.h \
|
|
|
|
config.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
container.c container.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
coords.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
cursors.c cursors.h \
|
|
|
|
desktops.c desktops.h \
|
|
|
|
dialog.c dialog.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
dock.c \
|
|
|
|
draw.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
econfig.c econfig.h \
|
|
|
|
edebug.h \
|
2004-04-09 05:50:56 -07:00
|
|
|
edge.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
eimage.c eimage.h \
|
|
|
|
emodule.c emodule.h \
|
|
|
|
eobj.c eobj.h \
|
2006-04-06 14:20:16 -07:00
|
|
|
etypes.h \
|
2006-11-19 13:55:52 -08:00
|
|
|
events.c events.h \
|
|
|
|
ewins.c ewins.h \
|
|
|
|
ewin-ops.c ewin-ops.h \
|
2005-10-27 16:18:35 -07:00
|
|
|
ewmh.c \
|
2004-12-28 15:46:49 -08:00
|
|
|
extinitwin.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
file.c file.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
finders.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
focus.c focus.h \
|
2004-12-28 15:46:49 -08:00
|
|
|
fonts.c \
|
1999-08-17 15:56:46 -07:00
|
|
|
fx.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
grabs.c grabs.h \
|
|
|
|
groups.c groups.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
handlers.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
hints.c hints.h \
|
|
|
|
hiwin.c hiwin.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
icccm.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
iclass.c iclass.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
iconify.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
icons.c icons.h \
|
2007-05-18 01:25:06 -07:00
|
|
|
ipc.c ipc.h \
|
2006-11-19 13:55:52 -08:00
|
|
|
lang.c lang.h \
|
2014-04-21 00:09:57 -07:00
|
|
|
list.c list.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
main.c \
|
|
|
|
memory.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
menus.c menus.h \
|
2004-12-28 15:46:49 -08:00
|
|
|
menus-misc.c \
|
1999-08-17 15:56:46 -07:00
|
|
|
misc.c \
|
2004-12-28 15:46:49 -08:00
|
|
|
mod-misc.c \
|
2004-01-18 02:24:06 -08:00
|
|
|
moveresize.c \
|
1999-08-17 15:56:46 -07:00
|
|
|
mwm.c \
|
|
|
|
pager.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
parse.c parse.h \
|
|
|
|
progress.c progress.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
regex.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
screen.c screen.h \
|
|
|
|
session.c session.h \
|
|
|
|
settings.c settings.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
setup.c \
|
2014-04-21 00:09:57 -07:00
|
|
|
shapewin.c shapewin.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
size.c \
|
2012-07-07 07:05:56 -07:00
|
|
|
slide.c slide.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
slideout.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
snaps.c snaps.h \
|
2008-12-14 08:44:45 -08:00
|
|
|
sounds.h \
|
2004-03-16 14:10:07 -08:00
|
|
|
stacking.c \
|
1999-08-17 15:56:46 -07:00
|
|
|
startup.c \
|
2008-08-14 11:44:23 -07:00
|
|
|
string.c \
|
2006-08-28 15:32:48 -07:00
|
|
|
systray.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
tclass.c tclass.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
text.c \
|
|
|
|
theme.c \
|
2012-03-21 14:10:59 -07:00
|
|
|
time.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
timers.c timers.h \
|
|
|
|
tooltips.c tooltips.h \
|
|
|
|
user.c user.h \
|
2006-04-19 12:13:46 -07:00
|
|
|
util.h \
|
1999-08-17 15:56:46 -07:00
|
|
|
warp.c \
|
2006-11-19 13:55:52 -08:00
|
|
|
windowmatch.c windowmatch.h \
|
2021-08-22 00:37:31 -07:00
|
|
|
xprop.c xprop.h xpropdefs.h \
|
2006-11-19 13:55:52 -08:00
|
|
|
x.c xwin.h \
|
2022-02-20 07:30:33 -08:00
|
|
|
xtypes.h
|
|
|
|
|
2022-02-17 06:38:48 -08:00
|
|
|
e16_SOURCES += text_xfs.c
|
2022-02-20 07:30:33 -08:00
|
|
|
if ENABLE_SOUND
|
|
|
|
e16_SOURCES += sound.c sound.h
|
|
|
|
endif
|
|
|
|
if ENABLE_ZOOM
|
|
|
|
e16_SOURCES += zoom.c
|
|
|
|
endif
|
|
|
|
if ENABLE_GLX
|
|
|
|
e16_SOURCES += eglx.c eglx.h glwin.c
|
|
|
|
endif
|
|
|
|
if ENABLE_COMPOSITE
|
|
|
|
e16_SOURCES += ecompmgr.c ecompmgr.h magwin.c
|
|
|
|
endif
|
|
|
|
if ENABLE_DBUS
|
|
|
|
e16_SOURCES += edbus.c edbus.h
|
|
|
|
endif
|
2003-04-21 19:10:58 -07:00
|
|
|
|
2021-05-29 11:13:18 -07:00
|
|
|
AM_CFLAGS = $(CFLAGS_WARNINGS) $(CFLAGS_VISIBILITY) $(CFLAGS_ASAN)
|
2020-05-05 02:04:13 -07:00
|
|
|
|
2013-03-26 11:43:15 -07:00
|
|
|
AM_CPPFLAGS = \
|
2010-03-06 23:05:18 -08:00
|
|
|
-D LOCALEDIR=\"$(datadir)/locale\" \
|
|
|
|
-D ENLIGHTENMENT_BIN=\"$(bindir)\" \
|
|
|
|
-D ENLIGHTENMENT_LIB=\"$(pkglibdir)\" \
|
|
|
|
-D ENLIGHTENMENT_ROOT=\"$(pkgdatadir)\"
|
|
|
|
|
2013-03-26 11:43:15 -07:00
|
|
|
e16_CPPFLAGS = \
|
|
|
|
$(AM_CPPFLAGS) \
|
2018-03-03 10:25:53 -08:00
|
|
|
-I$(top_srcdir) \
|
2013-03-26 11:43:15 -07:00
|
|
|
-I$(top_builddir) \
|
2021-04-18 21:32:04 -07:00
|
|
|
$(SOUND_CFLAGS) \
|
|
|
|
$(FONTS_CFLAGS) \
|
2007-11-03 04:57:31 -07:00
|
|
|
$(IMLIB2_CFLAGS) \
|
2007-12-08 09:54:38 -08:00
|
|
|
$(DBUS_CFLAGS) \
|
2009-12-26 02:35:42 -08:00
|
|
|
$(XI_CFLAGS) \
|
2010-11-07 12:26:20 -08:00
|
|
|
$(XRANDR_CFLAGS) \
|
2014-11-15 04:29:36 -08:00
|
|
|
$(XPRESENT_CFLAGS) \
|
2010-03-06 23:05:18 -08:00
|
|
|
$(X_CFLAGS)
|
2007-11-03 04:57:31 -07:00
|
|
|
|
2021-05-29 11:13:18 -07:00
|
|
|
e16_LDADD = \
|
2006-04-15 21:53:11 -07:00
|
|
|
$(LTLIBINTL) \
|
|
|
|
$(LTLIBICONV) \
|
2007-08-24 22:38:53 -07:00
|
|
|
$(IMLIB2_LIBS) \
|
2021-04-18 21:32:04 -07:00
|
|
|
$(SOUND_LIBS) \
|
|
|
|
$(FONTS_LIBS) \
|
2007-08-24 22:38:53 -07:00
|
|
|
$(GLX_LIBS) \
|
2009-08-29 11:28:32 -07:00
|
|
|
$(XCOMPOSITE_LIBS) \
|
|
|
|
$(XDAMAGE_LIBS) \
|
|
|
|
$(XFIXES_LIBS) \
|
|
|
|
$(XRENDER_LIBS) \
|
2009-12-26 02:35:42 -08:00
|
|
|
$(XI_LIBS) \
|
2010-11-07 12:26:20 -08:00
|
|
|
$(XRANDR_LIBS) \
|
2014-11-15 04:29:36 -08:00
|
|
|
$(XPRESENT_LIBS) \
|
2007-08-24 22:38:53 -07:00
|
|
|
$(X_LIBS) \
|
|
|
|
$(SM_LIBS) \
|
|
|
|
$(XINERAMA_LIBS) \
|
2009-08-29 11:28:32 -07:00
|
|
|
$(XSCREENSAVER_LIBS) \
|
|
|
|
$(XXF86VM_LIBS) \
|
2007-08-24 22:38:53 -07:00
|
|
|
$(X_EXTRA_LIBS) \
|
|
|
|
$(E_X_LIBS) \
|
2007-12-08 09:54:38 -08:00
|
|
|
$(DBUS_LIBS) \
|
2021-04-18 21:32:04 -07:00
|
|
|
$(MODULE_LIBS) \
|
2011-01-05 10:05:50 -08:00
|
|
|
$(CLOCK_LIBS) \
|
2003-11-15 14:27:17 -08:00
|
|
|
-lX11 -lm
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2012-10-21 08:57:21 -07:00
|
|
|
SNDLDR_CFLAGS = $(AUDIOFILE_CFLAGS) $(SNDFILE_CFLAGS)
|
|
|
|
SNDLDR_LIBS = $(AUDIOFILE_LIBS) $(SNDFILE_LIBS)
|
|
|
|
|
2007-09-06 09:02:48 -07:00
|
|
|
if BUILD_MODULES
|
|
|
|
|
|
|
|
e16_LDFLAGS = -export-dynamic
|
2010-02-14 11:04:11 -08:00
|
|
|
MODULE_LIBS = $(DLOPEN_LIBS)
|
2007-09-06 09:02:48 -07:00
|
|
|
|
2007-11-07 14:05:18 -08:00
|
|
|
libe16dir = $(pkglibdir)
|
2007-09-06 09:02:48 -07:00
|
|
|
|
2021-03-17 11:34:25 -07:00
|
|
|
libe16_LTLIBRARIES = $(LIBSND_ESOUND) $(LIBSND_PULSE) $(LIBSND_SNDIO) $(LIBSND_ALSA) $(LIBSND_PLAYER) $(LIBFNT_IFT) $(LIBFNT_XFT) $(LIBFNT_PANGO)
|
|
|
|
|
|
|
|
if USE_SOUND_ESOUND
|
|
|
|
LIBSND_ESOUND = libsound_esound.la
|
|
|
|
libsound_esound_la_SOURCES = sound_esound.c sound_load.c
|
|
|
|
libsound_esound_la_CFLAGS = $(ESD_CFLAGS) $(SNDLDR_CFLAGS)
|
|
|
|
libsound_esound_la_LIBADD = $(ESD_LIBS) $(SNDLDR_LIBS)
|
|
|
|
libsound_esound_la_LDFLAGS = -module -avoid-version
|
2007-09-06 09:02:48 -07:00
|
|
|
endif
|
|
|
|
|
2020-12-30 11:31:05 -08:00
|
|
|
if USE_SOUND_PULSE
|
|
|
|
LIBSND_PULSE = libsound_pulse.la
|
2021-01-09 00:30:57 -08:00
|
|
|
libsound_pulse_la_SOURCES = sound_pulse.c sound_load.c
|
2021-04-18 21:52:07 -07:00
|
|
|
libsound_pulse_la_CFLAGS = $(PULSE_CFLAGS) $(SNDLDR_CFLAGS)
|
|
|
|
libsound_pulse_la_LIBADD = $(PULSE_LIBS) $(SNDLDR_LIBS)
|
2020-12-30 11:31:05 -08:00
|
|
|
libsound_pulse_la_LDFLAGS = -module -avoid-version
|
2008-03-01 07:22:32 -08:00
|
|
|
endif
|
|
|
|
|
2020-12-30 11:31:05 -08:00
|
|
|
if USE_SOUND_SNDIO
|
2019-07-30 13:48:11 -07:00
|
|
|
LIBSND_SNDIO = libsound_sndio.la
|
|
|
|
libsound_sndio_la_SOURCES = sound_sndio.c sound_load.c
|
2020-04-30 12:39:14 -07:00
|
|
|
libsound_sndio_la_CFLAGS = $(SNDIO_CFLAGS) $(SNDLDR_CFLAGS)
|
|
|
|
libsound_sndio_la_LIBADD = $(SNDIO_LIBS) $(SNDLDR_LIBS)
|
2019-07-30 13:48:11 -07:00
|
|
|
libsound_sndio_la_LDFLAGS = -module -avoid-version
|
|
|
|
endif
|
|
|
|
|
2020-12-30 11:31:05 -08:00
|
|
|
if USE_SOUND_ALSA
|
2020-04-30 12:39:14 -07:00
|
|
|
LIBSND_ALSA = libsound_alsa.la
|
|
|
|
libsound_alsa_la_SOURCES = sound_alsa.c sound_load.c
|
|
|
|
libsound_alsa_la_CFLAGS = $(ALSA_CFLAGS) $(SNDLDR_CFLAGS)
|
|
|
|
libsound_alsa_la_LIBADD = $(ALSA_LIBS) $(SNDLDR_LIBS)
|
|
|
|
libsound_alsa_la_LDFLAGS = -module -avoid-version
|
|
|
|
endif
|
|
|
|
|
2020-12-30 11:20:23 -08:00
|
|
|
if USE_SOUND_PLAYER
|
|
|
|
LIBSND_PLAYER = libsound_player.la
|
|
|
|
libsound_player_la_SOURCES = sound_player.c
|
|
|
|
libsound_player_la_LDFLAGS = -module -avoid-version
|
|
|
|
endif
|
|
|
|
|
2007-09-06 09:02:48 -07:00
|
|
|
LIBFNT_IFT = libfont_ift.la
|
2022-02-20 07:30:33 -08:00
|
|
|
libfont_ift_la_SOURCES = text_ift.c
|
2013-03-26 11:43:15 -07:00
|
|
|
libfont_ift_la_CFLAGS = $(IMLIB2_CFLAGS)
|
2007-09-06 09:02:48 -07:00
|
|
|
libfont_ift_la_LIBADD = $(IMLIB2_LIBS)
|
|
|
|
libfont_ift_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
|
|
|
if USE_LIBXFT
|
|
|
|
LIBFNT_XFT = libfont_xft.la
|
|
|
|
libfont_xft_la_SOURCES = text_xft.c
|
2013-03-26 11:43:15 -07:00
|
|
|
libfont_xft_la_CFLAGS = $(XFT_CFLAGS)
|
2007-09-06 09:02:48 -07:00
|
|
|
libfont_xft_la_LIBADD = $(XFT_LIBS)
|
|
|
|
libfont_xft_la_LDFLAGS = -module -avoid-version
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_LIBPANGO
|
|
|
|
LIBFNT_PANGO = libfont_pango.la
|
|
|
|
libfont_pango_la_SOURCES = text_pango.c
|
2013-03-26 11:43:15 -07:00
|
|
|
libfont_pango_la_CFLAGS = $(PANGO_CFLAGS)
|
2007-09-06 09:02:48 -07:00
|
|
|
libfont_pango_la_LIBADD = $(PANGO_LIBS) libfont_xft.la
|
|
|
|
libfont_pango_la_LDFLAGS = -module -avoid-version
|
|
|
|
endif
|
|
|
|
|
2022-02-20 07:30:33 -08:00
|
|
|
else # BUILD_MODULES
|
2007-09-06 09:02:48 -07:00
|
|
|
|
2021-04-18 21:32:04 -07:00
|
|
|
if ENABLE_SOUND
|
|
|
|
if USE_SOUND_LOADER
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += sound_load.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
if USE_SOUND_ESOUND
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += sound_esound.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
if USE_SOUND_PULSE
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += sound_pulse.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
if USE_SOUND_SNDIO
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += sound_sndio.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
if USE_SOUND_ALSA
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += sound_alsa.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
if USE_SOUND_PLAYER
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += sound_player.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
2022-02-20 07:30:33 -08:00
|
|
|
endif # ENABLE_SOUND
|
2021-04-18 21:32:04 -07:00
|
|
|
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += text_ift.c
|
2021-04-18 21:32:04 -07:00
|
|
|
if USE_LIBXFT
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += text_xft.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
if USE_LIBPANGO
|
2022-02-20 07:30:33 -08:00
|
|
|
e16_SOURCES += text_pango.c
|
2021-04-18 21:32:04 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
SOUND_LIBS = $(ESD_LIBS) $(PULSE_LIBS) $(SNDIO_LIBS) $(ALSA_LIBS) $(SNDLDR_LIBS)
|
|
|
|
FONTS_LIBS = $(PANGO_LIBS) $(XFT_LIBS)
|
|
|
|
|
|
|
|
SOUND_CFLAGS = $(ESD_CFLAGS) $(PULSE_CFLAGS) $(SNDIO_CFLAGS) $(SNDLDR_CFLAGS)
|
|
|
|
FONTS_CFLAGS = $(PANGO_CFLAGS) $(XFT_CFLAGS)
|
2007-09-06 09:02:48 -07:00
|
|
|
|
2022-02-20 07:30:33 -08:00
|
|
|
endif # BUILD_MODULES
|
2007-09-06 09:02:48 -07:00
|
|
|
|
2010-12-04 21:38:41 -08:00
|
|
|
install-data-hook:
|
|
|
|
rm -f $(DESTDIR)$(libe16dir)/*.la
|
2012-04-22 10:39:29 -07:00
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(libe16dir)/*.so
|