summaryrefslogtreecommitdiffstats
path: root/winsup/utils/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (CYGWIN_BINS): Rename getlocale to locale.Corinna Vinschen2010-02-171-1/+1
| | | | | | | | * getlocale.c: Rename to ... * locale.cc: Revamp to add full functionality of POSIX locale(1) tool, as far as Cygwin supports it. * utils.sgml (getlocale): Move and rename to ... (locale): Accommodate new functionality.
* * Makefile.in (CYGWIN_BINS): Add getlocale.Corinna Vinschen2010-01-221-2/+2
| | | | | * getlocale.c: New file. * utils.sgml (getlocale): New section describing new getlocale tool.
* * Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.Corinna Vinschen2009-11-041-0/+1
|
* * Makefile.in (path-mount.o): Add a rule to build stripped down versionCorinna Vinschen2009-07-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | of path.cc for usage in mount. (mount.exe): Add dependency to path-mount.o. * mount.cc (force): Convert to bool value. Accommodate throughout. (from_fstab): New function. (do_mount_from_fstab): New function. (longopts): Add --all option. (opts): Add -a option. (usage): Document -a/--all option. (main): Handle -a option as well as single parameter. * path.cc: Add FSTAB_ONLY conditional to allow building path-mount.o. (mount_table): Remove static storage class. (max_mount_entry): Ditto. (root_here): Unused. Remove. (from_fstab_line): Remove static. * path.h (struct mnt_t): Define here rather than in path.cc. (from_fstab_line): Declare. (mount_table): Declare. (max_mount_entry): Declare. * utils.sgml (mount): Document -a/--all option and mounting of single path from fstab files.
* * cygwin-console-helper.cc: New file.Christopher Faylor2009-07-051-1/+1
|
* * Makefile.in (cygpath.exe): Link against cygwin.a before linkingCorinna Vinschen2009-05-161-2/+2
| | | | | | against ntdll.dll to avoid linking symbols defined in both DLLs from ntdll. (ps.exe): Ditto.
* * Makefile.in: Link ps.exe agains ntdll.dll.Corinna Vinschen2009-05-111-0/+1
| | | | | | | * ps.cc (main): Enable SE_DEBUG_NAME privilege if Windows processes have to be enumerated. Workaround EnumProcessModules problem when running under WOW64 and use NtQueryInformationProcess to fetch process image name.
* * Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.Dave Korn2009-04-131-1/+1
|
* * ldd.cc (load_dll): Start helper program rather than ldd.exe.Christopher Faylor2009-03-181-2/+5
| | | | | | | | | | | | | (set_entry_point_break): Rename from get_entry_point. (print_dlls): Rename from print_dlls_and_kill_inferior. Avoid printing specific dll name if we're looking at a dll. (report): Always dump dlls on process exit. Don't allow thread creation. Accommodate get_entry_point rename. (start_process): Start process with DEBUG_ONLY_THIS_PROCESS. (longopts): Eliminate "dll" option. (main): Ditto. * ldd.cc: Use wide character Win32 paths throughout. (load_dll): Fix size expression (add fn) in realloc.
* Add DESTDIR functionality to Makefile.in's.Christopher Faylor2009-02-241-2/+2
|
* * Makefile.in: Fix copyright date.Corinna Vinschen2009-01-171-1/+1
| | | | | | | | * cygcheck.cc (scan_registry): Take additional parameter and add code to avoid recursion in Wow6432Node subkey. Rename variable cygnus to cygwin. Scan for "Cygwin" instead of for "cygnus" substring. (dump_sysinfo): Drop unused calls to scan_registry. Drop scanning HKEY_CURRENT_CONFIG.
* * ldd.cc: New file. First stab at implementing ldd-like functionality forChristopher Faylor2009-01-091-1/+3
| | | | | | Cygwin. * Makefile.in (CYGWIN_BINS): Add ldd. (ldd.exe): Use -lpsapi.
* * Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.Christopher Faylor2008-10-291-1/+1
|
* Dummy check-in to get right revision log:Christopher Faylor2008-10-121-1/+1
| | | | | | * mingw: New front-end script to control building of MinGW files without using the deprecated -mno-cygwin option. * Makefile.in: Use mingw front-end.
* * Makefile.in: Tweak to work better with new utils/mingw front-end.Christopher Faylor2008-10-121-6/+5
| | | | In utils:
* * Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ldChristopher Faylor2008-08-171-1/+1
| | | | | | | | | | | | | | | | | | | warnings. * mkgroup.c: Change all global variables and most functions to static. (enum_local_groups): Add a print_current parameter to control whether entries for everything should be printed or just the current user. (enum_groups): Ditto. (main): Move call fetch_current_pgrp_sid earlier to avoid a NULL deference when no command line arguments are specified. Accommodate argument changes to above functions. Avoid printing SYSTEM account when print_current is specified. Issue error when extra stuff is found on the command line. * mkpasswd.c: Change all global variables and most functions to static. (enum_users): Add a print_current parameter to control whether entries for everything should be printed or just the current user. (main): Move call fetch_current_user_sid earlier to avoid a NULL deference when no command line arguments are specified. Accommodate argument change to above function. Avoid printing standard accounts when print_current is specified. Issue error when extra stuff is found on the command line.
* * Makefile.in: Link cygcheck with -lntdll even without mingw-zlib.Christopher Faylor2008-07-301-2/+3
|
* * Makefile.in (cygcheck.exe): Link against ntdll.Corinna Vinschen2008-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | * bloda.cc: Use statically linked functions throughout. * cygpath.cc: Drop 9x considerations. * mkgroup.c: Revamp. Redefine -l and -d options to take optional machine and domain parameters. Redefine -c to work always, using token information. Add -L, -D, -C to create unique groupnames in domain\group syntax. Add -S option to define domain\group separator char. Ignore -u and -s options. * mkpasswd.c: Revamp. Redefine -l and -d options to take optional machine and domain parameters. Redefine -c to work always, using token information. Add -L, -D, -C to create unique usernames in domain\user syntax. Add -S option to define domain\user separator char. Ignore -g and -s options. Prefer to take homedir from $HOME over $HOMEDRIVE/$HOMEPATH. * path.cc (oopts): Add "acl", "noacl", "posix=0" and "posix=1" options. (getmntent): Accomodate throughout. * ps.cc: Fix copyright dates. * utils.sgml: Fix text for mkgroup and mkpasswd.
* * Makefile.in (CYGWIN_BINS): Remove ipcrm and ipcs.Corinna Vinschen2008-05-151-1/+1
| | | | | * ipcrm.c: Remove. * ipcs.c: Remove.
* * Makefile.in (install): Don't install the testsuite.Brian Dessent2008-03-091-1/+1
|
* * Makefile.in: Add a 'check' target that builds and runsBrian Dessent2008-03-091-3/+16
| | | | | | | | | | | | | | | | | | | | | testsuite.exe from path-testsuite.o and testsuite.o. * path.cc: Include testsuite.h. (struct mnt): Change to a mnt_t typedef and don't define mount_table when TESTSUITE is defined. (find2): Don't include when TESTSUITE is defined to avoid warning. (get_cygdrive0): Ditto. (get_cygdrive): Ditto. (read_mounts): Provide empty implementation when TESTSUITE is defined. (vconcat): Use the isslash macro. (unconvert_slashes): New helper to convert to backslashses. (rel_vconcat): Handle relative paths more gracefully. (cygpath): Skip a leading "./" sequence. Avoid double-slashes. Normalize final output to backslashes and remove redundant path sequences. * testsuite.cc: New file implementing testsuite driver. * testsuite.h: New header implementing harness mount table and series of tests.
* * Makefile.in: Reorganize considerably, using GNU make'sBrian Dessent2008-03-081-149/+82
| | | | static pattern rules and target-specific variables.
* * Makefile.in (cygcheck.exe): Don't link to ntdll.Brian Dessent2007-12-211-3/+3
| | | | | | | | * bloda.cc (pNtQuerySystemInformation): Add. (pRtlAnsiStringToUnicodeString): Add. (get_process_list): Use function pointers for NT functions. (dump_dodgy_apps): Skip dodgy app check on non-NT platforms. Use GetProcAddress for NT-specific functions.
* * Makefile.in (cygcheck.exe): Add bloda.o as prerequisite, adjustingDave Korn2007-08-031-5/+13
| | | | | | | | dependency-filtering $(wordlist ...) call appropriately. Link ntdll. (bloda.o): New rule to build bloda.o * cygcheck.cc (dump_sysinfo): Call bloda function dump_dodgy_apps(). * bloda.cc: New file implements detection of applications from the Big List Of Dodgy Apps.
* * cygwin/strsig.cc (__signals): New macro.Christopher Faylor2007-07-101-1/+1
| | | | | | | | | | | (sys_sigabbrev): New array of signal strings, patterned after linux. (siglist): Use __signals. * cygwin/include/cygwin/signal.h (sys_sigabbrev): Define. * cygwin/include/cygwin/version.h: Bump API minor version to 177. * utils/Makefile.in (kill.exe): Remove reliance on libiberty. * utils/kill.cc (strsigno): New function patterned after libiberty but using newly exported cygwin array.
* * Makefile.in: Fix -ntdll typo.Christopher Faylor2006-09-121-2/+2
| | | | | * cygcheck.cc (main): Restore POSIXLY_CORRECT before displaying user's environment.
* * Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.Corinna Vinschen2006-08-021-0/+8
| | | | | | | | | * cygpath.cc: Include DDK headers. (RtlAllocateUnicodeString): New static inline function. (get_device_name): New static function to evaluate DOS path from native NT path. (get_device_paths): New function to do the same for path lists. (doit): Call get_device_paths/get_device_name where appropriate.
* * Makefile.in: Build setmetamode.exe.Corinna Vinschen2006-07-031-1/+1
| | | | * setmetamode.c: New file.
* bad_keywordsChristopher Faylor2006-01-181-2/+1
|
* copyrightChristopher Faylor2006-01-171-1/+2
|
* * Makefile.in: Replace etcdir with sysconfdir.Corinna Vinschen2006-01-171-2/+2
|
* * Makefile.in (cygcheck.exe): Do not link against libwininet.a.Corinna Vinschen2006-01-151-4/+4
| | | | | | | * cygcheck.cc (pInternetCloseHandle): Define global function pointer. (display_internet_error): Use it. (package_grep): Attempt to load wininet.dll at runtime. Call WinInet API through function pointers throughout.
* * Makefile.in: Link cygcheck with libwininet.a.Christopher Faylor2005-11-221-4/+4
| | | | | | | | | | | | | | * cygcheck.cc: Add includes. (grep_packages): New global variable. (display_internet_error): New function. (safe_chars): New global variable. (base_url): Ditto. (package_grep): New function. (usage): Reword --help output for clarity. Document new argument. (longopts): Add 'package-query' option. (opts): Add 'p' option, reorder to be consistent with 'longopts'. (main): Accommodate new option. * utils.sgml (cygcheck): Update --help output. Document new -p option.
* * Makefile.in (build_dumper): Detect missing iconv library.Christopher Faylor2004-02-211-2/+2
| | | | | | * cygpath.cc (dowin): Report on filename conversion errors. (doit): Ditto. * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
* * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.Christopher Faylor2004-02-101-1/+1
| | | | * cygcheck.cc (main): Ditto.
* * Makefile.in: Add rules to build ipcrm and ipcs.Corinna Vinschen2003-11-191-1/+1
| | | | | * ipcrm.c: New file. * ipcs.c: New file.
* * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.Christopher Faylor2003-10-171-3/+3
|
* * Makefile.in: Tweak mingw libz.a detection to make it more reliably detectChristopher Faylor2003-09-121-5/+5
| | | | when libz.a is not available.
* * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.Christopher Faylor2003-09-111-3/+3
| | | | | | * cygcheck.cc: Just include <getopt.h> rather than cygwin version. (pretty_id): Avoid compiler warnings. * cygpath.cc (usage): Ditto.
* * Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.Christopher Faylor2003-09-111-10/+11
| | | | | * path.cc: Include more path info in cygwin-specific includes since the cygwin directory is no longer included by default.
* * Makefile.in: More fixups to adjust for the fact that mingw_getopt.o is noChristopher Faylor2003-09-111-3/+3
| | | | longer built.
* * Makefile.in: Remove references to getopt since it is now part of mingwex.Christopher Faylor2003-09-101-12/+4
|
* * Makefile.in (zlib_h): Rename libz.h -> zlib.h.Christopher Faylor2003-09-081-1/+1
|
* * Makefile.in: Detect existence of mingw zlib headers and libraries. BuildChristopher Faylor2003-09-081-5/+17
| | | | | | | | | | | cygcheck wihtout package checking if they are unavailable. * dump_setup.cc: Generate dummy zlib macros when zlib is not available. (open_package_list): Use zlib functions to uncompress package lists. Return gzFile rather than FILE *. (check_package_files): Change fp to gzFile to accommodate zlib functions. Use gzgets to read from package file. Use gzclose to close the handle. (package_list): Ditto. (package_find): Ditto.
* * Makefile.in: Oops. Put the '...' in the right place.Christopher Faylor2003-09-011-2/+2
|
* * Makefile.in: Display "..." when not-verbose.Christopher Faylor2003-09-011-1/+1
| | | | | * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue some warnings when things don't work.
* preliminary checkinChristopher Faylor2003-07-261-3/+3
|
* .Christopher Faylor2003-03-091-1/+1
|
* * Makefile.in (strace.exe): Include mingw_getopt.o in link line.Christopher Faylor2003-03-041-3/+3
| | | | | | | | * cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.
* * Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.Christopher Faylor2003-03-011-2/+2
| | | | | | | * cygcheck.cc (find_on_path): Translate from cygwin path when qualified path name found. (pretty_id): New function. Dump output of id command. (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.