]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - MCONFIG.in
ADD TAG: E2FSPROGS-1_03
[thirdparty/e2fsprogs.git] / MCONFIG.in
CommitLineData
50e1e10f
TT
1# Beginning of file MCONFIG
2
3SHELL = /bin/sh
4
5prefix = @prefix@
6exec_prefix = @exec_prefix@
7usr_prefix = @usr_prefix@
8bindir = $(exec_prefix)/bin
9ubindir = $(usr_prefix)/bin
10sbindir = $(exec_prefix)/sbin
11usbindir = $(usr_prefix)/sbin
12libdir = $(exec_prefix)/lib
13ulibdir = $(usr_prefix)/lib
14includedir = $(usr_prefix)/include
15mandir = $(usr_prefix)/man
16man1dir = $(usr_prefix)/man/man1
17man8dir = $(usr_prefix)/man/man8
18cat1dir = $(usr_prefix)/man/cat1
19cat8dir = $(usr_prefix)/man/cat8
20
21@SET_MAKE@
22
23INSTALL_PROGRAM = @INSTALL_PROGRAM@
24INSTALL_DATA = @INSTALL_DATA@
25CC = @CC@
26DEFS = @DEFS@
27LIBS = @LIBS@
74becf3c
TT
28CFLAGS = @CFLAGS@
29ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
50e1e10f
TT
30 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
31LDFLAGS = @LDFLAGS@
74becf3c 32ALL_LDFLAGS = $(LDFLAGS)
50e1e10f
TT
33RM = @RM@
34LN = @LN@
35MV = @MV@
36CP = @CP@
37CHMOD = @CHMOD@
38AR = @AR@
39AWK = @AWK@
40SED = @SED@
41RANLIB = @RANLIB@
42STRIP = @STRIP@
43LD = $(PURE) @CC@
44ARUPD = $(AR) r
45
46#
47# Use these definitions is you use tools 2.x, x < 16
48#
49#DLL_BIN=/usr/dll/bin
50#JUMP_PREFIX=/usr/dll/jump/
51
52#
53# Use these definitions if you use tools 2.16 or above
54#
55DLL_BIN=/usr/bin
56JUMP_PREFIX=/usr/bin/jump
57
58# An include directive pointing to a directory holding enough linux-like
59# include files to satisfy some programs here
60LINUX_INCLUDE=@LINUX_INCLUDE@
61
62#
63# Warning flags
64#
65# Uncomment WFLAGS if you want really anal GCC warning messages
66#
67#
68@W@WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
69@W@ -Wall -Wwrite-strings -Wpointer-arith \
70@W@ -Wcast-qual -Wenum-clash -Wcast-align -Wtraditional \
71@W@ -Wstrict-prototypes -Wmissing-prototypes \
72@W@ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
73
74#
75# Installation user and groups
76#
77BINGRP= bin
78BINOWN= bin
79BINMODE= 555
80INCGRP= bin
81INCOWN= bin
82INCMODE= 444
83LIBOWN= bin
84LIBGRP= bin
85LIBMODE= 444
86MANGRP= bin
87MANOWN= bin
88MANMODE= 444
89
90all::
91
92#
93# Make depend magic...
94#
95
96.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
97 if test -n "$(SRCS)" ; then \
74becf3c 98 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
50e1e10f
TT
99 sed -f $(top_srcdir)/depfix.sed | \
100 sed -e 's; $(srcdir)/; $$(srcdir)/;g' | \
101 sed -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' | \
102 sed -e 's; $(top_builddir)/; $$(top_builddir)/;g' | \
103 sed -e 's; \./; ;g' | \
104 grep -v " \\\\$$" > .depend; \
105 else :; fi
106
107depend:: .depend
108 if test -n "$(SRCS)" ; then \
109 sed -e '/^# +++ Dependency line eater +++/,$$d' \
110 < $(srcdir)/Makefile.in | cat - .depend \
111 > $(srcdir)/Makefile.in.new; \
112 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
113 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
114 else :; fi
115
116
117
118
119
120# End of file MCONFIG