diff options
author | Abaakouk Mehdi <theli48@gmail.com> | 2010-07-22 11:17:01 +0200 |
---|---|---|
committer | Abaakouk Mehdi <theli48@gmail.com> | 2010-07-22 11:17:01 +0200 |
commit | 6f47a47ba64c3d191199ca868e466b1a7a39b4db (patch) | |
tree | 935c359ccccee2ab8c4a7b0a5ccfc7b5e949f7cf | |
parent | 5fb87e7e418daf1dc7b65764cd5fe90a01aa2f65 (diff) | |
download | android_external_vim-6f47a47ba64c3d191199ca868e466b1a7a39b4db.tar.gz android_external_vim-6f47a47ba64c3d191199ca868e466b1a7a39b4db.tar.bz2 android_external_vim-6f47a47ba64c3d191199ca868e466b1a7a39b4db.zip |
Convert to android build system
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | runtime/Android.mk | 25 | ||||
-rw-r--r-- | src/.Android.mk.swp | bin | 12288 -> 0 bytes | |||
-rw-r--r-- | src/Android.mk | 31 | ||||
-rw-r--r-- | src/auto/config.h | 382 | ||||
-rw-r--r-- | src/auto/config.mk | 156 | ||||
-rw-r--r-- | src/auto/osdef.h | 140 | ||||
-rw-r--r-- | src/auto/pathdef.c | 10 |
8 files changed, 740 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 000000000..ca1eb7a0b --- /dev/null +++ b/Android.mk @@ -0,0 +1 @@ +include $(call all-makefiles-under, $(call my-dir)) diff --git a/runtime/Android.mk b/runtime/Android.mk new file mode 100644 index 000000000..43026ff3a --- /dev/null +++ b/runtime/Android.mk @@ -0,0 +1,25 @@ +LOCAL_PATH:= $(call my-dir) +#======================================================== +# vim runtime +# ======================================================== +include $(CLEAR_VARS) + +LOCAL_MODULE := vim + +runtime_files := \ + $(shell cd $(LOCAL_PATH) && ls -1 {colors,keymap,syntax}/*.vim) \ + scripts.vim \ + indent.vim \ + indoff.vim \ + filetype.vim \ + ftoff.vim + + +copy_to := $(addprefix $(TARGET_OUT)/system/usr/share/$(LOCAL_MODULE)/,$(runtime_files)) +$(copy_to) : PRIVATE_MODULE := system_sharedir +$(copy_to) : $(TARGET_OUT)/system/usr/share/$(LOCAL_MODULE)/% : $(LOCAL_PATH)/% | $(ACP) + $(transform-prebuilt-to-target) + + +ALL_PREBUILT += $(copy_to) + diff --git a/src/.Android.mk.swp b/src/.Android.mk.swp Binary files differdeleted file mode 100644 index c12861fbd..000000000 --- a/src/.Android.mk.swp +++ /dev/null diff --git a/src/Android.mk b/src/Android.mk new file mode 100644 index 000000000..43d4f9244 --- /dev/null +++ b/src/Android.mk @@ -0,0 +1,31 @@ +LOCAL_PATH:= $(call my-dir) + +# ======================================================== +# vim +# ======================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \ + ex_docmd.c ex_eval.c ex_getln.c fileio.c fold.c getchar.c hardcopy.c \ + hashtab.c if_cscope.c if_xcmdsrv.c main.c mark.c memfile.c memline.c \ + menu.c message.c misc1.c misc2.c move.c mbyte.c normal.c ops.c option.c \ + os_unix.c auto/pathdef.c popupmnu.c quickfix.c regexp.c screen.c search.c \ + spell.c syntax.c tag.c term.c ui.c undo.c version.c window.c \ + +LOCAL_C_INCLUDES += \ + $(LOCAL_PATH) \ + $(LOCAL_PATH)/proto \ + $(LOCAL_PATH)/auto + +LOCAL_SHARED_LIBRARIES += \ + libncurses + +LOCAL_CFLAGS += \ + -DHAVE_CONFIG_H \ + -lncurses + +LOCAL_MODULE := vim +LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) +include $(BUILD_EXECUTABLE) + diff --git a/src/auto/config.h b/src/auto/config.h index e69de29bb..791eaec5b 100644 --- a/src/auto/config.h +++ b/src/auto/config.h @@ -0,0 +1,382 @@ +/* auto/config.h. Generated from config.h.in by configure. */ +/* + * config.h.in. Generated automatically from configure.in by autoheader, and + * manually changed after that. + */ + +/* Define if we have EBCDIC code */ +/* #undef EBCDIC */ + +/* Define unless no X support found */ +/* #undef HAVE_X11 */ + +/* Define when terminfo support found */ +/* #undef TERMINFO */ + +/* Define when termcap.h contains ospeed */ +/* #undef HAVE_OSPEED */ + +/* Define when ospeed can be extern */ +/* #undef OSPEED_EXTERN */ + +/* Define when termcap.h contains UP, BC and PC */ +/* #undef HAVE_UP_BC_PC */ + +/* Define when UP, BC and PC can be extern */ +/* #undef UP_BC_PC_EXTERN */ + +/* Define when termcap.h defines outfuntype */ +/* #undef HAVE_OUTFUNTYPE */ + +/* Define when __DATE__ " " __TIME__ can be used */ +#define HAVE_DATE_TIME 1 + +/* defined always when using configure */ +#define UNIX 1 + +/* Defined to the size of an int */ +#define SIZEOF_INT 4 + +/* + * If we cannot trust one of the following from the libraries, we use our + * own safe but probably slower vim_memmove(). + */ +/* #undef USEBCOPY */ +#define USEMEMMOVE 1 +/* #undef USEMEMCPY */ + +/* Define when "man -s 2" is to be used */ +#define USEMAN_S 1 + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef mode_t */ + +/* Define to `long' if <sys/types.h> doesn't define. */ +/* #undef off_t */ + +/* Define to `long' if <sys/types.h> doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if <sys/types.h> doesn't define. */ +/* #undef size_t */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef uid_t */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef gid_t */ + +/* Define to `long' if <sys/types.h> doesn't define. */ +/* #undef ino_t */ + +/* Define to `unsigned' if <sys/types.h> doesn't define. */ +/* #undef dev_t */ + +/* Define to `unsigned long' if <sys/types.h> doesn't define. */ +/* #undef rlim_t */ + +/* Define to `struct sigaltstack' if <signal.h> doesn't define. */ +/* #undef stack_t */ + +/* Define if stack_t has the ss_base field. */ +/* #undef HAVE_SS_BASE */ + +/* Define if you can safely include both <sys/time.h> and <time.h>. */ +#define TIME_WITH_SYS_TIME 1 + +/* Define if you can safely include both <sys/time.h> and <sys/select.h>. */ +#define SYS_SELECT_WITH_SYS_TIME 1 + +/* Define if you have /dev/ptc */ +/* #undef HAVE_DEV_PTC */ + +/* Define if you have Sys4 ptys */ +#define HAVE_SVR4_PTYS 1 + +/* Define to range of pty names to try */ +/* #undef PTYRANGE0 */ +/* #undef PTYRANGE1 */ + +/* Define mode for pty */ +#define PTYMODE 0620 + +/* Define group for pty */ +#define PTYGROUP 1 + +/* Define as the return type of signal handlers (int or void). */ +#define RETSIGTYPE void + +/* Define as the command at the end of signal handlers ("" or "return 0;"). */ +#define SIGRETURN return + +/* Define if struct sigcontext is present */ +#define HAVE_SIGCONTEXT 1 + +/* Define if touuper/tolower only work on lower/upercase characters */ +#define BROKEN_TOUPPER 1 + +/* Define if stat() ignores a trailing slash */ +#define STAT_IGNORES_SLASH 1 + +/* Define if tgetstr() has a second argument that is (char *) */ +/* #undef TGETSTR_CHAR_P */ + +/* Define if tgetent() returns zero for an error */ +/* #undef TGETENT_ZERO_ERR */ + +/* Define if the getcwd() function should not be used. */ +/* #undef BAD_GETCWD */ +#define BAD_GETCWD 1 + +/* Define if you the function: */ +#define HAVE_BCMP 1 +#define HAVE_FCHDIR 1 +#define HAVE_FCHOWN 1 +#define HAVE_FSEEKO 1 +#define HAVE_FSYNC 1 +#define HAVE_FTELLO 1 +#define HAVE_GETCWD 1 +/* #undef HAVE_GETPSEUDOTTY */ +#define HAVE_GETPWNAM 1 +#define HAVE_GETPWUID 1 +#define HAVE_GETRLIMIT 1 +#define HAVE_GETTIMEOFDAY 1 +/* #undef HAVE_GETWD */ +#define HAVE_ICONV 1 +#define HAVE_NL_LANGINFO_CODESET 1 +#define HAVE_LSTAT 1 +#define HAVE_MEMCMP 1 +#define HAVE_MEMSET 1 +#define HAVE_NANOSLEEP 1 +#define HAVE_OPENDIR 1 +#define HAVE_FLOAT_FUNCS 1 +#define HAVE_PUTENV 1 +#define HAVE_QSORT 1 +#define HAVE_READLINK 1 +#define HAVE_RENAME 1 +#define HAVE_SELECT 1 +/* #undef HAVE_SELINUX */ +#define HAVE_SETENV 1 +#define HAVE_SETPGID 1 +#define HAVE_SETSID 1 +#define HAVE_SIGACTION 1 +#define HAVE_SIGALTSTACK 1 +/* #undef HAVE_SIGSET */ +/* #undef HAVE_SIGSETJMP */ +#define HAVE_SIGSTACK 1 +#define HAVE_SIGVEC 1 +#define HAVE_STRCASECMP 1 +#define HAVE_STRERROR 1 +#define HAVE_STRFTIME 1 +/* #undef HAVE_STRICMP */ +#define HAVE_STRNCASECMP 1 +/* #undef HAVE_STRNICMP */ +#define HAVE_STRPBRK 1 +#define HAVE_STRTOL 1 +#define HAVE_ST_BLKSIZE 1 +#define HAVE_SYSCONF 1 +/* #undef HAVE_SYSCTL */ +#define HAVE_SYSINFO 1 +#define HAVE_SYSINFO_MEM_UNIT 1 +#define HAVE_TGETENT 1 +#define HAVE_TOWLOWER 1 +#define HAVE_TOWUPPER 1 +#define HAVE_ISWUPPER 1 +#define HAVE_USLEEP 1 +#define HAVE_UTIME 1 +/* #undef HAVE_BIND_TEXTDOMAIN_CODESET */ + +/* Define if you do not have utime(), but do have the utimes() function. */ +#define HAVE_UTIMES 1 + +/* Define if you have the header file: */ +#define HAVE_DIRENT_H 1 +#define HAVE_ERRNO_H 1 +#define HAVE_FCNTL_H 1 +/* #undef HAVE_FRAME_H */ +#define HAVE_ICONV_H 1 +#define HAVE_LANGINFO_H 1 +/* #undef HAVE_LIBC_H */ +#define HAVE_LIBGEN_H 1 +#define HAVE_LIBINTL_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_MATH_H 1 +/* #undef HAVE_NDIR_H */ +#define HAVE_POLL_H 1 +/* #undef HAVE_PTHREAD_NP_H */ +#define HAVE_PWD_H 1 +#define HAVE_SETJMP_H 1 +#define HAVE_SGTTY_H 1 +#define HAVE_STRINGS_H 1 +/* #undef HAVE_STROPTS_H 1 */ +/* #undef HAVE_SYS_ACCESS_H */ +/* #undef HAVE_SYS_ACL_H */ +/* #undef HAVE_SYS_DIR_H */ +#define HAVE_SYS_IOCTL_H 1 +/* #undef HAVE_SYS_NDIR_H */ +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_POLL_H 1 +/* #undef HAVE_SYS_PTEM_H */ +#define HAVE_SYS_RESOURCE_H 1 +#define HAVE_SYS_SELECT_H 1 +#define HAVE_SYS_STATFS_H 1 +/* #undef HAVE_SYS_STREAM_H */ +#define HAVE_SYS_SYSCTL_H 1 +#define HAVE_SYS_SYSINFO_H 1 +/* #undef HAVE_SYS_SYSTEMINFO_H */ +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_UTSNAME_H 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCTYPE_H 1 +/* #undef HAVE_TERMCAP_H */ +#define HAVE_TERMIOS_H 1 +/* #undef HAVE_TERMIO_H */ +#define HAVE_UNISTD_H 1 +/* #undef HAVE_UTIL_DEBUG_H */ +/* #undef HAVE_UTIL_MSGI18N_H */ +#define HAVE_UTIME_H 1 +/* #undef HAVE_X11_SUNKEYSYM_H */ +/* #undef HAVE_XM_XM_H */ +/* #undef HAVE_XM_XPMP_H */ +/* #undef HAVE_XM_TRAITP_H */ +/* #undef HAVE_XM_MANAGER_H */ +/* #undef HAVE_XM_UNHIGHLIGHTT_H */ +/* #undef HAVE_XM_JOINSIDET_H */ +/* #undef HAVE_XM_NOTEBOOK_H */ +/* #undef HAVE_X11_XPM_H */ +/* #undef HAVE_X11_XMU_EDITRES_H */ +#define HAVE_X11_SM_SMLIB_H 1 + +/* Define to the type of the XpmAttributes type. */ +/* #undef XPMATTRIBUTES_TYPE */ + +/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if you have a <sys/wait.h> that is not POSIX.1 compatible. */ +/* #undef HAVE_UNION_WAIT */ + +/* This is currently unused in vim: */ +/* Define if you have the ANSI C header files. */ +/* #undef STDC_HEADERS */ + +/* instead, we check a few STDC things ourselves */ +#define HAVE_STDARG_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 + +/* Define if strings.h cannot be included when strings.h already is */ +/* #undef NO_STRINGS_WITH_STRING_H */ + +/* Define if you want tiny features. */ +/* #undef FEAT_TINY */ + +/* Define if you want small features. */ +/* #undef FEAT_SMALL */ + +/* Define if you want normal features. */ +#define FEAT_NORMAL 1 + +/* Define if you want big features. */ +/* #undef FEAT_BIG */ + +/* Define if you want huge features. */ +/* #undef FEAT_HUGE */ + +/* Define if you want to include the MzScheme interpreter. */ +/* #undef FEAT_MZSCHEME */ + +/* Define if you want to include the Perl interpreter. */ +/* #undef FEAT_PERL */ + +/* Define if you want to include the Python interpreter. */ +/* #undef FEAT_PYTHON */ + +/* Define if you want to include the Ruby interpreter. */ +/* #undef FEAT_RUBY */ + +/* Define if you want to include the Tcl interpreter. */ +/* #undef FEAT_TCL */ + +/* Define if you want to include the Sniff interface. */ +/* #undef FEAT_SNIFF */ + +/* Define if you want to add support for ACL */ +/* #undef HAVE_POSIX_ACL */ +/* #undef HAVE_SOLARIS_ACL */ +/* #undef HAVE_AIX_ACL */ + +/* Define if you want to add support of GPM (Linux console mouse daemon) */ +/* #undef HAVE_GPM */ + +/* Define if you want to add support of sysmouse (*BSD console mouse) */ +/* #undef HAVE_SYSMOUSE */ + +/* Define if you want to include the Cscope interface. */ +/* #undef FEAT_CSCOPE */ + +/* Define if you want to include multibyte support. */ +/* #undef FEAT_MBYTE */ + +/* Define if you want to include fontset support. */ +/* #undef FEAT_XFONTSET */ + +/* Define if you want to include XIM support. */ +/* #undef FEAT_XIM */ + +/* Define if you want to include Hangul input support. */ +/* #undef FEAT_HANGULIN */ + +/* Define if you use GTK and want GNOME support. */ +/* #undef FEAT_GUI_GNOME */ + +/* Define if you use KDE and want KDE Toolbar support. */ +/* #undef FEAT_KDETOOLBAR */ + +/* Define if GTK+ 2 is available. */ +/* #undef HAVE_GTK2 */ + +/* Define if GTK+ multihead support is available (requires GTK+ >= 2.1.1). */ +/* #undef HAVE_GTK_MULTIHEAD */ + +/* Define if your X has own locale library */ +/* #undef X_LOCALE */ + +/* Define if we have dlfcn.h. */ +#define HAVE_DLFCN_H 1 + +/* Define if there is a working gettext(). */ +/* #undef HAVE_GETTEXT */ + +/* Define if _nl_msg_cat_cntr is present. */ +/* #undef HAVE_NL_MSG_CAT_CNTR */ + +/* Define if we have dlopen() */ +#define HAVE_DLOPEN 1 + +/* Define if we have dlsym() */ +#define HAVE_DLSYM 1 + +/* Define if we have dl.h. */ +/* #undef HAVE_DL_H */ + +/* Define if we have shl_load() */ +/* #undef HAVE_SHL_LOAD */ + +/* Define if you want to include Sun Visual Workshop support. */ +/* #undef FEAT_SUN_WORKSHOP */ + +/* Define if you want to include NetBeans integration. */ +#define FEAT_NETBEANS_INTG 1 + +/* Define default global runtime path */ +/* #undef RUNTIME_GLOBAL */ + +/* Define name of who modified a released Vim */ +/* #undef MODIFIED_BY */ + +/* Define if you want XSMP interaction as well as vanilla swapfile safety */ +#define USE_XSMP_INTERACT 1 diff --git a/src/auto/config.mk b/src/auto/config.mk index fa7c10850..75e02c729 100644 --- a/src/auto/config.mk +++ b/src/auto/config.mk @@ -1,5 +1,151 @@ -the first targets to make vim are: scratch config myself -srcdir = . -VIMNAME = vim -EXNAME = ex -VIEWNAME = view +# +# config.mk.in -- autoconf template for Vim on Unix vim:ts=8:sw=8: +# +# DO NOT EDIT config.mk!! It will be overwritten by configure. +# Edit Makefile and run "make" or run ./configure with other arguments. +# +# Configure does not edit the makefile directly. This method is not the +# standard use of GNU autoconf, but it has two advantages: +# a) The user can override every choice made by configure. +# b) Modifications to the makefile are not lost when configure is run. +# +# I hope this is worth being nonstandard. jw. + + + +VIMNAME = vim +EXNAME = ex +VIEWNAME = view + +CC = gcc +DEFS = -DHAVE_CONFIG_H +CFLAGS = -g -O2 +CPPFLAGS = +srcdir = . + +LDFLAGS = -L/usr/local/lib +LIBS = -lm -lnsl -lncurses +TAGPRG = ctags -I INIT+ --fields=+S + +CPP = gcc -E +CPP_MM = M +DEPEND_CFLAGS_FILTER = | sed 's+-I */+-isystem /+g' +X_CFLAGS = +X_LIBS_DIR = +X_PRE_LIBS = +X_EXTRA_LIBS = +X_LIBS = + +MZSCHEME_LIBS = +MZSCHEME_SRC = +MZSCHEME_OBJ = +MZSCHEME_CFLAGS = +MZSCHEME_PRO = + +PERL = +PERLLIB = +PERL_LIBS = +SHRPENV = +PERL_SRC = +PERL_OBJ = +PERL_PRO = +PERL_CFLAGS = + +PYTHON_SRC = +PYTHON_OBJ = +PYTHON_CFLAGS = +PYTHON_LIBS = +PYTHON_CONFDIR = +PYTHON_GETPATH_CFLAGS = + +TCL = +TCL_SRC = +TCL_OBJ = +TCL_PRO = +TCL_CFLAGS = +TCL_LIBS = + +HANGULIN_SRC = +HANGULIN_OBJ = + +WORKSHOP_SRC = +WORKSHOP_OBJ = + +NETBEANS_SRC = netbeans.c +NETBEANS_OBJ = objects/netbeans.o + +RUBY = +RUBY_SRC = +RUBY_OBJ = +RUBY_PRO = +RUBY_CFLAGS = +RUBY_LIBS = + +SNIFF_SRC = +SNIFF_OBJ = + +AWK = gawk + +STRIP = strip + +EXEEXT = + +COMPILEDBY = + +INSTALLVIMDIFF = installvimdiff +INSTALLGVIMDIFF = installgvimdiff +INSTALL_LANGS = install-languages +INSTALL_TOOL_LANGS = install-tool-languages + +### Line break character as octal number for "tr" +NL = "\\012" + +### Top directory for everything +prefix = /usr/local + +### Top directory for the binary +exec_prefix = ${prefix} + +### Prefix for location of data files +BINDIR = ${exec_prefix}/bin + +### For autoconf 2.60 and later (avoid a warning) +datarootdir = ${prefix}/share + +### Prefix for location of data files +DATADIR = ${datarootdir} + +### Prefix for location of man pages +MANDIR = ${datarootdir}/man + +### Do we have a GUI +GUI_INC_LOC = +GUI_LIB_LOC = +GUI_SRC = $(NONE_SRC) +GUI_OBJ = $(NONE_OBJ) +GUI_DEFS = $(NONE_DEFS) +GUI_IPATH = $(NONE_IPATH) +GUI_LIBS_DIR = $(NONE_LIBS_DIR) +GUI_LIBS1 = $(NONE_LIBS1) +GUI_LIBS2 = $(NONE_LIBS2) +GUI_INSTALL = $(NONE_INSTALL) +GUI_TARGETS = $(NONE_TARGETS) +GUI_MAN_TARGETS = $(NONE_MAN_TARGETS) +GUI_TESTTARGET = $(NONE_TESTTARGET) +GUI_TESTARG = $(NONE_TESTARG) +GUI_BUNDLE = $(NONE_BUNDLE) +NARROW_PROTO = +GUI_X_LIBS = +MOTIF_LIBNAME = +GTK_LIBNAME = + +### Any OS dependent extra source and object file +OS_EXTRA_SRC = +OS_EXTRA_OBJ = + +### If the *.po files are to be translated to *.mo files. +MAKEMO = + +# Make sure that "make first" will run "make all" once configure has done its +# work. This is needed when using the Makefile in the top directory. +first: all diff --git a/src/auto/osdef.h b/src/auto/osdef.h new file mode 100644 index 000000000..bf9ccf0b3 --- /dev/null +++ b/src/auto/osdef.h @@ -0,0 +1,140 @@ +/* + * osdef.h is automagically created from osdef?.h.in by osdef.sh -- DO NOT EDIT + */ +/* autoconf cannot fiddle out declarations. Use our homebrewn tools. (jw) */ +/* + * Declarations that may cause conflicts belong here so that osdef.sh + * can clean out the forest. Everything else belongs in os_unix.h + * + * How this works: + * - This file contains all unix prototypes that Vim might need. + * - The shell script osdef.sh is executed at compile time to remove all the + * prototypes that are in an include file. This results in osdef.h. + * - osdef.h is included in vim.h. + * + * sed cannot always handle so many commands, this is file 1 of 2 + */ + +#ifndef fopen /* could be redefined to fopen64() */ +#endif +#ifdef HAVE_FSEEKO +#endif +#ifdef HAVE_FTELLO +#endif +#ifndef ferror /* let me say it again: "macros should never have prototypes" */ +#endif +#if defined(sun) || defined(_SEQUENT_) +/* used inside of stdio macros getc(), puts(), putchar()... */ +extern int _flsbuf __ARGS((int, FILE *)); +extern int _filbuf __ARGS((FILE *)); +#endif + +#if !defined(HAVE_SELECT) +struct pollfd; /* for poll __ARGS */ +extern int poll __ARGS((struct pollfd *, long, int)); +#endif + +#ifdef HAVE_MEMSET +#endif +#ifdef HAVE_BCMP +#endif +#ifdef HAVE_MEMCMP +#endif +#ifdef HAVE_STRPBRK +#endif +#ifdef USEBCOPY +#else +# ifdef USEMEMCPY +# else +# ifdef USEMEMMOVE +# endif +# endif +#endif +/* used inside of FD_ZERO macro: */ +#ifdef HAVE_SETSID +#endif +#ifdef HAVE_SETPGID +#endif +#ifdef HAVE_STRTOL +#endif +#ifdef HAVE_STRFTIME +#endif +#ifdef HAVE_STRCASECMP +#endif +#ifdef HAVE_STRNCASECMP +#endif +#ifndef strdup +#endif + +#ifndef USE_SYSTEM +# ifndef __TANDEM +# endif +#endif + + +#ifdef HAVE_SIGSET +extern RETSIGTYPE (*sigset __ARGS((int, RETSIGTYPE (*func) SIGPROTOARG))) __ARGS(SIGPROTOARG); +#endif + +#if defined(HAVE_SETJMP_H) +# ifdef HAVE_SIGSETJMP +extern int sigsetjmp __ARGS((sigjmp_buf, int)); +# else +# endif +#endif + + +#ifndef __TANDEM +#endif +#if defined(HAVE_GETCWD) && !defined(sun) && !defined(__TANDEM) +#else +#endif +#ifndef __alpha /* suggested by Campbell */ +#endif +/* + * osdef2.h.in - See osdef1.h.in for a description. + */ + + +#ifndef __TANDEM +#endif + +#ifndef __TANDEM +#endif +#ifndef __TANDEM +#endif +#ifndef stat /* could be redefined to stat64() */ +#endif +#ifndef lstat /* could be redefined to lstat64() */ +#endif +#ifndef __TANDEM +#endif + +extern int tgetent __ARGS((char *, char *)); +extern int tgetnum __ARGS((char *)); +extern int tgetflag __ARGS((char *)); +extern char *tgoto __ARGS((char *, int, int)); +extern int tputs __ARGS((char *, int, int (*)(int))); + +#ifdef HAVE_TERMIOS_H +#endif + +#ifdef HAVE_SYS_STATFS_H +#endif + +#ifdef HAVE_GETTIMEOFDAY +#endif + +#ifdef HAVE_GETPWNAM +#endif + +#ifdef USE_TMPNAM +#else +#endif + +#ifdef ISC +extern int _Xmblen __ARGS((char const *, size_t)); +#else + /* This is different from the header but matches mblen() */ +extern int _Xmblen __ARGS((char *, size_t)); +#endif diff --git a/src/auto/pathdef.c b/src/auto/pathdef.c new file mode 100644 index 000000000..14883deae --- /dev/null +++ b/src/auto/pathdef.c @@ -0,0 +1,10 @@ +/* pathdef.c */ +/* This file is automatically created by Makefile + * DO NOT EDIT! Change Makefile only. */ +#include "vim.h" +char_u *default_vim_dir = (char_u *)"/system/usr/share/vim"; +char_u *default_vimruntime_dir = (char_u *)""; +char_u *all_cflags = (char_u *)"gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 "; +char_u *all_lflags = (char_u *)"gcc -L/system/lib -o vim -lm -lnsl -lncurses "; +char_u *compiled_user = (char_u *)"sileht"; +char_u *compiled_sys = (char_u *)"hurrycat"; |