1 | ## Process this file with automake to produce Makefile.in |
---|
2 | |
---|
3 | # Makefile for survex support files |
---|
4 | |
---|
5 | check-local: |
---|
6 | srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files) |
---|
7 | |
---|
8 | SUBDIRS = icons |
---|
9 | |
---|
10 | msg_files = ca.msg de.msg de_CH.msg de_DE.msg en.msg en_US.msg\ |
---|
11 | es.msg fr.msg it.msg pt.msg pt_BR.msg sk.msg ro.msg zh.msg |
---|
12 | |
---|
13 | hdr_files = ca.h de.h de_CH.h de_DE.h en.h en_US.h\ |
---|
14 | es.h fr.h it.h pt.h pt_BR.h sk.h ro.h zh.h |
---|
15 | |
---|
16 | EXTRA_DIST = messages.txt\ |
---|
17 | named-entities.txt makemsgs.pl checkshortcut.pl\ |
---|
18 | $(hdr_files) survex.keys.in\ |
---|
19 | gentexfont.c TexFont.h\ |
---|
20 | INSTALL.OSX |
---|
21 | |
---|
22 | MAINTAINERCLEANFILES = $(msg_files) $(hdr_files) *.todo aven.txf |
---|
23 | |
---|
24 | dist_pkgdata_DATA = print.ini bcra3.svx bcra5.svx $(msg_files) aven.txf |
---|
25 | |
---|
26 | appsdir = $(datadir)/applications |
---|
27 | dist_apps_DATA = survex-aven.desktop survex-svxedit.desktop |
---|
28 | |
---|
29 | BUILT_SOURCES = defaultlang.h |
---|
30 | |
---|
31 | # BUILT_SOURCES are automatically removed by maintainer-clean, but we want it |
---|
32 | # removed by distclean |
---|
33 | DISTCLEANFILES = defaultlang.h |
---|
34 | |
---|
35 | $(msg_files) $(hdr_files): messages.txt makemsgs.pl |
---|
36 | srcdir=$(srcdir) LANG=C perl $(srcdir)/makemsgs.pl $(srcdir)/messages.txt |
---|
37 | |
---|
38 | defaultlang.h: |
---|
39 | -rm -f defaultlang.h |
---|
40 | ln -s $(srcdir)/$(DEFAULTLANG).h defaultlang.h |
---|
41 | |
---|
42 | mimedir = $(datadir)/mime-info |
---|
43 | dist_mime_DATA = survex.mime |
---|
44 | mime_DATA = survex.keys |
---|
45 | |
---|
46 | aven.txf: |
---|
47 | $(MAKE) gentexfont$(EXEEXT) |
---|
48 | ./gentexfont$(EXEEXT) -w 128 -h 128 -glist `perl -e 'for (33..126,160..255) {print chr $$_}'` -fn -*-helvetica-*-r-*-*-12-*-*-*-*-67-iso8859-1 -file aven.txf |
---|
49 | |
---|
50 | gentexfont$(EXEEXT): gentexfont.c TexFont.h |
---|
51 | $(CC) -o gentexfont$(EXEEXT) gentexfont.c @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ |
---|