wmgenmenu: A Window Maker menu generator
[wmaker-crm.git] / util / Makefile.am
Commit [+]AuthorDateLineData
18618802 Carlos R. Mafra2010-01-25 10:55:33 +01001SUBDIRS = po
9d2e6ef9 scottc1998-09-29 22:36:29 +00002
3AUTOMAKE_OPTIONS = no-dependencies
4
5pkgdatadir = $(datadir)/@PACKAGE@
6
9aca0d5f dan2004-10-12 01:34:32 +00007bin_PROGRAMS = wxcopy wxpaste wdwrite wdread getstyle setstyle convertfonts \
18618802 Carlos R. Mafra2010-01-25 10:55:33 +01008 seticons geticonset wmsetbg wmsetup wmagnify wmgenmenu
9d2e6ef9 scottc1998-09-29 22:36:29 +00009
e93e16de dan2004-10-23 00:00:02 +000010bin_SCRIPTS = wmaker.inst wm-oldmenu2new wkdemenu.pl
9d2e6ef9 scottc1998-09-29 22:36:29 +000011
e93e16de dan2004-10-23 00:00:02 +000012EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new directjpeg.c wkdemenu.pl
9d2e6ef9 scottc1998-09-29 22:36:29 +000013
18618802
CM
Carlos R. Mafra2010-01-25 10:55:33 +010014AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\"
15
9aa1d138 kojima2000-04-09 23:55:46 +000016INCLUDES = $(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
58b36ec1 kojima2000-05-22 03:09:20 +000017 @HEADER_SEARCH_PATH@ \
18 -DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
9d2e6ef9 scottc1998-09-29 22:36:29 +000019
92b012e8 dan2002-09-15 20:37:41 +000020liblist= @LIBRARY_SEARCH_PATH@ @INTLIBS@
9af1c6c4 dan1998-10-21 14:43:47 +000021
3953f536 Alexey Voinov2007-08-14 13:33:22 +040022wdwrite_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
9d2e6ef9 scottc1998-09-29 22:36:29 +000023
3953f536 Alexey Voinov2007-08-14 13:33:22 +040024wdread_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
9d88b14f kojima2001-02-08 22:43:00 +000025
9d2e6ef9 scottc1998-09-29 22:36:29 +000026wxcopy_LDADD = @XLFLAGS@ @XLIBS@
27
9df0e167 kojima1999-04-03 03:51:17 +000028wxpaste_LDADD = @XLFLAGS@ @XLIBS@
9d2e6ef9 scottc1998-09-29 22:36:29 +000029
3953f536 Alexey Voinov2007-08-14 13:33:22 +040030getstyle_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
9d2e6ef9 scottc1998-09-29 22:36:29 +000031
70555308 kojima2004-10-16 22:05:04 +000032getstyle_SOURCES = getstyle.c fontconv.c
33
33cc542e dan2001-10-04 03:07:34 +000034setstyle_LDADD = \
3953f536 Alexey Voinov2007-08-14 13:33:22 +040035 $(top_builddir)/WINGs/libWUtil.la \
33cc542e dan2001-10-04 03:07:34 +000036 @XLFLAGS@ @XLIBS@ $(liblist)
9aca0d5f dan2004-10-12 01:34:32 +000037
70555308 kojima2004-10-16 22:05:04 +000038setstyle_SOURCES = setstyle.c fontconv.c
39
3953f536 Alexey Voinov2007-08-14 13:33:22 +040040convertfonts_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
9d2e6ef9 scottc1998-09-29 22:36:29 +000041
70555308 kojima2004-10-16 22:05:04 +000042convertfonts_SOURCES = convertfonts.c fontconv.c
43
3953f536 Alexey Voinov2007-08-14 13:33:22 +040044seticons_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
9d2e6ef9 scottc1998-09-29 22:36:29 +000045
3953f536 Alexey Voinov2007-08-14 13:33:22 +040046geticonset_LDADD= $(top_builddir)/WINGs/libWUtil.la $(liblist)
9d2e6ef9 scottc1998-09-29 22:36:29 +000047
58b36ec1 kojima2000-05-22 03:09:20 +000048wmagnify_LDADD = \
3953f536
AV
Alexey Voinov2007-08-14 13:33:22 +040049 $(top_builddir)/WINGs/libWINGs.la \
50 $(top_builddir)/WINGs/libWUtil.la \
416e3a82 dan1999-01-25 19:06:50 +000051 $(top_builddir)/wrlib/libwraster.la \
17f26077 dan2002-10-09 05:14:28 +000052 @XFTLIBS@ @INTLIBS@ @DLLIBS@
9d2e6ef9 scottc1998-09-29 22:36:29 +000053
58b36ec1 kojima2000-05-22 03:09:20 +000054wmsetup_LDADD = \
3953f536
AV
Alexey Voinov2007-08-14 13:33:22 +040055 $(top_builddir)/WINGs/libWINGs.la \
56 $(top_builddir)/WINGs/libWUtil.la \
58b36ec1 kojima2000-05-22 03:09:20 +000057 $(top_builddir)/wrlib/libwraster.la \
17f26077 dan2002-10-09 05:14:28 +000058 @XFTLIBS@ @INTLIBS@ @DLLIBS@
9d2e6ef9 scottc1998-09-29 22:36:29 +000059
58b36ec1 kojima2000-05-22 03:09:20 +000060wmsetbg_LDADD = \
3953f536
AV
Alexey Voinov2007-08-14 13:33:22 +040061 $(top_builddir)/WINGs/libWINGs.la \
62 $(top_builddir)/WINGs/libWUtil.la \
58b36ec1 kojima2000-05-22 03:09:20 +000063 $(top_builddir)/wrlib/libwraster.la \
42191340 dan2006-04-25 18:59:24 +000064 @XLFLAGS@ @XLIBS@ @XFTLIBS@ @INTLIBS@ @DLLIBS@
9d2e6ef9 scottc1998-09-29 22:36:29 +000065
18618802
CM
Carlos R. Mafra2010-01-25 10:55:33 +010066wmgenmenu_LDADD = \
67 $(top_builddir)/WINGs/libWUtil.la \
68 @INTLIBS@
69
e93e16de dan2004-10-23 00:00:02 +000070CLEANFILES = wmaker.inst
9d2e6ef9 scottc1998-09-29 22:36:29 +000071
9007a657 dan1998-11-23 11:32:19 +000072wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
72689513
CM
Carlos R. Mafra2008-11-05 02:09:10 +010073 @-rm -f wmaker.inst
74 @sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
e7495baf dan1999-02-17 11:06:40 +000075 -e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
76 -e "s|#version#|$(VERSION)|" \
77 -e "s|#bindir#|$(bindir)|" \
9d2e6ef9 scottc1998-09-29 22:36:29 +000078 $(srcdir)/wmaker.inst.in >wmaker.inst
79
80 chmod 755 wmaker.inst
72689513 Carlos R. Mafra2008-11-05 02:09:10 +010081
7a86f48f Carlos R. Mafra2009-09-18 00:23:19 +020082LIBTOOL = $(SHELL) $(top_srcdir)/libtool $(LIBTOOL_ARG)
9d2e6ef9 scottc1998-09-29 22:36:29 +000083
72689513
CM
Carlos R. Mafra2008-11-05 02:09:10 +010084.c.o:
85 $(QUIET)$(COMPILE) -c $<
86
87.c.obj:
88 $(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
89
90.c.lo:
91 $(QUIET)$(LTCOMPILE) -c -o $@ $<