mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
The code is making use of a few of the libm functions, but it looks like gcc adds automatically the libm dependency (either by trying to be smart or as an inherited dependency?). Apparently, when compiling with clang-3.5 the function 'round' still needs the use of math library (the others do not seem to), so this patch adds it to the list of link libraries, which is more portable. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
63 lines
1.1 KiB
Makefile
63 lines
1.1 KiB
Makefile
SUBDIRS = xpm tiff po
|
|
|
|
AUTOMAKE_OPTIONS =
|
|
|
|
wpexecbindir = @wprefs_bindir@
|
|
|
|
wpexecbin_PROGRAMS = WPrefs
|
|
|
|
wpdatadir = @wprefs_datadir@
|
|
|
|
wpdata_DATA = WPrefs.tiff WPrefs.xpm
|
|
|
|
EXTRA_DIST = $(wpdata_DATA) \
|
|
KeyboardSettings.c \
|
|
Themes.c
|
|
|
|
WPrefs_SOURCES = \
|
|
main.c \
|
|
WPrefs.c \
|
|
WPrefs.h \
|
|
Appearance.c \
|
|
Configurations.c \
|
|
Docks.c \
|
|
Expert.c \
|
|
Focus.c \
|
|
FontSimple.c \
|
|
Icons.c \
|
|
KeyboardShortcuts.c \
|
|
Menu.c \
|
|
MenuPreferences.c \
|
|
MouseSettings.c \
|
|
Paths.c \
|
|
Preferences.c \
|
|
TexturePanel.c \
|
|
TexturePanel.h \
|
|
WindowHandling.c \
|
|
Workspace.c \
|
|
double.c \
|
|
editmenu.c \
|
|
editmenu.h \
|
|
xmodifier.c
|
|
|
|
# not_yet_fully_implemented
|
|
#WPrefs_SOURCES += \
|
|
# KeyboardSettings.c \
|
|
# Themes.c
|
|
|
|
AM_CFLAGS =
|
|
|
|
AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" -DRESOURCE_PATH=\"$(wpdatadir)\" -DWMAKER_RESOURCE_PATH=\"$(pkgdatadir)\" \
|
|
-I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@
|
|
|
|
WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
|
|
|
WPrefs_LDADD = \
|
|
$(top_builddir)/WINGs/libWINGs.la\
|
|
$(top_builddir)/WINGs/libWUtil.la\
|
|
$(top_builddir)/wrlib/libwraster.la \
|
|
@XLFLAGS@ @XLIBS@ \
|
|
@LIBM@ \
|
|
@FCLIBS@ \
|
|
@INTLIBS@
|