]>
Commit | Line | Data |
---|---|---|
50e1e10f TT |
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@ | |
74becf3c TT |
28 | CFLAGS = @CFLAGS@ |
29 | ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \ | |
50e1e10f TT |
30 | -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE) |
31 | LDFLAGS = @LDFLAGS@ | |
74becf3c | 32 | ALL_LDFLAGS = $(LDFLAGS) |
50e1e10f TT |
33 | RM = @RM@ |
34 | LN = @LN@ | |
35 | MV = @MV@ | |
36 | CP = @CP@ | |
37 | CHMOD = @CHMOD@ | |
38 | AR = @AR@ | |
39 | AWK = @AWK@ | |
40 | SED = @SED@ | |
41 | RANLIB = @RANLIB@ | |
42 | STRIP = @STRIP@ | |
43 | LD = $(PURE) @CC@ | |
44 | ARUPD = $(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 | # | |
55 | DLL_BIN=/usr/bin | |
56 | JUMP_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 | |
60 | LINUX_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 | # | |
77 | BINGRP= bin | |
78 | BINOWN= bin | |
79 | BINMODE= 555 | |
80 | INCGRP= bin | |
81 | INCOWN= bin | |
82 | INCMODE= 444 | |
83 | LIBOWN= bin | |
84 | LIBGRP= bin | |
85 | LIBMODE= 444 | |
86 | MANGRP= bin | |
87 | MANOWN= bin | |
88 | MANMODE= 444 | |
89 | ||
90 | all:: | |
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 | ||
107 | depend:: .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 |