summaryrefslogtreecommitdiffstats
path: root/winsup/Makefile.common
Commit message (Collapse)AuthorAgeFilesLines
* Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout optioncygwin-2_5_2-releaseCorinna Vinschen2016-06-231-2/+0
| | | | | | | | | | | | | | Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* * Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.Yaakov Selkowitz2014-08-071-1/+1
|
* * Makefile.common: Don't drop -gFOO switches when filtering CFLAGSCorinna Vinschen2014-01-221-2/+2
| | | | and CXXFLAGS.
* * Makefile.common: Add rule to build assembler code.Corinna Vinschen2013-06-181-1/+4
| | | | (.SUFFIXES): Add .S.
* ChangeLog:Christopher Faylor2012-11-231-136/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.common: Revamp for new configury. Add default compilation targets, include .E processing. Add magic for allowing "CFLAGS" to control optimization options in "CXXFLAGS". * configure.cygwin: New include for Cygwin configure.in's. * acinclude.m4: Delete old definitions. Implement AC_WINDOWS_HEADERS, AC_WINDOWS_LIBS, AC_CYGWIN_INCLUDES, target_builddir, winsup_srcdir. * aclocal.m4: Regenerate. * autogen.sh: New file. * ccwrap: New script. * c++wrap: New script. * config.guess: New script. * config.sub: New script. * configure: Regenerate. * configure.in: Eliminate LIB_AC_PROG_* calls in favor of standard. Delete ancient target test. * install-sh: New script. cygserver/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. cygwin/ChangeLog: 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * select.cc (select): Don't return -1 when we've timed out after looping. 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. (datarootdir): Add variable setting. (winver_stamp): Accommodate changes to mkvers.sh setting. (libc.a): Fix race when libm.a might not have been built yet. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * mkvers.sh: Find include directives via CFLAGS and friends rather than assuming that w32api lives nearby. utils/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * configure.in: Revamp for new configury. * Makefile.in: Revamp for new configury. Rename ALL_* to just *. Always use "VERBOSE" setting. (MINGW_CXX): Don't include CFLAGS in definition. (all): Define target first, before everything else so that it is the default. (ps.exe): Don't add useless -lcygwin. (ldh.exe): For consistency, add to existing MINGW_LDFLAGS rather than redefining them. (cygcheck.exe): Always include -lz for MINGW_LDFLAGS. Don't try to figure out where to find it. (dumper.exe): Simplify check. Assume libraries are installed rather than trying to retrieve from source tree. (install): Just use /bin/mkdir to create directories. (Makefile): Regenerate when standard dependencies change. * dump_setup.cc: Always include zlib.h. Remove accommodations for it possibly not existing. * parse_pe.cc: Add define which allows building with installed binutils package. * dumper.cc: Ditto.
* winsup:Corinna Vinschen2012-11-071-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.common (zlib_source): Remove. (zlib_build): Remove. (bz2lib_source): Remove. (bz2lib_build): Remove. (w32api_source): Remove. (w32api_build): Remove. (w32api_lib): Remove. (mingw_build): Remove. (mingw_source): Remove. ($(w32api_lib)/%.a): Remove rule. * Makefile.in (ZLIB): Remove. ($(SUBDIRS)): Drop mingw check. (mingw): Remove rule. (install_mingw): Ditto. * configure.in: Remove support for mingw as build target. * configure: Regenerate. utils: * Makefile.in ($(MINGW_BINS)): Drop -B$(mingw_build)/ from build expression.
* 2012-10-24 Kai Tietz <ktietz70@googlemail.com>Yaakov Selkowitz2012-10-241-21/+5
| | | | | | | | | | | | | | | | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Corinna Vinschen <corinna@vinschen.de> * configure.in [cygwin*]: Always build cygserver, lsaauth, utils, and doc. Do not build mingw or w32api. [mingw*]: Build w32api if present. * configure: Regenerate. * Makefile.common: Remove references to mingw and w32api directories. (MINGW_LDFLAGS): Redefine as -static to force static linking with libgcc and libstdc++. * Makefile.in: Remove references to mingw and w32api directories from Cygwin targets.
* * Makefile.common (CFLAGS_COMMON): Add temporary define to work around w32apiChristopher Faylor2012-07-301-2/+2
| | | | | | | | problem. * cygwin/winlean.h: Define constant which will be needed eventually. Remove hack in favor of another hack. * cygwin/lib/crt0.h: Use "winlean.h".
* * Makefile.common (ALL_CFLAGS): Change := to = to allow overriding inCorinna Vinschen2012-07-061-1/+1
| | | | dependent Makefiles.
* * Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here.Corinna Vinschen2012-01-091-1/+1
|
* winsup/ChangeLog:Dave Korn2009-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.common (COMPILE_CXX): Add support for per-file overrides to exclude $(nostdinc) and $(nostdincxx) from compiler flags. (COMPILE_CC): Likewise for $(nostdinc). winsup/cygwin/ChangeLog: * Makefile.in (DLL_OFILES): Add libstdcxx_wrapper.o (libstdcxx_wrapper_CFLAGS): Add flags for new module. (_cygwin_crt0_common_STDINCFLAGS): Define per-file override. (libstdcxx_wrapper_STDINCFLAGS, cxx_STDINCFLAGS): Likewise. * cxx.cc: Include "cygwin-cxx.h". (operator new): Tweak prototype for full standards compliance. (operator new[]): Likewise. (operator new (nothrow)): New fallback function. (operator new[] (nothrow), operator delete (nothrow), operator delete[] (nothrow)): Likewise. (default_cygwin_cxx_malloc): New struct of pointers to the above, for final last-resort fallback default. * cygwin-cxx.h: New file. (struct per_process_cxx_malloc): Define. (default_cygwin_cxx_malloc): Declare extern. * cygwin.din (__wrap__ZdaPv): Export new wrapper. (__wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv, __wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj, __wrap__ZnajRKSt9nothrow_t, __wrap__Znwj, __wrap__ZnwjRKSt9nothrow_t): Likewise. * globals.cc (__cygwin_user_data): Init newly-repurposed 'forkee' field (now 'cxx_malloc') to point to default_cygwin_cxx_malloc. * libstdcxx_wrapper.cc: New file. (__wrap__ZdaPv, __wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv, __wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj, __wrap__ZnajRKSt9nothrow_t, __wrap__Znwj, __wrap__ZnwjRKSt9nothrow_t): Define wrapper functions for libstdc++ malloc operators and their overrides. * winsup.h (default_cygwin_cxx_malloc): Declare extern. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * include/sys/cygwin.h (struct per_process_cxx_malloc): Forward declare here. (struct per_process::forkee): Rename and repurpose from this ... (struct per_process::cxx_malloc): ... to this. * lib/_cygwin_crt0_common.cc: Include cygwin-cxx.h. (WEAK): Define shorthand helper macro. (__cygwin_cxx_malloc): Define and populate with weak references to whatever libstdc++ malloc operators will be visible at final link time for Cygwin apps and dlls. (_cygwin_crt0_common): Always look up cygwin DLL's internal per_process data, and don't test for (impossible) failure. Inherit any members of __cygwin_cxx_malloc that we don't have overrides for from the DLL's default and store the resulting overall set of overrides back into the DLL's global per_process data.
* * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.Christopher Faylor2005-10-111-1/+1
|
* update copyrightChristopher Faylor2005-07-261-1/+1
|
* * Makefile.common: Add -dD to options when creating preprocess files.Christopher Faylor2005-03-231-6/+6
|
* typoChristopher Faylor2003-08-061-1/+1
|
* * Makefile.common: Hmm. Older compilers seem to need -nostdinc.Christopher Faylor2003-08-061-1/+1
|
* * Makefile.common: Don't send -nostdinc++ with g++.Christopher Faylor2003-08-061-2/+3
|
* revert erroneous checkinChristopher Faylor2003-07-261-6/+0
|
* * Makefile.in: Only use localhost when building mingw with distcc or gcc won'tChristopher Faylor2003-07-261-0/+6
| | | | be able to find .exp files on other hosts.
* * Makefile.common (CFLAGS_COMMON): Remove -march=i386.Christopher Faylor2003-07-181-1/+1
|
* * Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy onChristopher Faylor2003-07-021-1/+1
| | | | newer versions of gcc.
* * configure.in: Add cygserver subdir.Christopher Faylor2003-07-011-2/+0
| | | | | | * Makefile.in: Ditto. * configure: Regenerate. * Makefile.common: Remove debugging statements.
* * Makefile.common: Remove newlib_sys_include andCorinna Vinschen2003-05-121-8/+2
| | | | newlib_sys_include_include entirely. Set CRT0 to cygwin/crt0.o.
* * Makefile.in: Reorganize to try to allow lack of mingw/w32api to work.Christopher Faylor2003-04-191-9/+23
|
* * Makefile.common (w32api_lib): Fix w32api detection.Christopher Faylor2003-04-111-2/+2
|
* * Makefile.common (ALL_CXXFLAGS): Make normal '=' type variable so thatChristopher Faylor2003-03-291-1/+1
| | | | CXXFLAGS is properly interpreted.
* * Makefile.common (w32api_lib): Default to system w32api directory if w32api isChristopher Faylor2003-03-171-0/+3
| | | | missing from source.
* * Makefile.common: Fix typo from previous checkin.Christopher Faylor2003-03-171-1/+1
|
* * configure.in: w32api directory was already optional. Semi-revert 2003-02-06Christopher Faylor2003-03-171-2/+4
| | | | | | change. * configure: Regenerate. * Makefile.common: Don't specific -nostdinc if there is no w32api directory.
* * Makefile.common: Avoid double slashes in GCC_INCLUDE.Christopher Faylor2003-03-091-1/+1
|
* * Makefile.common (MINGW_LDFLAGS): Add mingw/mingwex builddir.Corinna Vinschen2003-01-221-1/+1
|
* * Makefile.common: Don't attempt to pretty-print c++ errors.Christopher Faylor2002-12-211-1/+1
|
* * Makefile.common: Define MINGW_LDFLAGS.Corinna Vinschen2002-12-121-0/+1
| | | | | | * configure.in: Reorder SUBDIRS to have mingw before cygwin. * configure: Regenerate from configure.in. * cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
* * Makefile.in: Change COMPILE_C* definitions.Christopher Faylor2002-08-171-2/+2
|
* * Makefile.common (MINGW_INCLUDES): Simplify.Christopher Faylor2002-07-071-1/+3
| | | | | (MINGW_CFLAGS): New. (MINGW_CXXFLAGS): Ditto.
* Add missing ChangeLog.Christopher Faylor2001-12-141-2/+2
| | | | | * configure.in: Detect zlib subdirectory. * configure: Regenerate
* * Makefile.in: Exit immediately if a sub-make fails.Christopher Faylor2001-12-141-0/+10
|
* * Makefile.common: Remove preferred-stack-boundary setting since gcc 2.95.3Christopher Faylor2001-11-031-1/+1
| | | | doesn't work well with it.
* * Makefile.common: Add some stuff to common CFLAGS.Christopher Faylor2001-11-021-1/+1
|
* * Makefile.in: Add -nostdinc to CXXFLAGS.Christopher Faylor2001-10-131-1/+1
|
* * Makefile.common: Perform more include file testing trickery.Christopher Faylor2001-10-121-4/+8
|
* * Makefile.common: Avoid adding -I options to compile if they already exist inChristopher Faylor2001-10-101-5/+18
| | | | CC or C*FLAGS. This prevents warnings from newer versions of gcc.
* * Makefile.common: Change method for finding current directory.Christopher Faylor2001-05-151-1/+7
|
* * Makefile.common: Revert previous change.Corinna Vinschen2001-02-221-1/+1
|
* Add copyright year 2001Corinna Vinschen2001-02-211-1/+1
|
* * Makefile.common: Add `-fvtable-thunks' to COMPILE_CXX.Corinna Vinschen2001-02-211-1/+1
|
* * Makefile.common: Eliminate checks for libgcc.a and libstdc++.a. Use CXX forChristopher Faylor2000-12-031-10/+4
| | | | | | g++ compiles. * configure.in: Find correct c++ compiler. * configure: Regenerate.
* * Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a.Christopher Faylor2000-10-231-2/+8
|
* flip/flop change.Christopher Faylor2000-10-221-2/+2
|
* Minor change.Christopher Faylor2000-10-221-2/+2
|