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 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)
35 $(top_builddir)/WINGs/libWINGs.a \
36 $(top_builddir)/wrlib/libwraster.la \
37 @LIBRARY_SEARCH_PATH@ \
39 @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
42 $(top_builddir)/WINGs/libWINGs.a \
43 $(top_builddir)/wrlib/libwraster.la \
44 @LIBRARY_SEARCH_PATH@ \
46 @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
49 $(top_builddir)/WINGs/libWINGs.a \
50 $(top_builddir)/wrlib/libwraster.la \
51 @LIBRARY_SEARCH_PATH@ \
53 @GFXLIBS@ @XLIBS@ @DLLIBS@ -lm
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