Update and localize HOST compile information.
This commit is contained in:
parent
0dc9ed2b5d
commit
5d150c3151
|
|
@ -67,8 +67,11 @@ mandir = @mandir@
|
||||||
|
|
||||||
dllib=@DLLIB@
|
dllib=@DLLIB@
|
||||||
|
|
||||||
CC = @CC@
|
# For a cross compile these defines will need to be set accordingly.
|
||||||
HOSTCC = @CC@
|
HOSTCC = @CC@
|
||||||
|
HOSTCFLAGS = @WARNING_FLAGS@ @CFLAGS@
|
||||||
|
|
||||||
|
CC = @CC@
|
||||||
CXX = @CXX@
|
CXX = @CXX@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
|
|
@ -121,7 +124,7 @@ all: dep config.h _pli_types.h version_tag.h ivl@EXEEXT@ version.exe iverilog-vp
|
||||||
ifeq (@MINGW32@,yes)
|
ifeq (@MINGW32@,yes)
|
||||||
all: dosify.exe
|
all: dosify.exe
|
||||||
dosify.exe: $(srcdir)/dosify.c
|
dosify.exe: $(srcdir)/dosify.c
|
||||||
$(HOSTCC) -o dosify.exe $(srcdir)/dosify.c
|
$(HOSTCC) $(HOSTCFLAGS) -o dosify.exe $(srcdir)/dosify.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# This rule rules the compiler in the trivial hello.vl program to make
|
# This rule rules the compiler in the trivial hello.vl program to make
|
||||||
|
|
@ -228,7 +231,7 @@ iverilog-vpi: $(srcdir)/iverilog-vpi.sh Makefile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
version.exe: $(srcdir)/version.c $(srcdir)/version_base.h version_tag.h
|
version.exe: $(srcdir)/version.c $(srcdir)/version_base.h version_tag.h
|
||||||
$(HOSTCC) @WARNING_FLAGS@ -o version.exe -I. -I$(srcdir) $(srcdir)/version.c
|
$(HOSTCC) $(HOSTCFLAGS) -o version.exe -I. -I$(srcdir) $(srcdir)/version.c
|
||||||
|
|
||||||
%.o: %.cc config.h
|
%.o: %.cc config.h
|
||||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,11 @@ libdir = @libdir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
|
|
||||||
CC = @CC@
|
# For a cross compile these defines will need to be set accordingly.
|
||||||
HOSTCC = @CC@
|
HOSTCC = @CC@
|
||||||
|
HOSTCFLAGS = @WARNING_FLAGS@ @CFLAGS@
|
||||||
|
|
||||||
|
CC = @CC@
|
||||||
CXX = @CXX@
|
CXX = @CXX@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
AR = @AR@
|
AR = @AR@
|
||||||
|
|
@ -144,7 +147,7 @@ endif
|
||||||
mv $*.d dep/$*.d
|
mv $*.d dep/$*.d
|
||||||
|
|
||||||
tables.cc: $(srcdir)/draw_tt.c
|
tables.cc: $(srcdir)/draw_tt.c
|
||||||
$(HOSTCC) @WARNING_FLAGS@ -o draw_tt.exe $(srcdir)/draw_tt.c
|
$(HOSTCC) $(HOSTCFLAGS) -o draw_tt.exe $(srcdir)/draw_tt.c
|
||||||
./draw_tt.exe > tables.cc
|
./draw_tt.exe > tables.cc
|
||||||
rm draw_tt.exe
|
rm draw_tt.exe
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue