~csurbhi/ubuntu/maverick/e2fsprogs/e2fsprogs.fix-505719

« back to all changes in this revision

Viewing changes to lib/et/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-09-19 09:43:14 UTC
  • mto: (8.1.1 lenny) (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040919094314-2tafd19i76fhu6ei
Tags: upstream-1.35
ImportĀ upstreamĀ versionĀ 1.35

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
all:: compile_et
17
17
 
18
 
OBJS= error_message.o et_name.o init_et.o com_err.o
 
18
OBJS= error_message.o et_name.o init_et.o com_err.o com_right.o
19
19
SRCS = $(srcdir)/error_message.c $(srcdir)/et_name.c $(srcdir)/init_et.c \
20
 
        $(srcdir)/com_err.c
 
20
        $(srcdir)/com_err.c $(srcdir)/com_right.c
21
21
 
22
22
HFILES= com_err.h
23
23
SHARE_FILES= et_c.awk et_h.awk
28
28
DLL_ADDRESS = 0x66800000
29
29
DLL_JUMPSIZE = 0x1000
30
30
DLL_GOTSIZE  = 0x1000
31
 
DLL_VERSION = 1.0
 
31
DLL_VERSION = 1.1
32
32
DLL_IMAGE = libet
33
33
DLL_STUB = libcom_err
34
34
DLL_MYDIR = et
35
35
DLL_INSTALL_DIR = $(root_libdir)
36
36
 
37
 
ELF_VERSION = 2.0
 
37
ELF_VERSION = 2.1
38
38
ELF_SO_VERSION = 2
39
39
ELF_IMAGE = libcom_err
40
40
ELF_MYDIR = et
41
41
ELF_INSTALL_DIR = $(root_libdir)
42
42
ELF_OTHER_LIBS = 
43
43
 
44
 
BSDLIB_VERSION = 1.0
 
44
BSDLIB_VERSION = 1.1
45
45
BSDLIB_IMAGE = libcom_err
46
46
BSDLIB_MYDIR = et
47
47
BSDLIB_INSTALL_DIR = $(root_libdir)
106
106
                        $(DESTDIR)$(bindir)/compile_et
107
107
        $(RM) -rf $(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et
108
108
 
 
109
check:: compile_et
 
110
        for i in $(srcdir)/test_cases/*.et ; do \
 
111
                t=`basename $$i | sed -e 's/.et//'`; \
 
112
                ./compile_et --build-tree $$i ; \
 
113
                diff -c $(srcdir)/test_cases/$$t.c $$t.c > $$t.failed; \
 
114
                if [ $$? -ne 0 ]; then echo Test case $$t failed; exit 1 ; fi ; \
 
115
                diff -c $(srcdir)/test_cases/$$t.h $$t.h >> $$t.failed; \
 
116
                if [ $$? -ne 0 ]; then echo Test case $$t failed; exit 1 ; fi ; \
 
117
                $(RM) -f $$t.c $$t.h $$t.failed; \
 
118
                echo "Test case $$t succeeded" ; \
 
119
        done
 
120
 
109
121
clean::
110
 
        $(RM) -f compile_et libcom_err.a libcom_err_p.a
 
122
        $(RM) -f compile_et libcom_err.a libcom_err_p.a com_err.info
111
123
        $(RM) -f $(OBJS) profiled/*
112
124
        $(RM) -f *~ \#* *.bak *.otl *.aux *.toc *.PS *.dvi *.ps TAGS *.ln
113
125
        $(RM) -f ../libcom_err.a ../libcom_err_p.a
 
126
 
114
127
mostlyclean:: clean
115
128
distclean:: clean
116
129
        $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
127
140
init_et.o: $(srcdir)/init_et.c $(srcdir)/com_err.h $(srcdir)/error_table.h
128
141
com_err.o: $(srcdir)/com_err.c $(srcdir)/com_err.h $(srcdir)/error_table.h \
129
142
 $(srcdir)/internal.h
 
143
com_right.o: $(srcdir)/com_right.c $(srcdir)/com_err.h \
 
144
 $(srcdir)/error_table.h