]> git.donarmstrong.com Git - lilypond.git/blob - intl/GNUmakefile
patch::: 1.1.30.jcn1: make fixjes
[lilypond.git] / intl / GNUmakefile
1 # intl/GNUmakefile
2
3 depth = ..
4 NAME = intl
5
6 SED_FILES = $(wildcard *.sed)
7
8 # should be set by configure...
9 URG_DEFINES = -DGNULOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(localedir):\"
10 EXTRA_CFLAGS = -I. $(URG_DEFINES)
11
12 EXTRA_DIST_FILES = Makefile.in.dist cat-compat.c.dist ChangeLog $(SED_FILES)
13
14 ifeq ($(strip $(LIBINTL)),)
15 STEPMAKE_TEMPLATES=c
16 else
17 STEPMAKE_TEMPLATES=c library install-library
18 endif
19
20 # catch default targets: don't make, install etc.
21 default: $(outdir)
22         @echo "*** To install libintl type 'make lib; make install-lib' ***"
23
24 $(outdir)/library.a:
25         @echo "*** To install libintl type 'make lib; make install-lib' ***"
26
27 localinstall: $(outdir)
28         @echo "*** To install libintl type 'make lib; make install-lib' ***"
29
30 localuninstall: $(outdir)
31         @echo "*** To uninstall libintl type 'make uninstall-lib' ***"
32
33 include $(depth)/make/stepmake.make
34
35
36 # deferred targets
37 lib:
38         $(MAKE) LIBINTL=yes all
39
40 install-lib: $(LIBRARY)
41         $(MAKE) LIBINTL=yes localinstall
42
43 uninstall-lib:
44         $(MAKE) LIBINTL=yes localuninstall
45