Hi!
On Wed, Apr 18, 2012 at 11:35:08AM +0200, Nikola Pajkovsky wrote:
Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
---
.gitignore | 29 ++----
GEN-VERSION-FILE | 39 ++++++++
Makefile | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++++
Makefile.am | 29 ------
autogen.sh | 3 -
config.mak.in | 26 +++++
configure.ac | 283 ++++++++++++++++++++++++++++++++++++++++++------------
gen-version | 23 -----
src/Makefile.am | 132 -------------------------
src/deskman.c | 5 +-
src/iptraf.c | 5 +-
11 files changed, 574 insertions(+), 279 deletions(-)
create mode 100755 GEN-VERSION-FILE
create mode 100644 Makefile
delete mode 100644 Makefile.am
delete mode 100755 autogen.sh
create mode 100644 config.mak.in
delete mode 100755 gen-version
delete mode 100644 src/Makefile.am
[...]
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4c21468
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,279 @@
+# The default target of this Makefile is...
+all::
+
+# Define V=1 to have a more verbose compile.
+#
+# Define NO_NCURSES if not linking with ncurses.
We can't build without ncurses!
[...]
+clean:
+ $(RM) src/*.o src/tui/*.o
$(RM) $(obj-c) instead ???
+ $(RM) $(ALL_PROGRAMS)
+ $(RM) -r autom4te.cache
+ $(RM) *.spec
+ $(RM) $(IPTRAF_TARNAME).tar.gz
+ $(RM) config.log config.mak.autogen config.mak.append config.status config.cache
+ $(RM) VERSION-FILE
+
+.PHONY: clean distclean all install
+
What about dependencies? They are lost!
Cheers,
Vita