mirror of
https://github.com/sheumann/hush.git
synced 2025-04-22 20:37:21 +00:00
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.
31 lines
622 B
C
31 lines
622 B
C
/* vi: set sw=4 ts=4: */
|
|
/*
|
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
|
*/
|
|
#ifndef APPLET_METADATA_H
|
|
#define APPLET_METADATA_H 1
|
|
|
|
/* Note: can be included by both host and target builds! */
|
|
|
|
/* order matters: used as index into "install_dir[]" in appletlib.c */
|
|
typedef enum bb_install_loc_t {
|
|
BB_DIR_ROOT = 0,
|
|
BB_DIR_BIN,
|
|
BB_DIR_SBIN,
|
|
#if ENABLE_INSTALL_NO_USR
|
|
BB_DIR_USR_BIN = BB_DIR_BIN,
|
|
BB_DIR_USR_SBIN = BB_DIR_SBIN
|
|
#else
|
|
BB_DIR_USR_BIN,
|
|
BB_DIR_USR_SBIN
|
|
#endif
|
|
} bb_install_loc_t;
|
|
|
|
typedef enum bb_suid_t {
|
|
BB_SUID_DROP = 0,
|
|
BB_SUID_MAYBE,
|
|
BB_SUID_REQUIRE
|
|
} bb_suid_t;
|
|
|
|
#endif
|