8828 udapl: value computed is not used
[unleashed.git] / usr / src / lib / libsqlite / Makefile
blob2d156094a36563bb114ab484a298d8578ddc7d47
2 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
6 SUBDIRS = $(MACH)
8 SQLITE_VERSION = 2.8.15-repcached
10 VERS = .1
12 include $(SRC)/lib/Makefile.lib
14 ENCODING = ISO8859
16 SRCDIR= src
18 HDRS= sqlite.h sqlite-misc.h
19 ROOTHDRDIR= $(ROOT)/usr/include/sqlite-sys
20 ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
21 CHECKHDRS= $(HDRS:%.h=%.check)
22 CLOBBERFILES += sqlite.h
24 .KEEP_STATE:
26 all := TARGET= all
27 clean := TARGET= clean
28 clobber := TARGET= clobber
29 install := TARGET= install
30 lint := TARGET= lint
33 # This is the default Makefile target. The objects listed here
34 # are what get build when you type just "make" with no arguments.
36 all install: sqlite.h $(SUBDIRS)
37 clobber lint: $(SUBDIRS)
39 $(ROOTHDRDIR):
40 $(INS.dir)
42 $(ROOTHDRDIR)/%: % $(ROOTHDRDIR)
43 $(INS.file)
45 install_h: sqlite.h $(ROOTHDRS)
47 check:
50 # we don't want this output different every time, so we just suppress it
52 sqlite.h: $(SRCDIR)/sqlite.h.in
53 @echo "Generating $@"; \
54 sed -e 's"--VERS--"$(SQLITE_VERSION)"' \
55 -e s/--ENCODING--/$(ENCODING)/ \
56 $(SRCDIR)/sqlite.h.in > $@
58 $(SUBDIRS): FRC
59 @cd $@; pwd; $(MAKE) $(TARGET)
61 FRC:
63 include $(SRC)/lib/Makefile.targ