mirror of https://github.com/vitalif/e2fsprogs
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
top_builddir = ../..
|
|
my_dir = lib/evms
|
|
INSTALL = @INSTALL@
|
|
|
|
MAJOR_VERSION = 1
|
|
MINOR_VERSION = 0
|
|
PATCH_LEVEL = 0
|
|
EXTRAVERSION =
|
|
|
|
XTRA_CFLAGS= -I@srcdir@ -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCH_LEVEL=$(PATCH_LEVEL)
|
|
|
|
@MCONFIG@
|
|
|
|
OBJS= fs_ext2.o fsimext2.o
|
|
|
|
SRCS= $(srcdir)/fs_ext2.c $(srcdir)/fsimext2.c
|
|
|
|
|
|
LIBRARY= libext2fsim
|
|
LIBDIR= evms
|
|
|
|
ELF_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
|
|
ELF_SO_VERSION = $(MAJOR_VERSION)
|
|
ELF_IMAGE = libe2fsim
|
|
ELF_MYDIR = evms
|
|
ELF_INSTALL_DIR = $(root_libdir)
|
|
#ELF_OTHER_LIBS = -L../.. -lcom_err
|
|
|
|
@MAKEFILE_LIBRARY@
|
|
@MAKEFILE_ELF@
|
|
|
|
.c.o:
|
|
$(CC) $(ALL_CFLAGS) -c $< -o $@
|
|
@ELF_CMT@ $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
|
|
|
|
clean::
|
|
$(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
|
|
|
|
mostlyclean:: clean
|
|
distclean:: clean
|
|
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
|
|
|
|
# +++ Dependency line eater +++
|
|
#
|
|
# Makefile dependencies follow. This must be the last section in
|
|
# the Makefile.in file
|
|
#
|
|
fs_ext2.o: $(srcdir)/fs_ext2.c $(srcdir)/plugin.h $(srcdir)/dlist.h \
|
|
$(srcdir)/common.h $(srcdir)/evms_user.h $(srcdir)/evms_common.h \
|
|
$(srcdir)/evms_ioctl.h $(srcdir)/options.h $(srcdir)/enginestructs.h \
|
|
$(srcdir)/plugfuncs.h $(srcdir)/fsimext2.h
|
|
fsimext2.o: $(srcdir)/fsimext2.c $(srcdir)/plugin.h $(srcdir)/dlist.h \
|
|
$(srcdir)/common.h $(srcdir)/evms_user.h $(srcdir)/evms_common.h \
|
|
$(srcdir)/evms_ioctl.h $(srcdir)/options.h $(srcdir)/enginestructs.h \
|
|
$(srcdir)/plugfuncs.h $(srcdir)/fsimext2.h
|