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