summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-02-06 17:53:53 +0100
committerMichael Palimaka <kensington@gentoo.org>2017-02-11 22:59:48 +1100
commitb833cf10f10dffd711c275a5f4b931b0250c040c (patch)
treece52aa30b543b68bb243c4873244605f8bb398e6 /sys-apps/tomoyo-tools
parentnet-libs/webkit-gtk: Drop old (diff)
downloadgentoo-b833cf10f10dffd711c275a5f4b931b0250c040c.tar.gz
gentoo-b833cf10f10dffd711c275a5f4b931b0250c040c.tar.bz2
gentoo-b833cf10f10dffd711c275a5f4b931b0250c040c.zip
sys-apps/tomoyo-tools: remove unused patches
Diffstat (limited to 'sys-apps/tomoyo-tools')
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-gentoo.patch14
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-ldflags.patch17
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20110929-gentoo.patch16
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20120414-flags-parallel.patch82
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.4.0_p20110929-flags-parallel.patch87
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20120414-flags-parallel.patch87
-rw-r--r--sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20130214-flags-parallel.patch87
7 files changed, 0 insertions, 390 deletions
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-gentoo.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-gentoo.patch
deleted file mode 100644
index 33c73bc10dc8..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-gentoo.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur tomoyo-tools.orig/tomoyo_init_policy.c tomoyo-tools/tomoyo_init_policy.c
---- tomoyo-tools.orig/tomoyo_init_policy.c 2009-07-27 15:00:00.000000000 +0900
-+++ tomoyo-tools/tomoyo_init_policy.c 2009-07-29 01:56:32.000000000 +0900
-@@ -1238,6 +1259,10 @@
- echo("file_pattern /etc/gshadow.\\$");
- echo("file_pattern /etc/passwd.\\$");
- echo("file_pattern /etc/shadow.\\$");
-+ echo("file_pattern /etc/group.edit");
-+ echo("file_pattern /etc/gshadow.edit");
-+ echo("file_pattern /etc/passwd.edit");
-+ echo("file_pattern /etc/shadow.edit");
- echo("file_pattern /var/cache/logwatch/logwatch.\\*/");
- echo("file_pattern /var/cache/logwatch/logwatch.\\*/\\*");
- echo("file_pattern /var/tmp/sqlite_\\*");
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-ldflags.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-ldflags.patch
deleted file mode 100644
index d0ea10af002a..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20120414-ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/Makefile b/Makefile
-index d84a02b..e1cb36b 100644
---- a/Makefile
-+++ b/Makefile
-@@ -39,10 +39,10 @@ CFLAGS=-Wall -O2 -pipe -fomit-frame-pointer -march=core2 -mcx16 -msahf -maes -mp
- sleep 10
-
- tomoyotools: tomoyotools.src/*.c tomoyotools.src/*.h /usr/include/curses.h
-- $(CC) $(CFLAGS) -o tomoyotools tomoyotools.src/*.c -lncurses -DCOLOR_ON
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyotools tomoyotools.src/*.c -lncurses -DCOLOR_ON
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f $(MAIN_FILES) $(MISC_FILES)
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20110929-gentoo.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20110929-gentoo.patch
deleted file mode 100644
index 7e005702e6a0..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20110929-gentoo.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This is tomoyo-tools-2.2.0_p20090727-gentoo.patch blindly ported to 2.3.0.
-Every other change is included by now.
-
---- usr_lib_tomoyo/init_policy.c 2011-01-17 22:50:05.241899861 +0100
-+++ usr_lib_tomoyo/init_policy.c 2011-01-17 22:51:00.172806713 +0100
-@@ -1106,6 +1106,10 @@
- echo("file_pattern /etc/gshadow.\\$");
- echo("file_pattern /etc/passwd.\\$");
- echo("file_pattern /etc/shadow.\\$");
-+ echo("file_pattern /etc/group.edit");
-+ echo("file_pattern /etc/gshadow.edit");
-+ echo("file_pattern /etc/passwd.edit");
-+ echo("file_pattern /etc/shadow.edit");
- echo("file_pattern /var/cache/logwatch/logwatch.\\*/");
- echo("file_pattern /var/cache/logwatch/logwatch.\\*/\\*");
- echo("file_pattern /var/tmp/sqlite_\\*");
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20120414-flags-parallel.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20120414-flags-parallel.patch
deleted file mode 100644
index 54c7963a9a60..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.3.0_p20120414-flags-parallel.patch
+++ /dev/null
@@ -1,82 +0,0 @@
---- a/Include.make
-+++ b/Include.make
-@@ -1,4 +1,4 @@
- USRSBINDIR := /usr/sbin
- USRLIBDIR := /usr/lib
- MAN8 := /usr/share/man/man8
--CFLAGS := -Wall -O2 ${shell $(CC) -Wno-pointer-sign -S -o /dev/null -x c - < /dev/null > /dev/null 2>&1 && echo "-Wno-pointer-sign"}
-+CFLAGS := -Wall ${shell $(CC) -Wno-pointer-sign -S -o /dev/null -x c - < /dev/null > /dev/null 2>&1 && echo "-Wno-pointer-sign"}
---- a/kernel_test/Makefile
-+++ b/kernel_test/Makefile
-@@ -3,20 +3,18 @@ ALL_FILES = tomoyo_filesystem_test tomoyo_file_test tomoyo_rewrite_test newns to
- all: $(ALL_FILES)
- chmod 755 testall.sh
-
--CC=gcc
--
--CFLAGS=-Wall -O2 ${shell $(CC) -Wno-pointer-sign -S -o /dev/null -x c - < /dev/null > /dev/null 2>&1 && echo "-Wno-pointer-sign"}
-+CFLAGS += -Wall ${shell $(CC) -Wno-pointer-sign -S -o /dev/null -x c - < /dev/null > /dev/null 2>&1 && echo "-Wno-pointer-sign"}
-
- #
- # Tools for kernel testing.
- #
-
- tomoyo_new_test: tomoyo_new_test.c include.h
-- $(CC) $(CFLAGS) -o tomoyo_new_test tomoyo_new_test.c -lutil
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo_new_test tomoyo_new_test.c -lutil
- chmod 700 tomoyo_new_test
-
- .c: include.h
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
- chmod 700 $@
-
- #
---- a/sbin/Makefile
-+++ b/sbin/Makefile
-@@ -9,7 +9,7 @@ install: all
- cp -af --remove-destination $(BUILD_FILES) $(INSTALLDIR)/sbin/
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
---- a/usr_lib_tomoyo/Makefile
-+++ b/usr_lib_tomoyo/Makefile
-@@ -9,7 +9,7 @@ install: all
- cp -af --remove-destination $(BUILD_FILES) tomoyotools.conf ../README.tomoyo ../COPYING.tomoyo $(INSTALLDIR)/usr/lib/tomoyo/
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_sbin/Makefile b/usr_sbin/Makefile
-index cdaf507..2b7c4f0 100644
---- a/usr_sbin/Makefile
-+++ b/usr_sbin/Makefile
-@@ -14,17 +14,17 @@ $(BUILD_FILES): libtomoyotools.so
- sleep 10
-
- libtomoyotools.so: tomoyotools.c tomoyotools.h
-- $(CC) $(CFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.1 -o libtomoyotools.so.1.0.1
-+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.1 -o libtomoyotools.so.1.0.1
- ln -sf libtomoyotools.so.1.0.1 libtomoyotools.so
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $< -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -ltomoyotools -L.
-
- tomoyo-editpolicy: tomoyotools.h editpolicy*.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-
- tomoyo-queryd: tomoyotools.h tomoyo-queryd.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-
- install: all
- mkdir -p $(INSTALLDIR)/usr/sbin $(INSTALLDIR)/usr/lib
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.4.0_p20110929-flags-parallel.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.4.0_p20110929-flags-parallel.patch
deleted file mode 100644
index a2f084ae15e5..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.4.0_p20110929-flags-parallel.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff --git a/Include.make b/Include.make
-index 3f85e61..c34ba28 100644
---- a/Include.make
-+++ b/Include.make
-@@ -1,7 +1,5 @@
--CC := gcc
- INSTALL := install
- SBINDIR := /sbin
- USRSBINDIR := /usr/sbin
- USRLIBDIR := /usr/lib
- MAN8 := /usr/share/man/man8
--CFLAGS := -Wall -O2
-diff --git a/kernel_test/Makefile b/kernel_test/Makefile
-index 2559b4b..ef599a2 100644
---- a/kernel_test/Makefile
-+++ b/kernel_test/Makefile
-@@ -10,16 +10,14 @@ all: $(ALL_FILES)
-
- $(ALL_FILES): include.h
-
--CC=gcc
--
--CFLAGS=-Wall -O2
-+CFLAGS += -Wall -O2
-
- #
- # Tools for kernel testing.
- #
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- #
- # Delete all test programs.
-diff --git a/sbin/Makefile b/sbin/Makefile
-index 0f53bc6..0e8e42e 100644
---- a/sbin/Makefile
-+++ b/sbin/Makefile
-@@ -9,7 +9,7 @@ install: all
- $(INSTALL) -m 0700 $(BUILD_FILES) $(INSTALLDIR)$(SBINDIR)
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_lib_tomoyo/Makefile b/usr_lib_tomoyo/Makefile
-index 94020ee..f20ae40 100644
---- a/usr_lib_tomoyo/Makefile
-+++ b/usr_lib_tomoyo/Makefile
-@@ -11,7 +11,7 @@ install: all
- $(INSTALL) -m 0644 ../README.tomoyo ../COPYING.tomoyo $(INSTALLDIR)/$(USRLIBDIR)/tomoyo/
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_sbin/Makefile b/usr_sbin/Makefile
-index fa715b0..5b991db 100644
---- a/usr_sbin/Makefile
-+++ b/usr_sbin/Makefile
-@@ -15,17 +15,17 @@ $(BUILD_FILES): libtomoyotools.so
- sleep 10
-
- libtomoyotools.so: tomoyotools.c tomoyotools.h
-- $(CC) $(CFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.2 -o libtomoyotools.so.2.0.2
-+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.2 -o libtomoyotools.so.2.0.2
- ln -sf libtomoyotools.so.2.0.2 libtomoyotools.so
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $< -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -ltomoyotools -L.
-
- tomoyo-editpolicy: tomoyotools.h editpolicy*.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-
- tomoyo-queryd: tomoyotools.h tomoyo-queryd.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-
- install: all
- mkdir -p -m 0755 $(INSTALLDIR)$(USRLIBDIR)
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20120414-flags-parallel.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20120414-flags-parallel.patch
deleted file mode 100644
index 55583e1ddc58..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20120414-flags-parallel.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff --git a/Include.make b/Include.make
-index 3f85e61..c34ba28 100644
---- a/Include.make
-+++ b/Include.make
-@@ -1,7 +1,5 @@
--CC := gcc
- INSTALL := install
- SBINDIR := /sbin
- USRSBINDIR := /usr/sbin
- USRLIBDIR := /usr/lib
- MAN8 := /usr/share/man/man8
--CFLAGS := -Wall -O2
-diff --git a/kernel_test/Makefile b/kernel_test/Makefile
-index 2559b4b..ef599a2 100644
---- a/kernel_test/Makefile
-+++ b/kernel_test/Makefile
-@@ -10,16 +10,14 @@ all: $(ALL_FILES)
-
- $(ALL_FILES): include.h
-
--CC=gcc
--
--CFLAGS=-Wall -O2
-+CFLAGS += -Wall -O2
-
- #
- # Tools for kernel testing.
- #
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- #
- # Delete all test programs.
-diff --git a/sbin/Makefile b/sbin/Makefile
-index 0f53bc6..0e8e42e 100644
---- a/sbin/Makefile
-+++ b/sbin/Makefile
-@@ -9,7 +9,7 @@ install: all
- $(INSTALL) -m 0700 $(BUILD_FILES) $(INSTALLDIR)$(SBINDIR)
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_lib_tomoyo/Makefile b/usr_lib_tomoyo/Makefile
-index 94020ee..f20ae40 100644
---- a/usr_lib_tomoyo/Makefile
-+++ b/usr_lib_tomoyo/Makefile
-@@ -11,7 +11,7 @@ install: all
- $(INSTALL) -m 0644 ../README.tomoyo ../COPYING.tomoyo $(INSTALLDIR)/$(USRLIBDIR)/tomoyo/
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_sbin/Makefile b/usr_sbin/Makefile
-index fa715b0..5b991db 100644
---- a/usr_sbin/Makefile
-+++ b/usr_sbin/Makefile
-@@ -15,17 +15,17 @@ $(BUILD_FILES): libtomoyotools.so
- sleep 10
-
- libtomoyotools.so: tomoyotools.c tomoyotools.h
-- $(CC) $(CFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.3 -o libtomoyotools.so.3.0.1
-+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.3 -o libtomoyotools.so.3.0.1
- ln -sf libtomoyotools.so.3.0.1 libtomoyotools.so
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $< -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -ltomoyotools -L.
-
- tomoyo-editpolicy: tomoyotools.h editpolicy*.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-
- tomoyo-queryd: tomoyotools.h tomoyo-queryd.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-
- install: all
- mkdir -p -m 0755 $(INSTALLDIR)$(USRLIBDIR)
diff --git a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20130214-flags-parallel.patch b/sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20130214-flags-parallel.patch
deleted file mode 100644
index 55583e1ddc58..000000000000
--- a/sys-apps/tomoyo-tools/files/tomoyo-tools-2.5.0_p20130214-flags-parallel.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff --git a/Include.make b/Include.make
-index 3f85e61..c34ba28 100644
---- a/Include.make
-+++ b/Include.make
-@@ -1,7 +1,5 @@
--CC := gcc
- INSTALL := install
- SBINDIR := /sbin
- USRSBINDIR := /usr/sbin
- USRLIBDIR := /usr/lib
- MAN8 := /usr/share/man/man8
--CFLAGS := -Wall -O2
-diff --git a/kernel_test/Makefile b/kernel_test/Makefile
-index 2559b4b..ef599a2 100644
---- a/kernel_test/Makefile
-+++ b/kernel_test/Makefile
-@@ -10,16 +10,14 @@ all: $(ALL_FILES)
-
- $(ALL_FILES): include.h
-
--CC=gcc
--
--CFLAGS=-Wall -O2
-+CFLAGS += -Wall -O2
-
- #
- # Tools for kernel testing.
- #
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- #
- # Delete all test programs.
-diff --git a/sbin/Makefile b/sbin/Makefile
-index 0f53bc6..0e8e42e 100644
---- a/sbin/Makefile
-+++ b/sbin/Makefile
-@@ -9,7 +9,7 @@ install: all
- $(INSTALL) -m 0700 $(BUILD_FILES) $(INSTALLDIR)$(SBINDIR)
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_lib_tomoyo/Makefile b/usr_lib_tomoyo/Makefile
-index 94020ee..f20ae40 100644
---- a/usr_lib_tomoyo/Makefile
-+++ b/usr_lib_tomoyo/Makefile
-@@ -11,7 +11,7 @@ install: all
- $(INSTALL) -m 0644 ../README.tomoyo ../COPYING.tomoyo $(INSTALLDIR)/$(USRLIBDIR)/tomoyo/
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
- clean:
- rm -f -- $(BUILD_FILES)
-diff --git a/usr_sbin/Makefile b/usr_sbin/Makefile
-index fa715b0..5b991db 100644
---- a/usr_sbin/Makefile
-+++ b/usr_sbin/Makefile
-@@ -15,17 +15,17 @@ $(BUILD_FILES): libtomoyotools.so
- sleep 10
-
- libtomoyotools.so: tomoyotools.c tomoyotools.h
-- $(CC) $(CFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.3 -o libtomoyotools.so.3.0.1
-+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIC tomoyotools.c -shared -Wl,-soname,libtomoyotools.so.3 -o libtomoyotools.so.3.0.1
- ln -sf libtomoyotools.so.3.0.1 libtomoyotools.so
-
- .c:
-- $(CC) $(CFLAGS) -o $@ $< -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -ltomoyotools -L.
-
- tomoyo-editpolicy: tomoyotools.h editpolicy*.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON
-
- tomoyo-queryd: tomoyotools.h tomoyo-queryd.c readline.h /usr/include/curses.h libtomoyotools.so
-- $(CC) $(CFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyo-queryd tomoyo-queryd.c -lncurses -ltomoyotools -L.
-
- install: all
- mkdir -p -m 0755 $(INSTALLDIR)$(USRLIBDIR)