Whamcloud - gitweb
0248c3f0c152846ea63c036dfb6f5a85c7d4696e
[tools/e2fsprogs.git] / lib / evms / Makefile.in
1 srcdir = @srcdir@
2 top_srcdir = @top_srcdir@
3 VPATH = @srcdir@
4 top_builddir = ../..
5 my_dir = lib/evms
6 INSTALL = @INSTALL@
7
8 MAJOR_VERSION   = 1
9 MINOR_VERSION   = 1
10 PATCH_LEVEL     = 0
11 EXTRAVERSION    =
12
13 XTRA_CFLAGS= -I@srcdir@ -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCH_LEVEL=$(PATCH_LEVEL)
14
15 @MCONFIG@
16
17 OBJS= fs_ext2.o fsimext2.o
18
19 SRCS= $(srcdir)/fs_ext2.c $(srcdir)/fsimext2.c
20
21
22 LIBRARY= libext2fsim
23 LIBDIR= evms
24
25 ELF_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
26 ELF_SO_VERSION = $(MAJOR_VERSION)
27 ELF_IMAGE = libe2fsim
28 ELF_MYDIR = evms
29 ELF_INSTALL_DIR = $(root_libdir)
30 #ELF_OTHER_LIBS = -L../.. -lcom_err
31
32 @MAKEFILE_LIBRARY@
33 @MAKEFILE_ELF@
34
35 .c.o:
36         $(CC) $(ALL_CFLAGS) -c $< -o $@
37 @ELF_CMT@       $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
38
39 clean::
40         $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/* 
41
42 mostlyclean:: clean
43 distclean:: clean
44         $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
45
46 # +++ Dependency line eater +++
47
48 # Makefile dependencies follow.  This must be the last section in
49 # the Makefile.in file
50 #
51 fs_ext2.o: $(srcdir)/fs_ext2.c $(srcdir)/plugin.h $(srcdir)/dlist.h \
52  $(srcdir)/common.h $(srcdir)/options.h $(srcdir)/enginestructs.h \
53  $(srcdir)/plugfuncs.h $(srcdir)/fsimext2.h
54 fsimext2.o: $(srcdir)/fsimext2.c $(srcdir)/plugin.h $(srcdir)/dlist.h \
55  $(srcdir)/common.h $(srcdir)/options.h $(srcdir)/enginestructs.h \
56  $(srcdir)/plugfuncs.h $(srcdir)/fsimext2.h