| 1 |
## Copyright (C) 2000 Roger Leigh |
| 2 |
## |
| 3 |
## This program is free software; you can redistribute it and/or modify |
| 4 |
## it under the terms of the GNU General Public License as published by |
| 5 |
## the Free Software Foundation; either version 2, or (at your option) |
| 6 |
## any later version. |
| 7 |
## |
| 8 |
## This program is distributed in the hope that it will be useful, |
| 9 |
## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
## GNU General Public License for more details. |
| 12 |
## |
| 13 |
## You should have received a copy of the GNU General Public License |
| 14 |
## along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 15 |
|
| 16 |
## Process this file with automake to produce Makefile.in. |
| 17 |
|
| 18 |
@SET_MAKE@ |
| 19 |
|
| 20 |
include $(top_srcdir)/scripts/global.mk |
| 21 |
|
| 22 |
|
| 23 |
pkgincludedir = $(includedir)/gutenprintui2 |
| 24 |
|
| 25 |
|
| 26 |
## Data |
| 27 |
|
| 28 |
stpui_public_h_sources = \ |
| 29 |
gutenprintui.h \ |
| 30 |
curve.h \ |
| 31 |
gammacurve.h |
| 32 |
|
| 33 |
stpui_built_public_sources = \ |
| 34 |
typebuiltins.h |
| 35 |
|
| 36 |
if BUILD_LIBGUTENPRINTUI2 |
| 37 |
pkginclude_HEADERS = \ |
| 38 |
$(stpui_public_h_sources) \ |
| 39 |
$(stpui_built_public_sources) |
| 40 |
endif |
| 41 |
|
| 42 |
## Rules |
| 43 |
|
| 44 |
if MAINTAINER_MODE |
| 45 |
typebuiltins_extra_deps = Makefile |
| 46 |
endif |
| 47 |
|
| 48 |
$(srcdir)/typebuiltins.h: $(stpui_public_h_sources) $(typebuiltins_extra_deps) |
| 49 |
( cd $(srcdir) && $(GLIB_MKENUMS) \ |
| 50 |
--fhead "#ifndef GUTENPRINTUI_TYPE_BUILTINS_H\n#define GUTENPRINTUI_TYPE_BUILTINS_H\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ |
| 51 |
--fprod "/* enumerations from \"@filename@\" */\n" \ |
| 52 |
--vhead "GType @enum_name@_get_type (void);\n#define STPUI_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ |
| 53 |
--ftail "G_END_DECLS\n\n#endif /* GUTENPRINTUI_TYPE_BUILTINS_H */" \ |
| 54 |
$(stpui_public_h_sources) ) > [email protected] |
| 55 |
mv [email protected] $@ |
| 56 |
|
| 57 |
|
| 58 |
## Clean |
| 59 |
|
| 60 |
MAINTAINERCLEANFILES = Makefile.in typebuiltins.h typebuiltins.h.tmp |