* Makefile.in: Use MINGW stuff from Makefile.common.
This commit is contained in:
parent
952460192a
commit
3fde1c5826
@ -1,3 +1,7 @@
|
||||
2002-07-06 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* Makefile.in: Use MINGW stuff from Makefile.common.
|
||||
|
||||
Wed Apr 18 23:54:53 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* Makefile.in: Add -U_WIN32 to CFLAGS compile line to avoid
|
||||
|
@ -46,10 +46,6 @@ RANLIB:=@RANLIB@
|
||||
|
||||
include $(srcdir)/../Makefile.common
|
||||
|
||||
MINGW_INCLUDES:=-I. -I$(srcdir) -I$(mingw_source)/include -I$(w32api_include) -I$(updir)/bz2lib
|
||||
|
||||
MINGW_CXXFLAGS:=-MMD $(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES) -mwindows -U_WIN32
|
||||
MINGW_CFLAGS:=-MMD $(CFLAGS) -mno-cygwin $(MINGW_INCLUDES) -mwindows -U_WIN32
|
||||
|
||||
ZLIB:=zlib/libzcygw.a
|
||||
BZ2LIB:=$(bupdir)/bz2lib/libbz2.a
|
||||
@ -98,19 +94,12 @@ install: all
|
||||
|
||||
%.o: %.c
|
||||
ifdef VERBOSE
|
||||
$(CC) $(MINGW_CFLAGS) -c -o $@ $<
|
||||
$(CC) $c -o $(@D)/$(basename $@)$o -MD $(MINGW_CFLAGS) $<
|
||||
else
|
||||
@echo $(CC) -c $(CFLAGS) ... $(<F)
|
||||
@$(CC) $(MINGW_CFLAGS) -c -o $@ $<
|
||||
@echo $(CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) ... $^;\
|
||||
$(CC) $c -o $(@D)/$(basename $@)$o -MD $(MINGW_CFLAGS) $<
|
||||
endif
|
||||
|
||||
%.o: %.cc
|
||||
ifdef VERBOSE
|
||||
$(CXX) $(MINGW_CXXFLAGS) -c -o $@ $<
|
||||
else
|
||||
@echo $(CXX) -c $(CXXFLAGS) ... $(<F)
|
||||
@$(CXX) $(MINGW_CXXFLAGS) -c -o $@ $<
|
||||
endif
|
||||
|
||||
D=$(wildcard *.d)
|
||||
ifneq ($D,)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-07-06 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* Makefile.in: Use MINGW stuff from Makefile.common.
|
||||
|
||||
2002-07-01 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mkgroup.c: Add function pointers for functions from advapi32.dll.
|
||||
|
@ -36,17 +36,12 @@ override CXXFLAGS+=-fno-exceptions -fno-rtti -DHAVE_DECL_GETOPT=0
|
||||
|
||||
include $(srcdir)/../Makefile.common
|
||||
|
||||
MINGW_INCLUDES:=$(MINGW_INCLUDES) $(w32api_include) -I$(updir)
|
||||
|
||||
libbfd:=${shell $(CC) -B$(bupdir2)/bfd/ --print-file-name=libbfd.a}
|
||||
libintl:=${shell $(CC) -B$(bupdir2)/intl/ --print-file-name=libintl.a}
|
||||
build_dumper:=${shell test -r $(libbfd) && test -r ${libintl} && echo 1}
|
||||
|
||||
DUMPER_INCLUDES:=-I$(bupdir2)/bfd -I$(updir1)/include
|
||||
|
||||
MINGW_CXXFLAGS:=${filter-out $(newlib_source)/%,$(CXXFLAGS)} -mno-cygwin $(MINGW_INCLUDES)
|
||||
MINGW_CFLAGS:=-mno-cygwin $(MINGW_INCLUDES)
|
||||
|
||||
libcygwin:=$(cygwin_build)/libcygwin.a
|
||||
libuser32:=$(w32api_lib)/libuser32.a
|
||||
libkernel32:=$(w32api_lib)/libkernel32.a
|
||||
@ -153,18 +148,18 @@ endif
|
||||
|
||||
cygcheck.o: cygcheck.cc
|
||||
ifdef VERBOSE
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $<
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) -I$(updir) $<
|
||||
else
|
||||
@echo $(CXX) $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) ... $^;\
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $<
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) -I$(updir) $<
|
||||
endif
|
||||
|
||||
strace.o: strace.cc
|
||||
ifdef VERBOSE
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $<
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) -I$(updir) $<
|
||||
else
|
||||
@echo $(CXX) $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) ... $^;\
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) $<
|
||||
${filter-out -I$(newlib_source)/%,$(COMPILE_CXX)} $c -o $(@D)/$(basename $@)$o $(MINGW_CXXFLAGS) -I$(updir) $<
|
||||
endif
|
||||
|
||||
kill.exe: kill.o $(bupdir1)/libiberty/strsignal.o
|
||||
|
Loading…
Reference in New Issue
Block a user