5 pkgdatadir = $(datadir)/@PACKAGE@
7 bin_PROGRAMS = wxcopy wxpaste wdwrite wdread getstyle setstyle convertfonts \
8 seticons geticonset wmsetbg wmagnify wmgenmenu wmmenugen wmiv
10 bin_SCRIPTS = wmaker.inst wm-oldmenu2new wkdemenu.pl
12 EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wkdemenu.pl
14 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" \
15 $(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
16 @HEADER_SEARCH_PATH@ \
17 -DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
19 liblist= @LIBRARY_SEARCH_PATH@ @INTLIBS@
21 wdwrite_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
23 wdread_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
25 wxcopy_LDADD = @XLFLAGS@ @XLIBS@
27 wxpaste_LDADD = @XLFLAGS@ @XLIBS@
29 getstyle_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
31 getstyle_SOURCES = getstyle.c fontconv.c common.h
34 $(top_builddir)/WINGs/libWUtil.la \
35 @XLFLAGS@ @XLIBS@ $(liblist)
37 setstyle_SOURCES = setstyle.c fontconv.c common.h
39 convertfonts_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
41 convertfonts_SOURCES = convertfonts.c fontconv.c common.h
43 seticons_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
45 geticonset_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
48 $(top_builddir)/WINGs/libWINGs.la \
49 $(top_builddir)/WINGs/libWUtil.la \
50 $(top_builddir)/wrlib/libwraster.la \
51 @XLFLAGS@ @XLIBS@ @INTLIBS@
54 $(top_builddir)/WINGs/libWINGs.la \
55 $(top_builddir)/WINGs/libWUtil.la \
56 $(top_builddir)/wrlib/libwraster.la \
57 @XLFLAGS@ @LIBXINERAMA@ @XLIBS@ @INTLIBS@
60 $(top_builddir)/WINGs/libWUtil.la \
63 wmgenmenu_SOURCES = wmgenmenu.c wmgenmenu.h
66 $(top_builddir)/WINGs/libWUtil.la \
69 wmmenugen_SOURCES = wmmenugen.c wmmenugen.h wmmenugen_misc.c \
70 wmmenugen_parse_wmconfig.c \
74 $(top_builddir)/wrlib/libwraster.la \
76 @GFXLIBS@ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(LIBEXIF)
78 wmiv_SOURCES = wmiv.c wmiv.h
80 CLEANFILES = wmaker.inst
82 wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
84 sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
85 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
86 -e "s|#version#|$(VERSION)|" \
87 -e "s|#bindir#|$(bindir)|" \
88 $(srcdir)/wmaker.inst.in >wmaker.inst