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)
39 $(top_builddir)/WINGs/libWINGs.a \
40 $(top_builddir)/wrlib/libwraster.la \
45 $(top_builddir)/WINGs/libWINGs.a \
46 $(top_builddir)/wrlib/libwraster.la \
51 $(top_builddir)/WINGs/libWINGs.a \
52 $(top_builddir)/wrlib/libwraster.la \
56 CLEANFILES = wmaker.inst wmchlocale
58 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
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
69 wmchlocale: $(srcdir)/wmchlocale.in ./Makefile
71 sed -e "s|#pkgdatadir#|$(pkgdatadir)|" $(srcdir)/wmchlocale.in >wmchlocale