Move all the source files to 15-character ProDOS-compatible file names.

Dmake gets confused if you use over-15-character file names, so they needed to be shortened to get it to work. While I was at it, I also switched _ to . in the filenames so they're fully ProDOS compatible.

The shell/hush_test directory (not needed to build the code) still uses ProDOS-incompatible file names.
This commit is contained in:
Stephen Heumann 2014-11-02 22:11:07 -06:00
parent d4b2c3ce8b
commit 051b79efc1
41 changed files with 35 additions and 35 deletions

View File

@ -3,55 +3,55 @@ SRCS = \
shell/match.c \
shell/math.c \
shell/random.c \
shell/shell_common.c \
shell/shell.common.c \
shell/glob.c \
coreutils/echo.c \
coreutils/test.c \
coreutils/test_ptr_hack.c \
libbb/xfuncs_printf.c \
coreutils/test.ptr.hack.c \
libbb/xfuncs.printf.c \
libbb/xfuncs.c \
libbb/xgetcwd.c \
libbb/getopt32.c \
libbb/perror_msg.c \
libbb/perror.msg.c \
libbb/xatonum.c \
libbb/u_signal_names.c \
libbb/ptr_to_globals.c \
libbb/default_error_retval.c \
libbb/xfunc_die.c \
libbb/safe_strncpy.c \
libbb/signal.names.c \
libbb/ptrtoglobals.c \
libbb/error.retval.c \
libbb/xfunc.die.c \
libbb/safe.strncpy.c \
libbb/lineedit.c \
libbb/lineedit_ptr_hack.c \
libbb/lineedptrhack.c \
libbb/platform.c \
libbb/endofname.c \
libbb/signals.c \
libbb/skip_whitespace.c \
libbb/skip.whitespc.c \
libbb/wfopen.c \
libbb/verror_msg.c \
libbb/bb_strtonum.c \
libbb/verror.msg.c \
libbb/bb.strtonum.c \
libbb/time.c \
libbb/printable_string.c \
libbb/full_write.c \
libbb/bb_qsort.c \
libbb/xrealloc_vector.c \
libbb/printable.str.c \
libbb/full.write.c \
libbb/bb.qsort.c \
libbb/xrealloc.vec.c \
libbb/copyfd.c \
libbb/read_key.c \
libbb/read.key.c \
libbb/unicode.c \
libbb/safe_write.c \
libbb/safe.write.c \
libbb/read.c \
libbb/safe_gethostname.c \
libbb/get_line_from_file.c \
libbb/concat_path_file.c \
libbb/last_char_is.c \
libbb/safe_poll.c \
libbb/process_escape_sequence.c \
libbb/compare_string_array.c \
libbb/s.gethostname.c \
libbb/get.line.c \
libbb/conc.pathfile.c \
libbb/last.char.is.c \
libbb/safe.poll.c \
libbb/escape.seq.c \
libbb/cmp.str.array.c \
libbb/llist.c \
libbb/parse_mode.c \
libbb/parse.mode.c \
libbb/messages.c \
libbb/appletlib.c \
libbb/get_last_path_component.c \
libbb/bb.basename.c \
libbb/mempcpy.c \
libbb/vfork_and_run.c
libbb/vfork.and.run.c
OBJS = $(SRCS:.c=.o)
ROOTS = $(SRCS:.c=.root)

View File

View File

@ -9,7 +9,7 @@
#include "libbb.h"
/* BB_DIR_foo and BB_SUID_bar constants: */
#include "applet_metadata.h"
#include "appltmetadata.h"
PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN

View File

@ -18,7 +18,7 @@
#define XSTR_TYPE_MAX LONG_MAX
#define XSTR_TYPE_MIN LONG_MIN
#define XSTR_STRTOU strtoul
#include "xatonum_template.c"
#include "xatonum.tmplt.c"
#if UINT_MAX != ULONG_MAX
static ALWAYS_INLINE
@ -41,7 +41,7 @@ unsigned bb_strtoui(const char *str, char **end, int b)
#define XSTR_TYPE_MIN INT_MIN
/* libc has no strtoui, so we need to create/use our own */
#define XSTR_STRTOU bb_strtoui
#include "xatonum_template.c"
#include "xatonum.tmplt.c"
#endif
/* A few special cases */

View File

@ -97,7 +97,7 @@
#include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */
#include "unicode.h"
#include "shell_common.h"
#include "shell.common.h"
#include "math.h"
#include "match.h"
#if ENABLE_HUSH_RANDOM_SUPPORT
@ -306,7 +306,7 @@
# define USE_FOR_MMU(x)
#endif
#include "NUM_APPLETS.h"
#include "NUM.APPLETS.h"
#if NUM_APPLETS == 1
/* STANDALONE does not make sense, and won't compile */
# undef CONFIG_FEATURE_SH_STANDALONE

View File

@ -17,7 +17,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
#include "libbb.h"
#include "shell_common.h"
#include "shell.common.h"
#include <sys/resource.h> /* getrlimit */
const char defifsvar[] ALIGN1 = "IFS= \t\n";