- changed behaviour of control/shift double click on titlebar for maximize
[wmaker-crm.git] / util / Makefile.am
blobdef435afc06d450902efdc2199329722e5a21fd5
2 AUTOMAKE_OPTIONS = no-dependencies
4 pkgdatadir  = $(datadir)/@PACKAGE@
6 bin_PROGRAMS = wxcopy wxpaste wdwrite getstyle setstyle seticons geticonset wmsetbg wmsetup wmagnify
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)/WINGs -I$(top_srcdir)/wrlib \
14         @HEADER_SEARCH_PATH@ \
15         -DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
17 # X_EXTRA_LIBS is for libproplist in systems that need -lsocket
18 liblist= @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
20 wdwrite_LDADD = $(liblist)
22 wxcopy_LDADD = @XLFLAGS@ @XLIBS@ 
24 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
26 getstyle_LDADD = $(liblist)
28 setstyle_LDADD = @XLFLAGS@ @XLIBS@ $(liblist)
30 seticons_LDADD= $(liblist)
32 geticonset_LDADD= $(liblist)
34 wmagnify_LDADD = \
35         $(top_builddir)/WINGs/libWINGs.a \
36         $(top_builddir)/wrlib/libwraster.la \
37         @LIBRARY_SEARCH_PATH@ \
38         @LIBPL@ \
39         @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
41 wmsetup_LDADD = \
42         $(top_builddir)/WINGs/libWINGs.a \
43         $(top_builddir)/wrlib/libwraster.la \
44         @LIBRARY_SEARCH_PATH@ \
45         @LIBPL@ \
46         @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
48 wmsetbg_LDADD = \
49         $(top_builddir)/WINGs/libWINGs.a \
50         $(top_builddir)/wrlib/libwraster.la \
51         @LIBRARY_SEARCH_PATH@ \
52         @LIBPL@ \
53         @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
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