From 1a7f6d9f0637333956bd4e7f5418129d033dba80 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Thu, 27 Sep 2007 13:58:59 +0000 Subject: [PATCH] Removed obsolete makefiles. Added main Makefile which will try to detect installed jam and call it as background process --- Makefile | 121 ++++++---------------- ecolorconf/Makefile | 21 ---- edelib2/Makefile | 15 --- edewm/tests/Makefile | 38 ------- edialog/Makefile | 17 ---- edisplayconf/Makefile | 22 ---- efinder/Makefile | 21 ---- eiconsconf/Makefile | 22 ---- einstaller/Makefile | 21 ---- ekeyconf/Makefile | 17 ---- elauncher/Makefile | 22 ---- elauncher/locale/Makefile | 208 -------------------------------------- emenueditor/Makefile | 22 ---- epanelconf/Makefile | 22 ---- esvrconf/Makefile | 21 ---- etip/Makefile | 21 ---- evolume/Makefile | 22 ---- ewmconf/Makefile | 22 ---- eworkpanel/Makefile | 22 ---- makeinclude.in | 84 --------------- 20 files changed, 32 insertions(+), 749 deletions(-) delete mode 100644 ecolorconf/Makefile delete mode 100644 edelib2/Makefile delete mode 100644 edewm/tests/Makefile delete mode 100644 edialog/Makefile delete mode 100644 edisplayconf/Makefile delete mode 100644 efinder/Makefile delete mode 100644 eiconsconf/Makefile delete mode 100644 einstaller/Makefile delete mode 100644 ekeyconf/Makefile delete mode 100644 elauncher/Makefile delete mode 100644 elauncher/locale/Makefile delete mode 100644 emenueditor/Makefile delete mode 100644 epanelconf/Makefile delete mode 100644 esvrconf/Makefile delete mode 100644 etip/Makefile delete mode 100644 evolume/Makefile delete mode 100644 ewmconf/Makefile delete mode 100644 eworkpanel/Makefile delete mode 100644 makeinclude.in diff --git a/Makefile b/Makefile index 8a46b6c..0c62bed 100644 --- a/Makefile +++ b/Makefile @@ -2,102 +2,45 @@ # $Id: Makefile 1667 2006-06-14 16:28:31Z karijes $ # # Part of Equinox Desktop Environment (EDE). -# Copyright (c) 2000-2006 EDE Authors. +# Copyright (c) 2007 EDE Authors. # -# This program is licenced under terms of the -# GNU General Public Licence version 2 or newer. +# This program is licensed under terms of the +# GNU General Public License version 2 or newer. # See COPYING for details. -# main file for making +JAM_PATH= -include makeinclude +define jam-cmd + @if [ -z $(JAM_PATH) ]; then \ + if [ -x ./jam ]; then \ + jam_path="./jam"; \ + else \ + jam_path=`which jam`; \ + fi; \ + else \ + jam_path=$(JAM_PATH); \ + fi; \ + \ + if [ -z $$jam_path ] || [ ! -x $$jam_path ]; then \ + echo ""; \ + echo "*** Unable to find jam either in `pwd`"; \ + echo "*** or in $$PATH"; \ + echo ""; \ + else \ + $$jam_path $1; \ + fi +endef -DIRS = common\ - ecolorconf\ - econtrol\ - efinder\ - eiconman\ - eiconsconf\ - einstaller\ - ekeyconf\ - elauncher\ - emenueditor\ - epanelconf\ - erun\ - esvrconf\ - etimedate\ - etip\ - ewmconf\ - eworkpanel\ - edisplayconf\ - edewm\ - datas\ - datas/programs-links\ - datas/desktop-links\ - datas/icons-16\ - datas/icons-48\ - datas/schemes\ - docs/ede $(EVOLUME) - -all: makeinclude - for dir in $(DIRS); do\ - echo "Going to $$dir...";\ - (cd $$dir; $(MAKE) $(MFLAGS)) || exit;\ - done - @@echo "Now please run 'make install' as root" - -# each submakefile should implement install and clean +all: + $(call jam-cmd) .PHONY: clean -install: makeinclude - for dir in $(DIRS); do\ - echo "Installing from $$dir...";\ - (cd $$dir; $(MAKE) $(MFLAGS) install) || exit;\ - done +install: + $(call jam-cmd, install) -uninstall: makeinclude - for dir in $(DIRS); do\ - echo "Uninstalling $$dir...";\ - (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit;\ - done +uninstall: + $(call jam-cmd, uninstall) -clean: makeinclude - for dir in $(DIRS); do\ - echo "Cleaning $$dir...";\ - (cd $$dir; $(MAKE) $(MFLAGS) clean) || exit;\ - done - -depend: makeinclude - for dir in $(DIRS); do\ - echo "Creating dependencies in $$dir...";\ - (cd $$dir; $(MAKEDEPEND) -- $(CXXFLAGS) *.cpp) || exit;\ - done - - -# for maintainers -define make-archive - NAME=`awk '/PACKAGE_TARNAME/ {print $$3}' $1 | sed -e 's/\"//g'`; \ - VERS=`awk '/PACKAGE_VERSION/ {print $$3}' $1 | sed -e 's/\"//g'`; \ - ARCH=$$NAME-$$VERS.tar.bz2; \ - if [ -e $$ARCH ]; then \ - echo "Removing previous package..."; \ - rm $$ARCH; \ - fi; \ - tar -cjpvf $$ARCH --exclude $$ARCH . -endef - -# cvs made some files executable -define fix-chmod - echo "Fixing permissions..."; \ - find . -name "*.*" -exec chmod -x {} \;; \ - chmod +x l10n-prepare.pl; \ - chmod -x AUTHORS BUGS COPYING ChangeLog INSTALL NEWS -endef - -archive: clean - rm -Rf `find . -name "CVS"` - autoconf - rm -Rf autom4te.cache - $(call fix-chmod) - $(call make-archive, edeconf.h) +clean: + $(call jam-cmd, clean) diff --git a/ecolorconf/Makefile b/ecolorconf/Makefile deleted file mode 100644 index 4415b4d..0000000 --- a/ecolorconf/Makefile +++ /dev/null @@ -1,21 +0,0 @@ - -CPPFILES = ecolorconf.cpp ecolorutils.cpp EDE_FontChooser.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp ../edelib2/Run.cpp ../edelib2/process.cpp ../edelib2/pty.cpp -TARGET = ecolorconf - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o diff --git a/edelib2/Makefile b/edelib2/Makefile deleted file mode 100644 index 48da25f..0000000 --- a/edelib2/Makefile +++ /dev/null @@ -1,15 +0,0 @@ - -CPPFILES = about_dialog.cpp Config.cpp Icon.cpp MimeType.cpp process.cpp pty.cpp Run.cpp Util.cpp -TARGET = - -include ../makeinclude - -all: about_dialog.o Config.o Icon.o MimeType.o process.o pty.o Run.o Util.o - -install: - -uninstall: - -clean: - $(RM) *.o - diff --git a/edewm/tests/Makefile b/edewm/tests/Makefile deleted file mode 100644 index 40d2068..0000000 --- a/edewm/tests/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# -# $Id: Makefile 1696 2006-07-21 13:23:37Z karijes $ -# -# Part of Equinox Desktop Environment (EDE). -# Copyright (c) 2000-2006 EDE Authors. -# -# This program is licenced under terms of the -# GNU General Public Licence version 2 or newer. -# See COPYING for details. - -include ../../makeinclude - -define make_test -ALL += $1 -$1 : $1.cpp - echo Compiling $$<... - $(CXX) $(CXXFLAGS) $$< -o $$@ $(LIBS) -endef - -# Note: $(eval...) must be used instead plain $(call...) -# since variables will not be expanded correctly - -$(eval $(call make_test, basic_moveresize)) - -sound_test.o : sound_test.cpp - echo "Compiling $<..." - $(CXX) $(CXXFLAGS) -c $< -Sound.o : ../Sound.cpp - echo "Compiling $<..." - $(CXX) $(CXXFLAGS) -c $< -sound_test: sound_test.o Sound.o - $(CXX) sound_test.o Sound.o ../debug.o -o $@ $(LIBS) - -all: $(ALL) sound_test - -clean: - $(RM) $(ALL) - $(RM) *.o diff --git a/edialog/Makefile b/edialog/Makefile deleted file mode 100644 index f14e5ab..0000000 --- a/edialog/Makefile +++ /dev/null @@ -1,17 +0,0 @@ - -CPPFILES = edialog.cpp -TARGET = edialog - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/edisplayconf/Makefile b/edisplayconf/Makefile deleted file mode 100644 index b5ecee2..0000000 --- a/edisplayconf/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = edisplayconf.cpp conf.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp ../edelib2/Run.cpp ../edelib2/process.cpp ../edelib2/pty.cpp -TARGET = edisplayconf - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/efinder/Makefile b/efinder/Makefile deleted file mode 100644 index 2a31aea..0000000 --- a/efinder/Makefile +++ /dev/null @@ -1,21 +0,0 @@ - -CPPFILES = efinder.cpp eglob.cpp -TARGET = efinder - -POFILES = locale/ru.po\ - locale/sk.po\ - locale/hu.po - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/eiconsconf/Makefile b/eiconsconf/Makefile deleted file mode 100644 index a5e180c..0000000 --- a/eiconsconf/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = ../edelib2/Util.cpp ../edelib2/Config.cpp eiconsconf.cpp eicon.cpp -TARGET = eiconsconf - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/einstaller/Makefile b/einstaller/Makefile deleted file mode 100644 index 8429d06..0000000 --- a/einstaller/Makefile +++ /dev/null @@ -1,21 +0,0 @@ - -CPPFILES = einstaller.cpp einstall.cpp ../edelib2/Util.cpp ../edelib2/Run.cpp ../edelib2/process.cpp ../edelib2/pty.cpp ../edelib2/Config.cpp -TARGET = einstaller - -POFILES = locale/ru.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/ekeyconf/Makefile b/ekeyconf/Makefile deleted file mode 100644 index d7ef5da..0000000 --- a/ekeyconf/Makefile +++ /dev/null @@ -1,17 +0,0 @@ - -CPPFILES = ../edelib2/Util.cpp ../edelib2/Config.cpp ekeys.cpp ekeyconf.cpp Shortcut_Button.cpp -TARGET = ekeyconf - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/elauncher/Makefile b/elauncher/Makefile deleted file mode 100644 index 955af7b..0000000 --- a/elauncher/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = elauncher.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp ../edelib2/process.cpp ../edelib2/pty.cpp -TARGET = elauncher - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/elauncher/locale/Makefile b/elauncher/locale/Makefile deleted file mode 100644 index 0edd810..0000000 --- a/elauncher/locale/Makefile +++ /dev/null @@ -1,208 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -# Set emacs mode -*- Makefile -*- - - -SHELL = /bin/sh - -srcdir = . -top_srcdir = ../.. - -prefix = /usr -exec_prefix = ${prefix} - -bindir = ${exec_prefix}/bin -sbindir = ${exec_prefix}/sbin -libexecdir = ${exec_prefix}/libexec -datadir = ${prefix}/share -sysconfdir = ${prefix}/etc -sharedstatedir = ${prefix}/com -localstatedir = ${prefix}/var -libdir = ${exec_prefix}/lib -infodir = ${prefix}/info -mandir = ${prefix}/man -includedir = ${prefix}/include -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/ede -pkglibdir = $(libdir)/ede -pkgincludedir = $(includedir)/ede - -top_builddir = ../.. - -ACLOCAL = aclocal-1.4 -AUTOCONF = autoconf -AUTOMAKE = automake-1.4 -AUTOHEADER = autoheader - -INSTALL = /usr/bin/install -c -INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_SCRIPT = ${INSTALL} -transform = s,x,x, - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = -host_triplet = @host@ -CC = gcc -CPP = gcc -E -CXX = gcc -EDE_BUILD = 20050111 -FLTK_CONFIG = /usr/bin/efltk-config -HAVE_LIB = @HAVE_LIB@ -KSTAT_LIB = -LIB = @LIB@ -LTLIB = @LTLIB@ -MAKEINFO = makeinfo -PACKAGE = ede -USE_NLS = yes -VERSION = 1.0.1.1 - -PROG = erun -CWD = locale -MSGFMT = msgfmt -SUB_DIRS = -FILES_PO := $(wildcard *.po) -FILES_MO := $(FILES_PO:.po=.mo) - -LOCALEDIR = $(prefix)/share/locale -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = gtar -GZIP_ENV = --best -all: all-redirect -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu elauncher/locale/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = elauncher/locale - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu elauncher/locale/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done -info-am: -info: info-am -dvi-am: -dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: -install-exec: install-exec-am - -install-data-am: -install-data: install-data-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic - -mostlyclean: mostlyclean-am - -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - - -all: mo-files - -mo-files: $(FILES_MO) - -install: - $(MAKE) all - for f in *.mo ; do mkdir -p \ - $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \ - cp $$f $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PROG).mo ; done - -%.mo: %.po - $(MSGFMT) -f -o $@ $< - -clean: - $(RM) $(FILES_MO) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/emenueditor/Makefile b/emenueditor/Makefile deleted file mode 100644 index f831b78..0000000 --- a/emenueditor/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = emenueditor.cpp -TARGET = emenueditor - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/epanelconf/Makefile b/epanelconf/Makefile deleted file mode 100644 index 8ede31b..0000000 --- a/epanelconf/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = epanelconf.cpp util.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp -TARGET = epanelconf - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/esvrconf/Makefile b/esvrconf/Makefile deleted file mode 100644 index 111bf76..0000000 --- a/esvrconf/Makefile +++ /dev/null @@ -1,21 +0,0 @@ - -CPPFILES = escreensaver.cpp escrsaverconf.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp -TARGET = esvrconf - -POFILES = locale/ru.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/etip/Makefile b/etip/Makefile deleted file mode 100644 index d7e1f0f..0000000 --- a/etip/Makefile +++ /dev/null @@ -1,21 +0,0 @@ - -CPPFILES = etip.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp -TARGET = etip - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/evolume/Makefile b/evolume/Makefile deleted file mode 100644 index 858f02f..0000000 --- a/evolume/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = evolume.cpp prefs.cpp ../edelib2/about_dialog.cpp ../edelib2/Util.cpp ../edelib2/Config.cpp ../edelib2/process.cpp ../edelib2/pty.cpp ../edelib2/Run.cpp -TARGET = evolume - - -POFILES = locale/ru.po\ - locale/sk.po\ - locale/hu.po - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/ewmconf/Makefile b/ewmconf/Makefile deleted file mode 100644 index 1b246a8..0000000 --- a/ewmconf/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = ../edelib2/Util.cpp ../edelib2/Config.cpp ewm.cpp ewmconf.cpp -TARGET = ewmconf - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/eworkpanel/Makefile b/eworkpanel/Makefile deleted file mode 100644 index c89ebfc..0000000 --- a/eworkpanel/Makefile +++ /dev/null @@ -1,22 +0,0 @@ - -CPPFILES = aboutdialog.cpp logoutdialog.cpp panelbutton.cpp keyboardchooser.cpp taskbutton.cpp workpanel.cpp item.cpp cpumonitor.cpp dock.cpp mainmenu.cpp mainmenu_scan.cpp -TARGET = eworkpanel - -POFILES = locale/ru.po\ - locale/sr.po\ - locale/sk.po\ - locale/hu.po\ - -include ../makeinclude - -install: - $(INSTALL_PROGRAM) $(TARGET) $(bindir) - $(INSTALL_LOCALE) - -uninstall: - $(RM) $(bindir)/$(TARGET) - -clean: - $(RM) $(TARGET) - $(RM) *.o - diff --git a/makeinclude.in b/makeinclude.in deleted file mode 100644 index 19782ee..0000000 --- a/makeinclude.in +++ /dev/null @@ -1,84 +0,0 @@ -# -# $Id: makeinclude.in 1652 2006-06-07 19:37:51Z karijes $ -# -# Part of Equinox Desktop Environment (EDE). -# Copyright (c) 2000-2006 EDE Authors. -# -# This program is licenced under terms of the -# GNU General Public Licence version 2 or newer. -# See COPYING for details. - -# Overwrite if you want that be overwriten - -# directories -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -datadir = @datadir@ -includedir = @includedir@ -libdir = @libdir@ -mandir = @mandir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -VPATH = @srcdir@ -EVOLUME = @EVOLUME@ - -#locale directory -LOCALEDIR = @prefix@/share/locale - -# programs -CXX = @CXX@ -MSGFMT = @MSGFMT@ -MAKEDEPEND = @MAKEDEPEND@ -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -RM = @RM@ -f -MKINSTALLDIRS = @HOME_DIR@/mkinstalldirs - -# NOTE: this is a function -# it is called like '$(INSTALL_LOCALE)' - -INSTALL_LOCALE=\ - for f in $(MOFILES); do\ - $(MKINSTALLDIRS) $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES;\ - $(INSTALL_DATA) $$f $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(TARGET).mo;\ - done - -# compiler flags -CXXFLAGS = -DSHAPE @CXXFLAGS@ - -# libraries -LIBS = @LIBS@ - - - -@SILENT@ - -.SUFFIXES: .o .cxx .cpp .c .po .mo - -OBJECTS:= $(CPPFILES:.cpp=.o) $(CFILES:.c=.o) $(CXXFILES:.cxx=.o) -MOFILES:= $(POFILES:.po=.mo) - -all: $(TARGET) $(MOFILES) - -$(TARGET): $(OBJECTS) - echo Linking $@ - $(CXX) $^ -o $@ $(LIBS) - -%.o: %.cpp - echo Compiling $<... - $(CXX) $(CXXFLAGS) -c $< - -%.o: %.cxx - echo Compiling $<... - $(CXX) $(CXXFLAGS) -c $< - -%.o: %.c - echo Compiling $<... - $(CXX) $(CXXFLAGS)-c $< - -%.mo: %.po - echo Translation $<... - $(MSGFMT) $< -o $@