1# Makefile for the second extended file system utility functions
2#
3# Copyright (C) 1993 Remy Card (card@masi.ibp.fr)
4#
5# This file can be redistributed under the terms of the GNU General
6# Public License
7
8srcdir = .
9top_srcdir = ../..
10
11top_builddir = ../..
12my_dir = lib/e2p
13INSTALL = /usr/bin/install -c
14
15# Beginning of file MCONFIG
16
17all::
18
19check::
20
21SHELL = /bin/sh
22
23COMPRESS_EXT = gz bz2 bz Z
24
25prefix = /usr
26root_prefix = 
27exec_prefix = ${prefix}
28root_bindir = ${root_prefix}/bin
29root_sbindir = ${root_prefix}/sbin
30root_libdir = ${root_prefix}/lib
31datarootdir = ${prefix}/share
32bindir = ${exec_prefix}/bin
33sbindir = ${exec_prefix}/sbin
34libdir = ${exec_prefix}/lib
35datadir= ${datarootdir}
36localedir = $(datadir)/locale
37root_sysconfdir= ${root_prefix}/etc
38includedir = ${prefix}/include
39mandir = ${datarootdir}/man
40man1dir = $(mandir)/man1
41man3dir = $(mandir)/man3
42man5dir = $(mandir)/man5
43man8dir = $(mandir)/man8
44infodir = ${datarootdir}/info
45datadir = ${datarootdir}
46
47
48
49CROSS_COMPILER = mipsel-linux-
50CC = $(CROSS_COMPILER)gcc
51BUILD_CC = $(CC)
52DEFS = -DLOCALEDIR=\"$(localedir)\" -DROOT_SYSCONFDIR=\"$(root_sysconfdir)\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_HTREE=1 -DENABLE_SWAPFS=1 -DTLS= -DUSE_UUIDD=1 -DPACKAGE=\"e2fsprogs\" -DVERSION=\"0.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64=1 -DHAVE_FTRUNCATE64=1 -DHAVE_STRTOULL=1 -DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1 -DHAVE_JRAND48=1 -DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1 -DHAVE_FDATASYNC=1 -DHAVE_STRNLEN=1 -DHAVE_STRPTIME=1 -DHAVE_STRDUP=1 -DHAVE_SYSCONF=1 -DHAVE_PATHCONF=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE___SECURE_GETENV=1 -DHAVE_PRCTL=1 -DHAVE_MMAP=1 -DHAVE_UTIME=1 -DHAVE_SETRESUID=1 -DHAVE_SETRESGID=1 -DHAVE_DLOPEN=1 -DHAVE_EXT2_IOCTLS=1
53CFLAGS = -g -O2
54CPPFLAGS =  -I$(top_builddir)/lib -I$(top_srcdir)/lib 
55INTL_FLAGS = 
56ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(USE_WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
57	$(INTL_FLAGS) $(LINUX_INCLUDE) 
58LDFLAGS = 
59ALL_LDFLAGS = $(LDFLAGS)
60BUILD_CFLAGS = -g -O2
61BUILD_LDFLAGS = 
62RM = /bin/rm
63LN = /bin/ln
64LN_S = ln -s
65MV = /bin/mv
66CP = /bin/cp
67CHMOD = /bin/chmod
68AR = $(CROSS_COMPILER)ar
69AWK = gawk
70SED = /bin/sed
71PERL = /usr/bin/perl
72RANLIB = $(CROSS_COMPILER)ranlib
73STRIP = $(CROSS_COMPILER)strip
74LD = $(PURE) $(CC)
75ARUPD = $(AR) r
76ARGEN = $(AR) rc
77LDCONFIG = /sbin/ldconfig
78INSTALL_PROGRAM = ${INSTALL}
79INSTALL_DATA = ${INSTALL} -m 644
80INSTALL_SCRIPT = ${INSTALL}
81MKINSTALLDIRS = $(top_builddir)/config/mkinstalldirs
82
83#
84# Library definitions
85#
86DEVMAPPER_LIBS = 
87STATIC_DEVMAPPER_LIBS = 
88
89LIB = $(top_builddir)/lib
90LIBSS = $(LIB)/libss.a
91LIBCOM_ERR = $(LIB)/libcom_err.a
92LIBE2P = $(LIB)/libe2p.a
93LIBEXT2FS = $(LIB)/libext2fs.a
94LIBUUID = $(LIB)/libuuid.a 
95LIBBLKID = $(LIB)/libblkid.a 
96LIBINTL = 
97DEPLIBUUID = $(LIB)/libuuid.a
98DEPLIBBLKID = $(LIB)/libblkid.a
99
100STATIC_LIBSS = $(LIB)/libss.a
101STATIC_LIBCOM_ERR = $(LIB)/libcom_err.a
102STATIC_LIBE2P = $(LIB)/libe2p.a
103STATIC_LIBEXT2FS = $(LIB)/libext2fs.a
104STATIC_LIBUUID = $(LIB)/libuuid.a  
105STATIC_LIBBLKID = $(LIB)/libblkid.a $(STATIC_DEVMAPPER_LIBS)
106DEPSTATIC_LIBUUID = $(LIB)/libuuid.a
107DEPSTATIC_LIBBLKID = $(LIB)/libblkid.a
108
109PROFILED_LIBSS = $(LIB)/libss
110PROFILED_LIBCOM_ERR = $(LIB)/libcom_err
111PROFILED_LIBE2P = $(LIB)/libe2p
112PROFILED_LIBEXT2FS = $(LIB)/libext2fs
113PROFILED_LIBUUID = $(LIB)/libuuid  
114PROFILED_LIBBLKID = $(LIB)/libblkid
115DEPPROFILED_LIBUUID = $(LIB)/libuuid
116DEPPROFILED_LIBBLKID = $(LIB)/libblkid
117
118# An include directive pointing to a directory holding enough linux-like
119# include files to satisfy some programs here
120LINUX_INCLUDE=
121
122#
123# A fast substitution command for fixing up man pages, shell scripts, etc.
124#
125SUBST_CONF=$(top_builddir)/util/subst.conf
126SUBSTITUTE= $(top_builddir)/util/subst -f $(SUBST_CONF)
127SUBSTITUTE_UPTIME= $(top_builddir)/util/subst -t -f $(SUBST_CONF)
128DEP_SUBSTITUTE= $(top_builddir)/util/subst $(SUBST_CONF)
129
130$(top_builddir)/util/subst:
131	cd $(top_builddir)/util ; $(MAKE) subst
132
133#
134# Warning flags
135#
136# Run make gcc-wall to do a build with warning messages.
137#
138#
139WFLAGS=		-std=c99 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE \
140			-pedantic $(WFLAGS_EXTRA) \
141			-Wall -W -Wwrite-strings -Wpointer-arith \
142			-Wcast-qual -Wcast-align -Wno-variadic-macros \
143			-Wstrict-prototypes -Wmissing-prototypes \
144			-Wformat-security  -Wformat-nonliteral \
145			-Wmissing-format-attribute -O2 -Wstrict-aliasing \
146			-Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
147			-UENABLE_NLS
148
149gcc-wall-new:
150	(make USE_WFLAGS="$(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup 
151
152gcc-wall:
153	make clean > /dev/null
154	make gcc-wall-new
155
156#
157# Installation user and groups
158#
159BINGRP=		bin
160BINOWN=		bin
161BINMODE=	555
162INCGRP=		bin
163INCOWN=		bin
164INCMODE=	444
165LIBOWN=		bin
166LIBGRP=		bin
167LIBMODE=	444
168MANGRP=		bin
169MANOWN=		bin
170MANMODE=	444
171
172#
173# Autoconf magic...
174#
175
176DEP_LIB_MAKEFILES = $(top_srcdir)/lib/Makefile.elf-lib  \
177	$(top_srcdir)/lib/Makefile.bsd-lib $(top_srcdir)/lib/Makefile.darwin-lib \
178	$(top_srcdir)/lib/Makefile.solaris-lib $(top_srcdir)/lib/Makefile.checker \
179	$(top_srcdir)/lib/Makefile.profile
180
181$(top_builddir)/config.status: $(top_srcdir)/configure
182	cd $(top_builddir); ./config.status --recheck
183
184$(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
185	cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status
186
187$(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
188		$(top_builddir)/config.status
189	cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status
190
191$(top_builddir)/util/subst.conf: $(top_srcdir)/util/subst.conf.in \
192		$(top_builddir)/config.status
193	cd $(top_builddir); CONFIG_FILES=util/subst.conf ./config.status
194
195Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
196		$(DEP_MAKEFILE) $(top_builddir)/config.status
197	cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status
198
199#$(top_srcdir)/configure: $(top_srcdir)/configure.in
200#	cd $(top_srcdir) && autoconf
201
202#
203# Make depend magic...
204#
205
206.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed $(top_srcdir)/wordwrap.pl
207	if test -n "$(SRCS)" ; then \
208		$(CC) -M $(ALL_CFLAGS) $(SRCS) | \
209			$(SED) -f $(top_srcdir)/depfix.sed \
210			    -e 's; $(srcdir)/; $$(srcdir)/;g' \
211			    -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
212			    -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
213			    -e 's; \./; ;g' \
214			    -e '/^#/d' \
215			    -e '/^ *\\$$/d' | \
216			$(PERL) $(top_srcdir)/wordwrap.pl > .depend; \
217	else :; fi
218
219depend:: .depend
220	if test -n "$(SRCS)" ; then \
221		sed -e '/^# +++ Dependency line eater +++/,$$d' \
222			< $(srcdir)/Makefile.in | cat - .depend \
223			> $(srcdir)/Makefile.in.new; \
224	if cmp -s $(srcdir)/Makefile.in $(srcdir)/Makefile.in.new ; then \
225		$(RM) $(srcdir)/Makefile.in.new ; \
226	else \
227		$(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
228		$(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
229	fi ; else :; fi
230
231# End of file MCONFIG
232
233all::	e2p.pc
234
235OBJS=		feature.o fgetflags.o fsetflags.o fgetversion.o fsetversion.o \
236		getflags.o getversion.o hashstr.o iod.o ls.o mntopts.o \
237		parse_num.o pe.o pf.o ps.o setflags.o setversion.o uuid.o \
238		ostype.o percent.o
239
240SRCS=		$(srcdir)/feature.c $(srcdir)/fgetflags.c \
241		$(srcdir)/fsetflags.c $(srcdir)/fgetversion.c \
242		$(srcdir)/fsetversion.c $(srcdir)/getflags.c \
243		$(srcdir)/getversion.c $(srcdir)/hashstr.c $(srcdir)/iod.c \
244		$(srcdir)/ls.c $(srcdir)/mntopts.c $(srcdir)/parse_num.c \
245		$(srcdir)/pe.c $(srcdir)/pf.c $(srcdir)/ps.c \
246		$(srcdir)/setflags.c $(srcdir)/setversion.c $(srcdir)/uuid.c \
247		$(srcdir)/ostype.c $(srcdir)/percent.o
248HFILES= e2p.h
249
250LIBRARY= libe2p
251LIBDIR= e2p
252
253ELF_VERSION = 2.3
254ELF_SO_VERSION = 2
255ELF_IMAGE = libe2p
256ELF_MYDIR = e2p
257ELF_INSTALL_DIR = $(root_libdir)
258ELF_OTHER_LIBS =
259
260BSDLIB_VERSION = 2.1
261BSDLIB_IMAGE = libe2p
262BSDLIB_MYDIR = e2p
263BSDLIB_INSTALL_DIR = $(root_libdir)
264
265all:: subdirs $(LIBRARY).a
266
267install-shlibs::
268
269uninstall-shlibs::
270
271real-subdirs::
272
273subdirs:: Makefile
274	@$(MAKE) -s real-subdirs
275	@touch subdirs
276
277clean::
278	@$(RM) -f subdirs
279
280$(LIBRARY).a: $(OBJS)
281	@echo "	GEN_LIB $@"
282	@(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
283	@$(ARGEN) $@ $(OBJS)
284	-@$(RANLIB) $@
285	@$(RM) -f ../$@
286	@$(LN) $@ ../$@
287
288
289.c.o:
290	@echo "	CC $<"
291	@$(CC) $(ALL_CFLAGS) -c $< -o $@
292#	@$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
293#	@$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
294#	@$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
295#	@$(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c $<
296
297e2p.pc: $(srcdir)/e2p.pc.in $(top_builddir)/config.status
298	@echo "	CONFIG.STATUS $@"
299	@cd $(top_builddir); CONFIG_FILES=lib/e2p/e2p.pc ./config.status
300
301tst_ostype: $(srcdir)/ostype.c
302	@echo "	LD $@"
303	@$(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_ostype \
304		$(srcdir)/ostype.c $(ALL_CFLAGS)
305
306check::	tst_ostype
307	./tst_ostype
308
309installdirs::
310	@echo "	MKINSTALLDIRS $(libdir) $(includedir)/e2p"
311	@$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
312		$(DESTDIR)$(includedir)/e2p $(DESTDIR)$(libdir)/pkgconfig
313
314install:: all installdirs 
315	@echo "	INSTALL_DATA $(libdir)/libe2p.a"
316	@$(INSTALL_DATA) libe2p.a $(DESTDIR)$(libdir)/libe2p.a
317	@-$(RANLIB) $(DESTDIR)$(libdir)/libe2p.a
318	@$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libe2p.a
319	@set -e; for i in $(HFILES); do \
320	  echo "	INSTALL_DATA $(includedir)/e2p/$$i"; \
321	  $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/e2p/$$i; \
322	done
323	@echo "	INSTALL_DATA $(libdir)/pkgconfig/e2p.pc"
324	@$(INSTALL_DATA) e2p.pc $(DESTDIR)$(libdir)/pkgconfig/e2p.pc
325
326uninstall::
327	$(RM) -f $(DESTDIR)$(libdir)/libe2p.a \
328		$(DESTDIR)$(libdir)/pkgconfig/e2p.pc
329	$(RM) -rf $(DESTDIR)$(includedir)/e2p
330
331clean::
332	$(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
333	$(RM) -f ../libe2p.a ../libe2p_p.a tst_ostype
334
335mostlyclean:: clean
336distclean:: clean
337	$(RM) -f .depend Makefile e2p.pc \
338		$(srcdir)/TAGS $(srcdir)/Makefile.in.old
339
340$(OBJS): subdirs
341
342# +++ Dependency line eater +++
343# 
344# Makefile dependencies follow.  This must be the last section in
345# the Makefile.in file
346#
347feature.o: $(srcdir)/feature.c $(srcdir)/e2p.h \
348 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
349fgetflags.o: $(srcdir)/fgetflags.c $(srcdir)/e2p.h \
350 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
351fsetflags.o: $(srcdir)/fsetflags.c $(srcdir)/e2p.h \
352 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
353fgetversion.o: $(srcdir)/fgetversion.c $(srcdir)/e2p.h \
354 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
355fsetversion.o: $(srcdir)/fsetversion.c $(srcdir)/e2p.h \
356 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
357getflags.o: $(srcdir)/getflags.c $(srcdir)/e2p.h \
358 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
359getversion.o: $(srcdir)/getversion.c $(srcdir)/e2p.h \
360 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
361hashstr.o: $(srcdir)/hashstr.c $(srcdir)/e2p.h \
362 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
363iod.o: $(srcdir)/iod.c $(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
364 $(top_builddir)/lib/ext2fs/ext2_types.h
365ls.o: $(srcdir)/ls.c $(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
366 $(top_builddir)/lib/ext2fs/ext2_types.h
367mntopts.o: $(srcdir)/mntopts.c $(srcdir)/e2p.h \
368 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
369parse_num.o: $(srcdir)/parse_num.c $(srcdir)/e2p.h \
370 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
371pe.o: $(srcdir)/pe.c $(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
372 $(top_builddir)/lib/ext2fs/ext2_types.h
373pf.o: $(srcdir)/pf.c $(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
374 $(top_builddir)/lib/ext2fs/ext2_types.h
375ps.o: $(srcdir)/ps.c $(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
376 $(top_builddir)/lib/ext2fs/ext2_types.h
377setflags.o: $(srcdir)/setflags.c $(srcdir)/e2p.h \
378 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
379setversion.o: $(srcdir)/setversion.c $(srcdir)/e2p.h \
380 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
381uuid.o: $(srcdir)/uuid.c $(top_builddir)/lib/ext2fs/ext2_types.h \
382 $(srcdir)/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h
383ostype.o: $(srcdir)/ostype.c $(srcdir)/e2p.h \
384 $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h
385