0.51.1 pre snapshot. Be careful, it may be buggy. It fixes some bugs though.
[wmaker-crm.git] / util / Makefile.am
blob97e21d6d1881b4a21a406b7d5098fdb1686d8488
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 
10 EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wsetfont directjpeg.c 
12 INCLUDES = @DFLAGS@ -I$(top_srcdir)/wrlib @HEADER_SEARCH_PATH@
14 # X_EXTRA_LIBS is for libproplist in systems that need -lsocket
15 liblist= @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
18 wdwrite_LDADD = $(liblist)
20 wxcopy_LDADD = @XLFLAGS@ @XLIBS@ 
22 wxpaste_LDADD = @XLFLAGS@ @XLIBS@ 
24 getstyle_LDADD = $(liblist)
26 setstyle_LDADD = $(liblist)
28 seticons_LDADD= $(liblist)
30 geticonset_LDADD= $(liblist)
32 wmsetbg_LDADD = \
33         $(top_builddir)/WINGs/libWINGs.a \
34         $(top_builddir)/wrlib/libwraster.la \
35         @LIBRARY_SEARCH_PATH@ \
36         @LIBPL@ \
37         @GFXLIBS@ @XLIBS@ -lm
39 getstyle_SOURCES = getstyle.c
41 setstyle_SOURCES = setstyle.c
43 seticons_SOURCES = seticons.c
45 geticonset_SOURCES = geticonset.c
47 wxcopy_SOURCES = wxcopy.c
49 wxpaste_SOURCES = wxpaste.c
51 wdwrite_SOURCES = wdwrite.c
53 wmsetbg_SOURCES = wmsetbg.c 
55 CLEANFILES = wmaker.inst
57 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
58         -rm -f wmaker.inst
59         sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
60                 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
61                 -e "s|#version#|$(VERSION)|" \
62                 -e "s|#bindir#|$(bindir)|" \
63                 -e "s|#LITE#|@LITE@|" \
64                         $(srcdir)/wmaker.inst.in >wmaker.inst
66         chmod 755 wmaker.inst