WINGs: Avoid cast from pointer to integer of different size compiler warnings.
[wmaker-crm.git] / util / Makefile.am
blobb5c9d0420729fc44c8f6a0cdb7f92417d316a69b
1 SUBDIRS = po
3 AUTOMAKE_OPTIONS =
5 pkgdatadir  = $(datadir)/@PACKAGE@
7 bin_PROGRAMS = wxcopy wxpaste wdwrite wdread getstyle setstyle convertfonts \
8         seticons geticonset wmsetbg wmagnify wmgenmenu wmmenugen wmiv
10 bin_SCRIPTS = wmaker.inst wm-oldmenu2new wkdemenu.pl
12 EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wkdemenu.pl
14 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" \
15          $(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
16         @HEADER_SEARCH_PATH@ \
17         -DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
19 liblist= @LIBRARY_SEARCH_PATH@ @INTLIBS@
21 wdwrite_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
23 wdread_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
25 wxcopy_LDADD = @XLFLAGS@ @XLIBS@ 
27 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
29 getstyle_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
31 getstyle_SOURCES = getstyle.c fontconv.c common.h
33 setstyle_LDADD = \
34         $(top_builddir)/WINGs/libWUtil.la \
35         @XLFLAGS@ @XLIBS@ $(liblist)
37 setstyle_SOURCES = setstyle.c fontconv.c common.h
39 convertfonts_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
41 convertfonts_SOURCES = convertfonts.c fontconv.c common.h
43 seticons_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
45 geticonset_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
47 wmagnify_LDADD = \
48         $(top_builddir)/WINGs/libWINGs.la \
49         $(top_builddir)/WINGs/libWUtil.la \
50         $(top_builddir)/wrlib/libwraster.la \
51         @XLFLAGS@ @XLIBS@ @INTLIBS@
53 wmsetbg_LDADD = \
54         $(top_builddir)/WINGs/libWINGs.la \
55         $(top_builddir)/WINGs/libWUtil.la \
56         $(top_builddir)/wrlib/libwraster.la \
57         @XLFLAGS@ @LIBXINERAMA@ @XLIBS@ @INTLIBS@
59 wmgenmenu_LDADD = \
60         $(top_builddir)/WINGs/libWUtil.la \
61         @INTLIBS@
63 wmgenmenu_SOURCES = wmgenmenu.c wmgenmenu.h
65 wmmenugen_LDADD = \
66         $(top_builddir)/WINGs/libWUtil.la \
67         @INTLIBS@
69 wmmenugen_SOURCES = wmmenugen.c wmmenugen.h wmmenugen_misc.c \
70         wmmenugen_parse_wmconfig.c \
71         wmmenugen_parse_xdg.c
73 wmiv_LDADD = \
74         $(top_builddir)/wrlib/libwraster.la \
75         @XLFLAGS@ @XLIBS@ \
76         @GFXLIBS@ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(LIBEXIF)
78 wmiv_SOURCES = wmiv.c wmiv.h
80 CLEANFILES = wmaker.inst
82 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
83         -rm -f wmaker.inst
84         sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
85                 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
86                 -e "s|#version#|$(VERSION)|" \
87                 -e "s|#bindir#|$(bindir)|" \
88                         $(srcdir)/wmaker.inst.in >wmaker.inst
90         chmod 755 wmaker.inst