summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/Makefile.in
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-17 17:54:05 +0000
committerChristopher Faylor <me@cgf.cx>2000-06-17 17:54:05 +0000
commite94903eb0f98dea688ac3a009b97dfeb15a1a348 (patch)
treee01bca44d95e752576b69569ddae813f27fc920f /winsup/cygwin/Makefile.in
parente46892585a414ecf986e1fde9208595192179082 (diff)
downloadcygnal-e94903eb0f98dea688ac3a009b97dfeb15a1a348.tar.gz
cygnal-e94903eb0f98dea688ac3a009b97dfeb15a1a348.tar.bz2
cygnal-e94903eb0f98dea688ac3a009b97dfeb15a1a348.zip
* configure.in: Detect "cross-hosting" situation and set appropriate variables
in Makefile to avoid building excess stuff. * configure: Regenerate. * Makefile.in: Accomodate above change.
Diffstat (limited to 'winsup/cygwin/Makefile.in')
-rw-r--r--winsup/cygwin/Makefile.in21
1 files changed, 17 insertions, 4 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 60152dcb6..663808e4f 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -133,17 +133,27 @@ GMON_OFILES:= gmon.o mcount.o profil.o
LD_STUFF=--dll $(DLL_OFILES) version.o winver.o $(DLL_IMPORTS) $(LIBM) $(LIBC) \
$(LIBGCC) -e $(DLL_ENTRY) --image-base=0x61000000
-.PHONY: all force dll_ofiles install
+.PHONY: all force dll_ofiles install all_target install_target all_host install_host
.SUFFIXES:
.SUFFIXES: .c .cc .def .a .o
-all: new-$(DLL_NAME) $(LIBGMON_A) $(LIB_NAME) new-$(LIB_NAME) cygrun.exe force
+all_host=@all_host@
+install_host=@install_host@
+
+all: $(all_host) all_target
+
+install: $(install_host) install_target
+
+# all: new-$(DLL_NAME) $(LIBGMON_A) $(LIB_NAME) new-$(LIB_NAME) cygrun.exe force
+
+all_target: $(LIBGMON_A) $(LIB_NAME)
+
+all_host: new-$(DLL_NAME) cygrun.exe
force:
-install: all
- $(INSTALL_DATA) new-$(DLL_NAME) $(bindir)/$(DLL_NAME) ; \
+install: all $(install_host) $(install_target)
for i in $(LIB_NAME) $(GMON_START) $(LIBGMON_A) ; do \
$(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \
done ; \
@@ -155,6 +165,9 @@ install: all
done ; \
$(INSTALL_DATA) regexp/regexp.h $(tooldir)/include/regexp.h
+install_host:
+ $(INSTALL_DATA) new-$(DLL_NAME) $(bindir)/$(DLL_NAME)
+
clean:
-rm -f *.o *.dll *.a *.exp junk *.base version.cc regexp/*.o winver_stamp