mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
move sqlite-version.h rules below rules.mk so 'make -C db/sqlite3/src' does the right thing. rs=sdwilsh
This commit is contained in:
parent
d4208347b6
commit
ad910f4456
@ -51,20 +51,6 @@ FORCE_SHARED_LIB = 1
|
||||
VISIBILITY_FLAGS =
|
||||
LIB_IS_C_ONLY = 1
|
||||
|
||||
ifeq (,$(filter-out WINNT WINCE,$(OS_ARCH)))
|
||||
ifndef GNU_CC
|
||||
DEFFILE = $(win_srcdir)/sqlite.def
|
||||
RCFILE = sqlite.rc
|
||||
RESFILE = sqlite.res
|
||||
|
||||
GARBAGE += sqlite-version.h
|
||||
|
||||
sqlite-version.h: sqlite-version.py sqlite3.h
|
||||
$(PYTHON) $^ > $@
|
||||
export:: sqlite-version.h
|
||||
endif
|
||||
endif
|
||||
|
||||
# FIXME: bug 419893
|
||||
NO_PROFILE_GUIDED_OPTIMIZE = 1
|
||||
|
||||
@ -111,6 +97,20 @@ endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq (,$(filter-out WINNT WINCE,$(OS_ARCH)))
|
||||
ifndef GNU_CC
|
||||
DEFFILE = $(win_srcdir)/sqlite.def
|
||||
RCFILE = sqlite.rc
|
||||
RESFILE = sqlite.res
|
||||
|
||||
GARBAGE += sqlite-version.h
|
||||
|
||||
sqlite-version.h: sqlite-version.py sqlite3.h
|
||||
$(PYTHON) $^ > $@
|
||||
export:: sqlite-version.h
|
||||
endif
|
||||
endif
|
||||
|
||||
# next line allows use of MOZ_OBJDIR in .mozconfig with older gcc on BeOS, maybe others
|
||||
LOCAL_INCLUDES += -I$(srcdir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user