From 43c87d60c9c1fa2d92783f907d76c58930923586 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Sat, 10 Jul 1999 05:11:55 +0000 Subject: [PATCH] Added profile library file list git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11549 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/macfile_gen.pl | 75 ++++++++++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 18 deletions(-) diff --git a/src/mac/macfile_gen.pl b/src/mac/macfile_gen.pl index 1183321de..d8b694161 100644 --- a/src/mac/macfile_gen.pl +++ b/src/mac/macfile_gen.pl @@ -3,19 +3,24 @@ # Usage: # macfile_gen.pl list-type start-path prefix # list-type is one of: -# all-files -- complete list of mac sources, relative to root -# all-folders -- complete list of mac directories, relative to root -# gss-sources -- complete list of mac GSS sources, relative to root -# krb5-sources -- complete list of mac Krb5 sources, relative to root -# gss-objects-ppc-debug -- complete list of mac GSS PPC debug objects, relative to root -# gss-objects-68k-debug -- complete list of mac GSS 68K debug objects, relative to root -# gss-objects-ppc-final -- complete list of mac GSS PPC final objects, relative to root -# gss-objects-68k-final -- complete list of mac GSS 68K final objects, relative to root -# krb5-objects-ppc-debug -- complete list of mac Kerberos v5 PPC debug objects, relative to root -# krb5-objects-68k-debug -- complete list of mac Kerberos v5 68K debug objects, relative to root -# krb5-objects-ppc-final -- complete list of mac Kerberos v5 PPC final objects, relative to root -# krb5-objects-68k-final -- complete list of mac Kerberos v5 68K final objects, relative to root -# include-folders -- complete list of include paths, relative to root +# all-files -- complete list of mac sources, relative to root +# all-folders -- complete list of mac directories, relative to root +# gss-sources -- complete list of mac GSS sources, relative to root +# krb5-sources -- complete list of mac Krb5 sources, relative to root +# profile-sources -- complete list of mac profile sources, relative to root +# gss-objects-ppc-debug -- complete list of mac GSS PPC debug objects, relative to root +# gss-objects-68k-debug -- complete list of mac GSS 68K debug objects, relative to root +# gss-objects-ppc-final -- complete list of mac GSS PPC final objects, relative to root +# gss-objects-68k-final -- complete list of mac GSS 68K final objects, relative to root +# krb5-objects-ppc-debug -- complete list of mac Kerberos v5 PPC debug objects, relative to root +# krb5-objects-68k-debug -- complete list of mac Kerberos v5 68K debug objects, relative to root +# krb5-objects-ppc-final -- complete list of mac Kerberos v5 PPC final objects, relative to root +# krb5-objects-68k-final -- complete list of mac Kerberos v5 68K final objects, relative to root +# profile-objects-ppc-debug -- complete list of mac profile PPC debug objects, relative to root +# profile-objects-68k-debug -- complete list of mac profile v5 68K debug objects, relative to root +# profile-objects-ppc-final -- complete list of mac profile v5 PPC final objects, relative to root +# profile-objects-68k-final -- complete list of mac profile v5 68K final objects, relative to root +# include-folders -- complete list of include paths, relative to root # # input on stdin # output on stdout @@ -75,9 +80,15 @@ if ($action eq "all-folders") { } elsif ($action eq "krb5-sources") { print (STDERR "# Building Kerberos v5 source listÉ "); - @outputList = grep (!/:gssapi:/, @sourceList); + @outputList = grep (!/:gssapi:|:profile:|:et:/, @sourceList); print (STDERR "Done. \n"); +} elsif ($action eq "profile-sources") { + + print (STDERR "# Building profile source listÉ "); + @outputList = grep (/:profile:/, @sourceList); + print (STDERR "Done. \n"); + } elsif ($action eq "gss-objects-ppc-debug") { print (STDERR "# Building GSS PPC debug object listÉ "); @@ -110,28 +121,56 @@ if ($action eq "all-folders") { print (STDERR "# Building Kerberos v5 PPC debug object listÉ "); @outputList = grep (s/\.c$/\.ppcd.o/, @sourceList); - @outputList = grep (!/:gssapi:/, @outputList); + @outputList = grep (!/:gssapi:|:profile:|:et:/, @outputList); print (STDERR "Done. \n"); } elsif ($action eq "krb5-objects-68k-debug") { print (STDERR "# Building Kerberos v5 68K debug object listÉ "); @outputList = grep (s/\.c$/\.68kd.o/, @sourceList); - @outputList = grep (!/:gssapi:/, @outputList); + @outputList = grep (!/:gssapi:|:profile:|:et:/, @outputList); print (STDERR "Done. \n"); } elsif ($action eq "krb5-objects-ppc-final") { print (STDERR "# Building Kerberos v5 PPC final object listÉ "); @outputList = grep (s/\.c$/\.ppcf.o/, @sourceList); - @outputList = grep (!/:gssapi:/, @outputList); + @outputList = grep (!/:gssapi:|:profile:|:et:/, @outputList); print (STDERR "Done. \n"); } elsif ($action eq "krb5-objects-68k-final") { print (STDERR "# Building Kerberos v5 68K final object listÉ "); @outputList = grep (s/\.c$/\.68kf.o/, @sourceList); - @outputList = grep (!/:gssapi:/, @outputList); + @outputList = grep (!/:gssapi:|:profile:|:et:/, @outputList); + print (STDERR "Done. \n"); + +} elsif ($action eq "profile-objects-ppc-debug") { + + print (STDERR "# Building profile PPC debug object listÉ "); + @outputList = grep (s/\.c$/\.ppcd.o/, @sourceList); + @outputList = grep (/:profile:|:et:/, @outputList); + print (STDERR "Done. \n"); + +} elsif ($action eq "profile-objects-68k-debug") { + + print (STDERR "# Building profile 68K debug object listÉ "); + @outputList = grep (s/\.c$/\.68kd.o/, @sourceList); + @outputList = grep (/:profile:|:et:/, @outputList); + print (STDERR "Done. \n"); + +} elsif ($action eq "profile-objects-ppc-final") { + + print (STDERR "# Building profile PPC final object listÉ "); + @outputList = grep (s/\.c$/\.ppcf.o/, @sourceList); + @outputList = grep (/:profile:|:et:/, @outputList); + print (STDERR "Done. \n"); + +} elsif ($action eq "profile-objects-68k-final") { + + print (STDERR "# Building profile 68K final object listÉ "); + @outputList = grep (s/\.c$/\.68kf.o/, @sourceList); + @outputList = grep (/:profile:|:et:/, @outputList); print (STDERR "Done. \n"); } elsif ($action eq "include-folders") { -- 2.26.2