mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 15:12:32 +01:00
Why?
1. The reason for its existence is to "Disable some stuff that are
duplicated in kde", and I don't think I will ever need that.
Furthermore, even the description in the configure script reads
"disable some stuff (dont use it)".
2. It makes the code uglier at some places, e.g.,
#ifdef LITE
{
#if 0
}
#endif
#else
if (!wRootMenuPerformShortcut(event)) {
#endif
which by the way is the ugliness which motivated this patch.
3. Does not even compile anymore. It fails with
CC dockedapp.o
CC event.o
event.c: In function 'executeButtonAction:
event.c:711: error: WScreen has no member named root_menu
event.c:712: error: WScreen has no member named root_menu
event.c:713: error: WScreen has no member named root_menu
event.c:715: error: WScreen has no member named root_menu
event.c:720: error: WScreen has no member named switch_menu
event.c:721: error: WScreen has no member named switch_menu
event.c:722: error: WScreen has no member named switch_menu
event.c:724: error: WScreen has no member named switch_menu
make[2]: *** [event.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
But instead of fixing this (it would be trivial), let's get
rid of the whole ugliness altogether.
82 lines
2.0 KiB
Makefile
82 lines
2.0 KiB
Makefile
|
|
AUTOMAKE_OPTIONS = no-dependencies
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
bin_PROGRAMS = wxcopy wxpaste wdwrite wdread getstyle setstyle convertfonts \
|
|
seticons geticonset wmsetbg wmsetup wmagnify
|
|
|
|
bin_SCRIPTS = wmaker.inst wm-oldmenu2new wkdemenu.pl
|
|
|
|
EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new directjpeg.c wkdemenu.pl
|
|
|
|
INCLUDES = $(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
|
|
@HEADER_SEARCH_PATH@ \
|
|
-DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
|
|
|
|
liblist= @LIBRARY_SEARCH_PATH@ @INTLIBS@
|
|
|
|
wdwrite_LDADD = $(top_builddir)/WINGs/libWUtil.a $(liblist)
|
|
|
|
wdread_LDADD = $(top_builddir)/WINGs/libWUtil.a $(liblist)
|
|
|
|
wxcopy_LDADD = @XLFLAGS@ @XLIBS@
|
|
|
|
wxpaste_LDADD = @XLFLAGS@ @XLIBS@
|
|
|
|
getstyle_LDADD = $(top_builddir)/WINGs/libWUtil.a $(liblist)
|
|
|
|
getstyle_SOURCES = getstyle.c fontconv.c
|
|
|
|
setstyle_LDADD = \
|
|
$(top_builddir)/WINGs/libWUtil.a \
|
|
@XLFLAGS@ @XLIBS@ $(liblist)
|
|
|
|
setstyle_SOURCES = setstyle.c fontconv.c
|
|
|
|
convertfonts_LDADD = $(top_builddir)/WINGs/libWUtil.a $(liblist)
|
|
|
|
convertfonts_SOURCES = convertfonts.c fontconv.c
|
|
|
|
seticons_LDADD= $(top_builddir)/WINGs/libWUtil.a $(liblist)
|
|
|
|
geticonset_LDADD= $(top_builddir)/WINGs/libWUtil.a $(liblist)
|
|
|
|
wmagnify_LDADD = \
|
|
$(top_builddir)/WINGs/libWINGs.a \
|
|
$(top_builddir)/wrlib/libwraster.la \
|
|
@XFTLIBS@ @INTLIBS@ @DLLIBS@
|
|
|
|
wmsetup_LDADD = \
|
|
$(top_builddir)/WINGs/libWINGs.a \
|
|
$(top_builddir)/wrlib/libwraster.la \
|
|
@XFTLIBS@ @INTLIBS@ @DLLIBS@
|
|
|
|
wmsetbg_LDADD = \
|
|
$(top_builddir)/WINGs/libWINGs.a \
|
|
$(top_builddir)/wrlib/libwraster.la \
|
|
@XLFLAGS@ @XLIBS@ @XFTLIBS@ @INTLIBS@ @DLLIBS@
|
|
|
|
CLEANFILES = wmaker.inst
|
|
|
|
wmaker.inst: $(srcdir)/wmaker.inst.in ./Makefile
|
|
@-rm -f wmaker.inst
|
|
@sed -e "s|#pkgdatadir#|$(pkgdatadir)|" \
|
|
-e "s|#sysconfdir#|$(sysconfdir)/WindowMaker|" \
|
|
-e "s|#version#|$(VERSION)|" \
|
|
-e "s|#bindir#|$(bindir)|" \
|
|
$(srcdir)/wmaker.inst.in >wmaker.inst
|
|
|
|
chmod 755 wmaker.inst
|
|
|
|
LIBTOOL = $(QUIET) $(SHELL) $(top_srcdir)/libtool $(LIBTOOL_ARG)
|
|
|
|
.c.o:
|
|
$(QUIET)$(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
$(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.c.lo:
|
|
$(QUIET)$(LTCOMPILE) -c -o $@ $<
|