From f1167112d926b189fe189599576e8588923f036c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 15 Aug 2005 21:31:30 +0000 Subject: * cleanup build system a little * strip remaining glib usage * -fPIC build fix for x86-64 (thanks tvainika) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- tests/c-plus-plus-test-gen.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/c-plus-plus-test-gen.py') diff --git a/tests/c-plus-plus-test-gen.py b/tests/c-plus-plus-test-gen.py index b1d6aae..6b18db6 100755 --- a/tests/c-plus-plus-test-gen.py +++ b/tests/c-plus-plus-test-gen.py @@ -19,12 +19,13 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -import os +import os, sys def print_includes(dir): files = os.listdir("../%s" % dir) files = filter(lambda fn: fn.endswith(".h") and not fn.startswith("."), files) + files.sort() for f in files: print "#include <%s/%s>" % (dir, f) @@ -52,9 +53,8 @@ print """/* $Id$ */ ***/ """ -print_includes("avahi-common") -print_includes("avahi-core") -print_includes("avahi-client") +for f in sys.argv[1:]: + print_includes(f) print """ int main(int argc, char*argv[]) { -- cgit