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)
33 $(top_builddir)/WINGs/libWINGs.a \
34 $(top_builddir)/wrlib/libwraster.la \
35 @LIBRARY_SEARCH_PATH@ \
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
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