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 \
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 wxcopy_LDADD = @XLFLAGS@ @XLIBS@
26 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
28 getstyle_LDADD = $(liblist)
30 setstyle_LDADD = @XLFLAGS@ @XLIBS@ $(liblist)
32 seticons_LDADD= $(liblist)
34 geticonset_LDADD= $(liblist)
37 $(top_builddir)/WINGs/libWINGs.a \
38 $(top_builddir)/wrlib/libwraster.la \
43 $(top_builddir)/WINGs/libWINGs.a \
44 $(top_builddir)/wrlib/libwraster.la \
49 $(top_builddir)/WINGs/libWINGs.a \
50 $(top_builddir)/wrlib/libwraster.la \
54 CLEANFILES = wmaker.inst
56 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
58 sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
59 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
60 -e "s|#version#|$(VERSION)|" \
61 -e "s|#bindir#|$(bindir)|" \
62 -e "s|#LITE#|@LITE@|" \
63 $(srcdir)/wmaker.inst.in >wmaker.inst