diff options
author | Franklin Wei <git@fwei.tk> | 2018-02-07 20:04:46 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2018-03-12 20:52:01 -0400 |
commit | 6039eb05ba6d82ef56f2868c96654c552d117bf9 (patch) | |
tree | 9db7016bcbf66cfdf7b9bc998d84c6eaff9c8378 /apps/plugins/sdl/src/main/macos/exports/gendef.pl | |
parent | ef373c03b96b0be08babca581d9f10bccfd4931f (diff) | |
download | rockbox-6039eb05ba6d82ef56f2868c96654c552d117bf9.tar.gz rockbox-6039eb05ba6d82ef56f2868c96654c552d117bf9.zip |
sdl: remove non-rockbox drivers
We never use any of these other drivers, so having them around just takes
up space.
Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
Diffstat (limited to 'apps/plugins/sdl/src/main/macos/exports/gendef.pl')
-rw-r--r-- | apps/plugins/sdl/src/main/macos/exports/gendef.pl | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/apps/plugins/sdl/src/main/macos/exports/gendef.pl b/apps/plugins/sdl/src/main/macos/exports/gendef.pl deleted file mode 100644 index 9cffca92aa..0000000000 --- a/apps/plugins/sdl/src/main/macos/exports/gendef.pl +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | #!/usr/bin/perl | ||
2 | # | ||
3 | # Program to take a set of header files and generate DLL export definitions | ||
4 | |||
5 | # Special exports to ignore for this platform | ||
6 | |||
7 | while ( ($file = shift(@ARGV)) ) { | ||
8 | if ( ! defined(open(FILE, $file)) ) { | ||
9 | warn "Couldn't open $file: $!\n"; | ||
10 | next; | ||
11 | } | ||
12 | $printed_header = 0; | ||
13 | $file =~ s,.*/,,; | ||
14 | while (<FILE>) { | ||
15 | if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) { | ||
16 | if ( not $exclude{$1} ) { | ||
17 | print "\t$1\r"; | ||
18 | } | ||
19 | } | ||
20 | } | ||
21 | close(FILE); | ||
22 | } | ||
23 | |||
24 | # Special exports to include for this platform | ||
25 | print "\tSDL_putenv\r"; | ||
26 | print "\tSDL_getenv\r"; | ||
27 | print "\tSDL_qsort\r"; | ||
28 | print "\tSDL_revcpy\r"; | ||
29 | print "\tSDL_strlcpy\r"; | ||
30 | print "\tSDL_strlcat\r"; | ||
31 | print "\tSDL_strdup\r"; | ||
32 | print "\tSDL_strrev\r"; | ||
33 | print "\tSDL_strupr\r"; | ||
34 | print "\tSDL_strlwr\r"; | ||
35 | print "\tSDL_ltoa\r"; | ||
36 | print "\tSDL_ultoa\r"; | ||
37 | print "\tSDL_strcasecmp\r"; | ||
38 | print "\tSDL_strncasecmp\r"; | ||
39 | print "\tSDL_snprintf\r"; | ||
40 | print "\tSDL_vsnprintf\r"; | ||
41 | print "\tSDL_iconv\r"; | ||
42 | print "\tSDL_iconv_string\r"; | ||
43 | print "\tSDL_InitQuickDraw\r"; | ||