Develop and Download Open Source Software

Browse Subversion Repository

Contents of /cwbase/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 726 - (show annotations) (download)
Sun Jul 1 16:41:31 2007 UTC (16 years, 11 months ago) by reno
File size: 1420 byte(s)
implemented for static library
1 # Top Makefle for Caraway
2 # $Id$
3
4 .PHONY: all clean
5
6 prefix = @prefix@
7 exec_prefix = @exec_prefix@
8 bindir = @bindir@
9 libdir = @libdir@
10 srcdir = @srcdir@
11 datadir = @datadir@
12 datarootdir = @datarootdir@
13
14 SHELL = @SHELL@
15 CC = @CC@
16 AR = @AR@
17 RANLIB = @RANLIB@
18 MKINSTDIR = @top_srcdir@/mkinstalldirs
19 INSTALL = @INSTALL@
20 VERSION = @VERSION@
21 DATA_DIR = $(datadir)/cwbase
22 ACLOCAL_DIR = $(datadir)/cwbase/$(VERSION)/
23 DESTDIR =
24
25 LIBRARY = @LIBRARY@
26
27 CONFIG_GENERATED = Makefile config.cache config.log config.status libtool \
28 configure.lineno autom4* gc/autom4*
29 AUTOCONF_GENERATED = $(CONFIG_GENERATED) configure
30
31 # Compiler options
32 INLINE_UNIT_GROWTH = 10000
33 WARN_CFLAGS = -Wall -Wextra -Wformat=2-Wstrict-aliasing=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wfloat-equal -Wpointer-arith -Wswitch-enum -Winline -finline-functions --param inline-unit-growth=$(INLINE_UNIT_GROWTH)
34 ANSI_CFLAGS = -ansi -pedantic-errors
35 CFLAGS = -O2 $(ANSI_CFLAGS) $(WARN_CFLAGS) -I. -g
36
37 LIBRARY_OBJS = object.o autorelease_pool.o byte_order.o string.o array.o link.o list.o iter.o zone.o exception.o log.o stream.o data.o value.o file.o
38
39 .c.o:
40 $(CC) -c $(CFLAGS) -o $@ $<
41
42 all: $(LIBRARY)
43
44 $(LIBRARY): $(LIBRARY_OBJS)
45 $(AR) cr $@ $(LIBRARY_OBJS)
46 $(RANLIB) $@
47
48 clean:
49 rm -rf $(CONFIG_GENERATED)
50 rm -rf $(LIBRARY_OBJS)
51 rm -rf $(LIBRARY)

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26