diff options
author | Christopher Faylor <me@cgf.cx> | 2000-07-01 07:51:55 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-07-01 07:51:55 +0400 |
commit | 14a3bc2fa10e6d2436331f5bdcf3e2665a616137 (patch) | |
tree | 621eb94f045bb77fd4291c0a0d1b62f3a5e0ac60 /winsup/cygwin/Makefile.in | |
parent | 86e25f234a75c9e95b405c30ce1d889776b5b12b (diff) |
* Makefile.in: Use variables rather than configure constructs where
appropriate.
(LIBCOS): Find additional stub library stuff in their own subdirectory.
* dcrt0.cc: Convert user_data pointer to static __cygwin_user_data area.
(do_global_ctors): Check magic_bisquit for initialization.
(dll_crt0_1): First group of premain functions prior to fd initialization. Run
second group before calling main.
(dll_crt0 ()): New function, called from new initialization code.
(dll_crt0 (per_process *uptr)): Call new dll_crt0 () function on
initialization.
* debug.cc (thread_stub): Initialize bottom of stack with per-thread info.
* environ.cc (parse_thing): Use binmode global to control CYGWIN=binmode
behavior.
* fhandler.cc (fhandler_base::open): Allow explicit setting of __fmode to
O_BINARY or O_TEXT to override disk mount settings.
* libcmain.cc: Move to lib subdirectory.
* libccrt0.cc: Ditto.
* dll_main.cc: Ditto.
* dll_entry.cc: Ditto.
* getopt.c: Ditto.
* thread.cc (thread_init_wrapper): Call ExitThread explicitly rather than
returning, as a preliminary step towards placing per thread info at the bottom
of the stack.
* winsup.h: Move per_process class to include/sys/cygwin.h. Declare new
dll_crt0().
* include/cygwin/version.h: Bump API minor version.
* binmode.c: New file.
* textmode.c: Ditto.
* lib/_cygwin_crt0_common.cc: Ditto.
* lib/crt0.h: Ditto.
* lib/cygwin_attach_dll.c: Ditto.
* lib/cygwin_crt0.c: Ditto.
* lib/dll_entry.cc: Ditto.
* lib/dll_main.cc: Ditto.
* lib/getopt.c: Ditto.
* lib/libcmain.c: Ditto.
* lib/premain0.c: Ditto.
* lib/premain1.c: Ditto.
* lib/premain2.c: Ditto.
* lib/premain3.c: Ditto.
Diffstat (limited to 'winsup/cygwin/Makefile.in')
-rw-r--r-- | winsup/cygwin/Makefile.in | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 97f568796..263d0ad28 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -9,12 +9,13 @@ # This makefile requires GNU make. -CONFIG_DIR:=@srcdir@/config/@CONFIG_DIR@ SHELL:=@SHELL@ -VPATH:=@srcdir@:$(CONFIG_DIR):@srcdir@/regexp srcdir:=@srcdir@ objdir:=. +CONFIG_DIR:=$(srcdir)/config/@CONFIG_DIR@ +VPATH:=$(srcdir):$(CONFIG_DIR):$(srcdir)/regexp:$(srcdir)/lib + target_alias:=@target_alias@ build_alias:=@build_alias@ host_alias:=@host_alias@ @@ -106,7 +107,8 @@ GMON_START:=gcrt0.o # data which apps can get to, which is a pain in the dll, so we # include them directly into the library. -LIBCOS:=libccrt0.o libcmain.o getopt.o dll_entry.o dll_main.o +LIBCOS:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(srcdir)/lib/*.c}}}} \ + ${addsuffix .o,${basename ${notdir ${wildcard $(srcdir)/lib/*.cc}}}}} # Build all source files in the config directory @@ -143,7 +145,7 @@ install_host=@install_host@ all: new-$(DLL_NAME) $(all_host) all_target -all_target: $(LIBGMON_A) $(LIB_NAME) +all_target: $(LIBGMON_A) $(LIB_NAME) binmode.o textmode.o all_host: new-$(LIB_NAME) cygrun.exe @@ -151,7 +153,7 @@ force: install: all $(install_host) $(install_target) $(INSTALL_DATA) new-$(DLL_NAME) $(bindir)/$(DLL_NAME); \ - for i in $(LIB_NAME) $(GMON_START) $(LIBGMON_A) ; do \ + for i in $(LIB_NAME) $(GMON_START) $(LIBGMON_A) binmode.o ; do \ $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \ done ; \ cd $(srcdir); \ |