Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / bin / DependencyGenerator / GNUIDLObjectGenerator.pm
blobc3167d7694b160ddfaf46c9a8c24ffd2186ab43a
1 package GNUIDLObjectGenerator;
3 # ************************************************************
4 # Description : Generates object files for GNU IDL Makefiles.
5 # Author : Chip Jones
6 # Create Date : 11/01/2011
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
14 use File::Spec;
15 use ObjectGenerator;
17 use vars qw(@ISA);
18 @ISA = qw(ObjectGenerator);
20 # ************************************************************
21 # Constants
22 # ************************************************************
23 my $prefix = '$(IDL_GEN_FILES_DIR)/';
24 my @suffixes = qw/
25 $(IDL_CLIENT_HDR_EXT)
26 $(IDL_CLIENT_INL_EXT)
27 $(IDL_CLIENT_SRC_EXT)
28 $(IDL_SERVER_HDR_EXT)
29 $(IDL_SERVER_SRC_EXT)
30 $(IDL_SERVER_THDR_EXT)
31 $(IDL_SERVER_TINL_EXT)
32 $(IDL_SERVER_TSRC_EXT)
35 # ************************************************************
36 # Subroutine Section
37 # ************************************************************
39 sub process {
40 my($noext) = $_[1];
41 $noext =~ s/\.[^\.]+$//o;
42 $noext =~ s/.+\/// if $noext =~ /\.\.\//;
43 my($vol, $dir, $file) = File::Spec->splitpath($noext);
44 my @list = map "$prefix$file$_", @suffixes;
45 return \@list;