5 pkgdatadir = $(datadir)/@PACKAGE@
7 bin_PROGRAMS = wxcopy wxpaste wdwrite wdread getstyle setstyle convertfonts \
8 seticons geticonset wmsetbg wmagnify wmgenmenu wmmenugen
10 bin_SCRIPTS = wmaker.inst wm-oldmenu2new wkdemenu.pl
12 EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new directjpeg.c wkdemenu.pl
14 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\"
16 INCLUDES = $(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
17 @HEADER_SEARCH_PATH@ \
18 -DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
20 liblist= @LIBRARY_SEARCH_PATH@ @INTLIBS@
22 wdwrite_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
24 wdread_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
26 wxcopy_LDADD = @XLFLAGS@ @XLIBS@
28 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
30 getstyle_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
32 getstyle_SOURCES = getstyle.c fontconv.c
35 $(top_builddir)/WINGs/libWUtil.la \
36 @XLFLAGS@ @XLIBS@ $(liblist)
38 setstyle_SOURCES = setstyle.c fontconv.c
40 convertfonts_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
42 convertfonts_SOURCES = convertfonts.c fontconv.c
44 seticons_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
46 geticonset_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
49 $(top_builddir)/WINGs/libWINGs.la \
50 $(top_builddir)/WINGs/libWUtil.la \
51 $(top_builddir)/wrlib/libwraster.la \
52 @XLFLAGS@ @XLIBS@ @INTLIBS@
55 $(top_builddir)/WINGs/libWINGs.la \
56 $(top_builddir)/WINGs/libWUtil.la \
57 $(top_builddir)/wrlib/libwraster.la \
58 @XLFLAGS@ @LIBXINERAMA@ @XLIBS@ @INTLIBS@
61 $(top_builddir)/WINGs/libWUtil.la \
64 wmgenmenu_SOURCES = wmgenmenu.c wmgenmenu.h
67 $(top_builddir)/WINGs/libWUtil.la \
70 wmmenugen_SOURCES = wmmenugen.c wmmenugen.h wmmenugen_misc.c \
71 wmmenugen_parse_wmconfig.c \
74 CLEANFILES = wmaker.inst
76 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
78 sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
79 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
80 -e "s|#version#|$(VERSION)|" \
81 -e "s|#bindir#|$(bindir)|" \
82 $(srcdir)/wmaker.inst.in >wmaker.inst