bd9313c6d56526c282b77589c08b6d15bd9ecbcf
1 # common makefile settings for userv-utils
3 # Copyright (C) 1999-2000,2003 Ian Jackson
5 # This is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with userv-utils; if not, write to the Free Software
17 # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 sharedir
= $(prefix)/share
29 docdir
= $(sharedir
)/doc
31 libuserv
= $(libdir)/userv
32 shareuserv
= $(sharedir
)/userv
34 varlibuserv
= $(varlib
)/userv
36 etcuserv
= $(etcdir
)/userv
37 services
= $(etcuserv
)/services.d
39 CFLAGS
= -Wall
-Wwrite-strings
-Wmissing-prototypes
-Wstrict-prototypes \
40 -Wpointer-arith
-D_GNU_SOURCE \
41 $(OPTIMISE
) $(DEBUG
) $(SUBDIR_CFLAGS
)
42 LDFLAGS
= $(SUBDIR_LDFLAGS
)