Server IP : 103.119.228.120 / Your IP : 18.221.59.121 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/acl-2.2.51/ |
Upload File : |
1. unpack the source tarball and cd to the resulting dir 2. # autoconf this reads configure.in and generates the ./configure script 3. # ./configure this probes your system and then, for each "file" named in the AC_OUTPUT() macro near the end of configure.in, read "file".in and generate "file". Variables named @somevariable@ will be substituted with literal values. 4. step (3) produces several files. These files are generated by configure from their respective .in file in the same directory. You should have a read of these generated files and diff them against their respective .in files to see what was substituted by configure. src/include/builddefs common definitions for the build environment. This is included by all Makefiles, in conjunction with src/include/buildrules. Note that most autoconf/configure build environments generate Makefile (from Makefile.in) in every src dir. Instead, we generate builddefs, and then include it in every Makefile. src/include/platform_defs.h header containing conditional macros defining the C run-time environment discovered by the configure script. 5. read some or all of the GNU tool chain documentation GNU make : http://www.delorie.com/gnu/docs/make/make_toc.html autoconf : http://www.delorie.com/gnu/docs/autoconf/autoconf_toc.html libtool : http://www.delorie.com/gnu/docs/libtool/libtool_toc.html gcc/g++ : http://www.delorie.com/gnu/docs/gcc/gcc_toc.html 6. Makefiles and build environment First have a look at some Makefiles example using SUBDIRS : acl/Makefile example static library: acl/libacl/Makefile example command : acl/getfacl/Makefile All Makefiles must define TOPDIR as the root of the project. This allows other stuff to be found relative to $(TOPDIR). All Makefiles should have the following structure, which is much like commondefs and commonrules in the IRIX build environment, e.g. # ---------------------------------------------------------------------- # TOPDIR must point to the root of the project # The builddefs file defines lots of things. Read it. TOPDIR = .. include $(TOPDIR)/include/builddefs # first rule should always be "default" default : sometarget commands to build targets, if necessary # $(BUILDRULES) is defined in builddefs and includes rules for # descending subdirs, building targets and installation rules include $(BUILDRULES) install : default $(INSTALL) sometargets somewhere # ---------------------------------------------------------------------- 7. packaging # ./Makepkgs this script generates all of the packages supported - each has a subdirectory below acl/build where knowledge specific to each package type is maintained. The script produces logs of each stage of the build (this info is also echoed to the screen when the "verbose" option is provided): acl/Logs/configure - `autoconf; ./configure' output acl/Logs/default - `make default' output acl/Logs/dist - `make build dist' output On successful completion, the script echoes the names of packages successfully generated.