Correct function declaration to avoid warning.
[glibc/history.git] / catgets / Makefile
blob4646dd5a3f111add4e1d901a0d8dba4e911f0eef
1 # Copyright (C) 1996 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Library General Public License as
6 # published by the Free Software Foundation; either version 2 of the
7 # License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Library General Public License for more details.
14 # You should have received a copy of the GNU Library General Public
15 # License along with the GNU C Library; see the file COPYING.LIB. If
16 # not, write to the Free Software Foundation, Inc.,
17 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 # Makefile for catgets.
22 subdir := catgets
24 headers = nl_types.h
25 distribute = catgetsinfo.h config.h
26 routines = catgets open_catalog
27 others = gencat
28 install-bin = gencat
30 gencat-modules = xmalloc
32 # To find xmalloc.c
33 vpath %.c ../locale/programs
36 include ../Rules
38 $(objpfx)gencat: $(gencat-modules:%=$(objpfx)%.o)
40 CPPFLAGS := -DNLSPATH='"$(localedir)/%L/%N:$(localedir)/%L/LC_MESSAGES/%N:"' \
41 -DHAVE_CONFIG_H $(CPPFLAGS)