2 top_srcdir = @top_srcdir@
13 XTRA_CFLAGS= -I@srcdir@ -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCH_LEVEL=$(PATCH_LEVEL)
17 OBJS= fs_ext2.o fsimext2.o
19 SRCS= $(srcdir)/fs_ext2.c $(srcdir)/fsimext2.c
25 ELF_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
26 ELF_SO_VERSION = $(MAJOR_VERSION)
29 ELF_INSTALL_DIR = $(root_libdir)
30 #ELF_OTHER_LIBS = -L../.. -lcom_err
36 $(CC) $(ALL_CFLAGS) -c $< -o $@
37 @ELF_CMT@ $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
40 $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
44 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
46 # +++ Dependency line eater +++
48 # Makefile dependencies follow. This must be the last section in
49 # the Makefile.in file
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