]>
Commit | Line | Data |
---|---|---|
70deb804 | 1 | # $Id: Makefile.in,v 1.7 2011/06/10 13:41:41 stelian Exp $ |
ec387a12 | 2 | |
1227625a SP |
3 | top_srcdir= @top_srcdir@ |
4 | srcdir= @srcdir@ | |
1daf06b9 | 5 | top_builddir= .. |
1227625a SP |
6 | |
7 | @MCONFIG@ | |
8 | ||
70deb804 | 9 | INC= -I. -I$(top_srcdir)/dump -I$(top_srcdir)/compat/include |
008af419 SP |
10 | ALL_CFLAGS= @CPPFLAGS@ @CFLAGS@ @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS) @DUMPDEBUG@ |
11 | ALL_LDFLAGS= @LDFLAGS@ @LDOPTS@ @STATIC@ | |
70deb804 SP |
12 | LIBS= $(GLIBS) @ZLIB@ @BZLIB@ @BLKID@ @SSLLIB@ @SQLITE3@ |
13 | ||
14 | SRCS= dumprmt.c transformation_null.c transformation_lzo.c transformation_zlib.c transformation_bzlib.c \ | |
15 | transformation_ssl.c legacy_indexer.c sqlite_indexer.c | |
16 | OBJS= dumprmt.o transformation_null.o transformation_lzo.o transformation_zlib.o transformation_bzlib.o \ | |
17 | transformation_ssl.o legacy_indexer.o sqlite_indexer.o | |
1227625a | 18 | |
008af419 SP |
19 | .c.o: |
20 | $(CC) -c $(ALL_CFLAGS) $< -o $@ | |
21 | ||
70deb804 SP |
22 | all:: $(OBJS) transform_test indexer_test |
23 | ||
24 | transform_test: transform_test.o $(OBJS) $(DEPLIBS) | |
25 | $(LD) $(ALL_LDFLAGS) -o transform_test transform_test.o \ | |
26 | transformation_null.o transformation_lzo.o transformation_zlib.o \ | |
27 | transformation_bzlib.o transformation_ssl.o $(LIBS) | |
28 | ||
29 | indexer_test: indexer_test.o $(OBJS) $(DEPLIBS) | |
30 | $(LD) $(ALL_LDFLAGS) -o indexer_test indexer_test.o legacy_indexer.o \ | |
31 | sqlite_indexer.o dumprmt.o $(LIBS) | |
1227625a SP |
32 | |
33 | install:: | |
34 | ||
35 | clean:: | |
36 | $(RM) -f \#* *.s *.o *.a *~ core | |
37 | ||
38 | distclean:: clean | |
39 | $(RM) -f Makefile Makefile.old .depend | |
40 | ||
41 | # +++ Dependency line eater +++ | |
42 | # | |
43 | # Makefile dependencies follow. This must be the last section in | |
44 | # the Makefile.in file | |
45 | # | |
46 |