From 75515df3a3d86da15485f3466a3370f209d418c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Sun, 7 Jul 2013 21:39:59 +0200 Subject: [PATCH] Moved socu.h to the global directory. Removed all other socu.h files. Added to Makefile.am appropriate include directive so nothing will be changed in source code. Added -f to the clean hook so there will be no problems with cleaning non-existing files. --- Makefile.am | 15 ++++++++------- src/{graph => global}/socu.h | 0 src/int/socu.h | 4 ---- src/kernel/socu.h | 4 ---- src/net/socu.h | 4 ---- 5 files changed, 8 insertions(+), 19 deletions(-) rename src/{graph => global}/socu.h (100%) delete mode 100644 src/int/socu.h delete mode 100644 src/kernel/socu.h delete mode 100644 src/net/socu.h diff --git a/Makefile.am b/Makefile.am index cd1268d..3c56338 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ MOC = ${MOCDIR}/${MOCNAME} #AM_CXXFLAGS= -Wall -pedantic -Wextra -fno-strength-reduce #AM_CXXFLAGS = -m32 +AM_CXXFLAGS = -I$(top_srcdir)/src/global AM_LDFLAGS= -fPIC @@ -36,7 +37,7 @@ src/graph/loggraph.moc: $(MOC) -i src/graph/loggraph.cpp -o src/graph/loggraph.moc clean-loggraph-extra: - rm src/graph/*.moc + rm -f src/graph/*.moc bin_lognet_SOURCES = src/net/lognet.cpp bin_lognet_CPPFLAGS = $(bin_lognet_CFLAGS) @@ -46,7 +47,7 @@ src/net/lognet.moc: $(MOC) -i src/net/lognet.cpp -o src/net/lognet.moc clean-lognet-extra: - rm src/net/*.moc + rm -f src/net/*.moc bin_logker_SOURCES = src/kernel/kernel.cpp bin_logker_CPPFLAGS = $(bin_logker_CFLAGS) @@ -56,7 +57,7 @@ src/kernel/kernel.moc: $(MOC) -i src/kernel/kernel.cpp -o src/kernel/kernel.moc clean-logker-extra: - rm src/kernel/*.moc + rm -f src/kernel/*.moc #int_logint_SOURCES = kernel/kernel.moc @@ -69,7 +70,7 @@ src/edit/editor.moc: $(MOC) -i src/edit/editor.cpp -o src/edit/editor.moc clean-logedit-extra: - rm src/edit/*.moc + rm -f src/edit/*.moc bin_lgconfig_SOURCES = src/lgconfig/lgconfig.moc bin_lgconfig_CPPFLAGS = $(bin_lgconfig_CFLAGS) @@ -79,7 +80,7 @@ src/lgconfig/lgconfig.moc: $(MOC) -i src/lgconfig/lgconfig.cpp -o src/lgconfig/lgconfig.moc clean-lgconfig-extra: - rm src/lgconfig/*.moc + rm -f src/lgconfig/*.moc bin_logcomp_SOURCES = src/preproc/prep.moc bin_logcomp_CPPFLAGS = $(preproc_logcomp_CFLAGS) @@ -89,7 +90,7 @@ src/preproc/prep.moc: $(MOC) -i src/preproc/prep.cpp -o src/preproc/prep.moc clean-logcomp-extra: - rm src/preproc/*.moc + rm -f src/preproc/*.moc bin_loghelp_SOURCES = src/help/help.moc bin_loghelp_CPPFLAGS = $(bin_loghelp_CFLAGS) @@ -99,7 +100,7 @@ src/help/help.moc: $(MOC) -i src/help/help.cpp -o src/help/help.moc clean-loghelp-extra: - rm src/help/*.moc + rm -f src/help/*.moc CLEANFILES = \ %.moc \ diff --git a/src/graph/socu.h b/src/global/socu.h similarity index 100% rename from src/graph/socu.h rename to src/global/socu.h diff --git a/src/int/socu.h b/src/int/socu.h deleted file mode 100644 index 0ed2797..0000000 --- a/src/int/socu.h +++ /dev/null @@ -1,4 +0,0 @@ -#include -#include -#include -#include diff --git a/src/kernel/socu.h b/src/kernel/socu.h deleted file mode 100644 index 0ed2797..0000000 --- a/src/kernel/socu.h +++ /dev/null @@ -1,4 +0,0 @@ -#include -#include -#include -#include diff --git a/src/net/socu.h b/src/net/socu.h deleted file mode 100644 index 0ed2797..0000000 --- a/src/net/socu.h +++ /dev/null @@ -1,4 +0,0 @@ -#include -#include -#include -#include -- 2.30.2