blob: 1d02cd2bc7e7f36d77d371d623b341ed1c851426 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001# 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@
28CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) @CFLAGS@ $(XTRA_CFLAGS) \
29 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
30LDFLAGS = @LDFLAGS@
31RM = @RM@
32LN = @LN@
33MV = @MV@
34CP = @CP@
35CHMOD = @CHMOD@
36AR = @AR@
37AWK = @AWK@
38SED = @SED@
39RANLIB = @RANLIB@
40STRIP = @STRIP@
41LD = $(PURE) @CC@
42ARUPD = $(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#
53DLL_BIN=/usr/bin
54JUMP_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
58LINUX_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#
75BINGRP= bin
76BINOWN= bin
77BINMODE= 555
78INCGRP= bin
79INCOWN= bin
80INCMODE= 444
81LIBOWN= bin
82LIBGRP= bin
83LIBMODE= 444
84MANGRP= bin
85MANOWN= bin
86MANMODE= 444
87
88all::
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
105depend:: .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