Coverity: fix wmiv resource leak
[wmaker-crm.git] / WPrefs.app / Makefile.am
blob2d81b4e1dab80d5f2f5a432901a28440d1bfb551
1 SUBDIRS = xpm tiff po
3 AUTOMAKE_OPTIONS =
5 wpexecbindir = @wprefs_bindir@
7 wpexecbin_PROGRAMS = WPrefs
9 wpdatadir = @wprefs_datadir@
11 wpdata_DATA = WPrefs.tiff WPrefs.xpm
13 applicationsdir = @datadir@/applications
15 applications_DATA = WPrefs.desktop
17 WPrefs.desktop: WPrefs.desktop.in
18         $(AM_V_GEN)sed -e "s:#wprefs_bindir#:${wprefs_bindir}:" \
19                        -e "s:#wprefs_datadir#:${wprefs_datadir}:" $< > $@
21 EXTRA_DIST = $(wpdata_DATA) \
22         KeyboardSettings.c \
23         Themes.c \
24         WPrefs.desktop.in
26 DISTCLEANFILES = WPrefs.desktop
28 WPrefs_SOURCES = \
29         main.c \
30         WPrefs.c \
31         WPrefs.h \
32         Appearance.c \
33         Configurations.c \
34         Docks.c \
35         Expert.c \
36         Focus.c \
37         FontSimple.c \
38         Icons.c \
39         KeyboardShortcuts.c \
40         Menu.c \
41         MenuPreferences.c \
42         MouseSettings.c \
43         Paths.c \
44         Preferences.c \
45         TexturePanel.c \
46         TexturePanel.h \
47         WindowHandling.c \
48         Workspace.c \
49         double.c \
50         editmenu.c \
51         editmenu.h \
52         xmodifier.c
54 # not_yet_fully_implemented
55 #WPrefs_SOURCES += \
56 #       KeyboardSettings.c \
57 #       Themes.c
59 AM_CFLAGS = @PANGO_CFLAGS@
61 AM_CPPFLAGS = -DRESOURCE_PATH=\"$(wpdatadir)\" -DWMAKER_RESOURCE_PATH=\"$(pkgdatadir)\" \
62          -I$(top_builddir)/wrlib -I$(top_srcdir)/WINGs -I$(top_builddir)/WINGs \
63          @HEADER_SEARCH_PATH@
65 WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
67 WPrefs_LDADD = \
68         $(top_builddir)/WINGs/libWINGs.la\
69         $(top_builddir)/WINGs/libWUtil.la\
70         $(top_builddir)/wrlib/libwraster.la \
71         @XLFLAGS@ @XLIBS@ \
72         @LIBM@ \
73         @FCLIBS@ \
74         @INTLIBS@