Fixed return of WMGetUDStringForKey to be only a reference, not an allocated
[wmaker-crm.git] / util / Makefile.am
blob95bb920cf439aca55f266916aca13461479ca226
2 AUTOMAKE_OPTIONS = no-dependencies
4 pkgdatadir  = $(datadir)/@PACKAGE@
6 bin_PROGRAMS = wxcopy wxpaste wdwrite getstyle setstyle seticons geticonset wmsetbg
8 bin_SCRIPTS = wmaker.inst wm-oldmenu2new wsetfont wkdemenu.pl
10 EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wsetfont directjpeg.c \
11                 wkdemenu.pl
13 INCLUDES = @DFLAGS@ -I$(top_srcdir)/wrlib @HEADER_SEARCH_PATH@
15 # X_EXTRA_LIBS is for libproplist in systems that need -lsocket
16 liblist= @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
19 wdwrite_LDADD = $(liblist)
21 wxcopy_LDADD = @XLFLAGS@ @XLIBS@ 
23 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
25 getstyle_LDADD = $(liblist)
27 setstyle_LDADD = @XLFLAGS@ @XLIBS@ $(liblist)
29 seticons_LDADD= $(liblist)
31 geticonset_LDADD= $(liblist)
33 wmsetbg_LDADD = \
34         $(top_builddir)/WINGs/libWINGs.a \
35         $(top_builddir)/wrlib/libwraster.la \
36         @LIBRARY_SEARCH_PATH@ \
37         @LIBPL@ \
38         @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
40 getstyle_SOURCES = getstyle.c
42 setstyle_SOURCES = setstyle.c
44 seticons_SOURCES = seticons.c
46 geticonset_SOURCES = geticonset.c
48 wxcopy_SOURCES = wxcopy.c
50 wxpaste_SOURCES = wxpaste.c
52 wdwrite_SOURCES = wdwrite.c
54 wmsetbg_SOURCES = wmsetbg.c 
56 CLEANFILES = wmaker.inst
58 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
59         -rm -f wmaker.inst
60         sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
61                 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
62                 -e "s|#version#|$(VERSION)|" \
63                 -e "s|#bindir#|$(bindir)|" \
64                 -e "s|#LITE#|@LITE@|" \
65                         $(srcdir)/wmaker.inst.in >wmaker.inst
67         chmod 755 wmaker.inst