2N/A#
2N/A# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/ASUBDIRS = $(MACH)
2N/A
2N/ASQLITE_VERSION = 2.8.15-repcached
2N/A
2N/AVERS = .1
2N/A
2N/Ainclude $(SRC)/lib/Makefile.lib
2N/A
2N/AENCODING = ISO8859
2N/A
2N/ASRCDIR= src
2N/A
2N/AHDRS= sqlite.h sqlite-misc.h
2N/AROOTHDRDIR= $(ROOT)/usr/include/sqlite
2N/AROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
2N/ACHECKHDRS= $(HDRS:%.h=%.check)
2N/ACLEANFILES += sqlite.h
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall := TARGET= all
2N/Aclean := TARGET= clean
2N/Aclobber := TARGET= clobber
2N/Ainstall := TARGET= install
2N/Alint := TARGET= lint
2N/Astub := TARGET = stub
2N/Astubinstall := TARGET = stubinstall
2N/A
2N/A
2N/A# This is the default Makefile target. The objects listed here
2N/A# are what get build when you type just "make" with no arguments.
2N/A#
2N/Aall clobber install lint stub stubinstall: $(SUBDIRS)
2N/A
2N/A$(ROOTHDRDIR):
2N/A $(INS.dir)
2N/A
2N/A$(ROOTHDRDIR)/%: % $(ROOTHDRDIR)
2N/A $(INS.file)
2N/A
2N/Ainstall_h: sqlite.h $(ROOTHDRS)
2N/A
2N/Acheck:
2N/A
2N/A#
2N/A# we don't want this output different every time, so we just suppress it
2N/A#
2N/Asqlite.h: $(SRCDIR)/sqlite.h.in
2N/A @echo "Generating $@"; \
2N/A sed -e 's"--VERS--"$(SQLITE_VERSION)"' \
2N/A -e s/--ENCODING--/$(ENCODING)/ \
2N/A $(SRCDIR)/sqlite.h.in > $@
2N/A
2N/A$(SUBDIRS): FRC
2N/A @cd $@; pwd; $(MAKE) $(TARGET)
2N/A
2N/AFRC:
2N/A
2N/Ainclude $(SRC)/lib/Makefile.targ