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