003 File Manager
Current Path:
/usr/local/lib/bash
usr
/
local
/
lib
/
bash
/
📁
..
📄
Makefile.inc
(2.98 KB)
📄
accept
(9.52 KB)
📄
basename
(5.73 KB)
📄
csv
(7.18 KB)
📄
cut
(13.5 KB)
📄
dirname
(5.56 KB)
📄
fdflags
(9.77 KB)
📄
finfo
(12.34 KB)
📄
head
(7.51 KB)
📄
id
(8.16 KB)
📄
ln
(7.95 KB)
📄
loadables.h
(993 B)
📄
logname
(5.31 KB)
📄
mkdir
(8.73 KB)
📄
mkfifo
(6.94 KB)
📄
mktemp
(8.7 KB)
📄
mypid
(5.42 KB)
📄
pathchk
(7.72 KB)
📄
print
(7.91 KB)
📄
printenv
(5.81 KB)
📄
push
(7.23 KB)
📄
realpath
(6.77 KB)
📄
rm
(7.26 KB)
📄
rmdir
(5.17 KB)
📄
seq
(12.84 KB)
📄
setpgid
(5.88 KB)
📄
sleep
(5.61 KB)
📄
strftime
(6.78 KB)
📄
sync
(4.52 KB)
📄
tee
(6.99 KB)
📄
truefalse
(4.89 KB)
📄
tty
(5.46 KB)
📄
uname
(6.43 KB)
📄
unlink
(5.1 KB)
📄
whoami
(5.3 KB)
Editing: Makefile.inc
# # Sample makefile for bash loadable builtin development # # Copyright (C) 2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # PACKAGE = bash VERSION = 5.1-release PACKAGE_NAME = bash PACKAGE_VERSION = 5.1-release # Include some boilerplate Gnu makefile definitions. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin libdir = ${exec_prefix}/lib infodir = /usr/local/share/info includedir = ${prefix}/include datarootdir = ${prefix}/share loadablesdir = ${libdir}/bash headersdir = $(includedir)/$(PACKAGE_NAME) topdir = ../.. BUILD_DIR = /wrkdirs/usr/ports/shells/bash/work/bash-5.1 srcdir = . # Support an alternate destination root directory for package building DESTDIR = INSTALL = /usr/bin/install -c INSTALL_PROGRAM = install -s -m 555 INSTALL_SCRIPT = install -m 555 INSTALL_DATA = install -m 0644 INSTALLMODE= -m 0755 CC = cc RM = rm -f SHELL = /bin/sh host_os = freebsd13.0 host_cpu = amd64 host_vendor = portbld CFLAGS = -O2 -pipe -march=core2 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing LOCAL_CFLAGS = -DHEREDOC_PIPESIZE=4096 DEFS = -DHAVE_CONFIG_H LOCAL_DEFS = -DSHELL CPPFLAGS = -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE BASHINCDIR = ${topdir}/include SUPPORT_SRC = $(topdir)/support/ LIBBUILD = ${BUILD_DIR}/lib INTL_LIBSRC = ${topdir}/lib/intl INTL_BUILDDIR = ${LIBBUILD}/intl INTL_INC = LIBINTL_H = CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(LOCAL_CFLAGS) $(CFLAGS) # # These values are generated for configure by ${topdir}/support/shobj-conf. # If your system is not supported by that script, but includes facilities for # dynamic loading of shared objects, please update the script and send the # changes to bash-maintainers@gnu.org. # SHOBJ_CC = cc SHOBJ_CFLAGS = -fPIC SHOBJ_LD = ${CC} SHOBJ_LDFLAGS = -shared -Wl,-soname,$@ -Wl,-export-dynamic -L/usr/local/lib -fstack-protector-strong SHOBJ_XLDFLAGS = SHOBJ_LIBS = SHOBJ_STATUS = supported INC = -I$(headersdir) -I$(headersdir)/include -I$(headersdir)/builtins .c.o: $(SHOBJ_CC) $(SHOBJ_CFLAGS) $(CCFLAGS) $(INC) -c -o $@ $< all: example example: example.o $(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ example.o $(SHOBJ_LIBS) example.o: example.c
Upload File
Create Folder