Added call to Hermes_Init()
[wmaker-crm.git] / util / Makefile.am
blob82e4831ca54b50dd28e364ca38560d41ab6cf7ec
2 AUTOMAKE_OPTIONS = no-dependencies
4 pkgdatadir  = $(datadir)/@PACKAGE@
6 bin_PROGRAMS = wxcopy wxpaste wdwrite wdread getstyle setstyle seticons geticonset wmsetbg wmsetup wmagnify
8 bin_SCRIPTS = wmaker.inst wm-oldmenu2new wsetfont wmchlocale wkdemenu.pl
10 EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wsetfont directjpeg.c \
11                 wkdemenu.pl wmchlocale.in
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 # remove after we require lPL 0.10.2 which automatically resolves its
19 # library dependancies using the libPropList.la file
20 liblist= @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@
22 wdwrite_LDADD = $(liblist)
24 wdread_LDADD = $(liblist)
26 wxcopy_LDADD = @XLFLAGS@ @XLIBS@ 
28 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
30 getstyle_LDADD = $(liblist)
32 setstyle_LDADD = @XLFLAGS@ @XLIBS@ $(liblist)
34 seticons_LDADD= $(liblist)
36 geticonset_LDADD= $(liblist)
38 wmagnify_LDADD = \
39         $(top_builddir)/WINGs/libWINGs.a \
40         $(top_builddir)/wrlib/libwraster.la \
41         @LIBPL@ \
42         @DLLIBS@
44 wmsetup_LDADD = \
45         $(top_builddir)/WINGs/libWINGs.a \
46         $(top_builddir)/wrlib/libwraster.la \
47         @LIBPL@ \
48         @DLLIBS@
50 wmsetbg_LDADD = \
51         $(top_builddir)/WINGs/libWINGs.a \
52         $(top_builddir)/wrlib/libwraster.la \
53         @LIBPL@ \
54         @DLLIBS@
56 CLEANFILES = wmaker.inst wmchlocale
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
69 wmchlocale: $(srcdir)/wmchlocale.in ./Makefile
70         -rm -f wmchlocale
71         sed -e "s|#pkgdatadir#|$(pkgdatadir)|" $(srcdir)/wmchlocale.in >wmchlocale
73         chmod 755 wmchlocale