| 1 | ## Process this file with automake to produce Makefile.in |
|---|
| 2 | |
|---|
| 3 | # Makefile for survex support files |
|---|
| 4 | |
|---|
| 5 | check-local: |
|---|
| 6 | srcdir=$(srcdir) 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 = bcra3.svx bcra5.svx messages.txt default.txt bold.txt print.ini\ |
|---|
| 17 | named-entities.txt makefont.pl makemsgs.pl checkshortcut.pl\ |
|---|
| 18 | $(msg_files) default.bit bold.bit $(hdr_files) survex.mime survex.keys.in\ |
|---|
| 19 | aven.txf gentexfont.c TexFont.h\ |
|---|
| 20 | INSTALL.OSX |
|---|
| 21 | |
|---|
| 22 | MAINTAINERCLEANFILES = $(msg_files) $(hdr_files) default.bit bold.bit\ |
|---|
| 23 | *.todo aven.txf |
|---|
| 24 | |
|---|
| 25 | pkgdata_DATA = default.bit bold.bit print.ini bcra3.svx bcra5.svx\ |
|---|
| 26 | $(msg_files) aven.txf |
|---|
| 27 | |
|---|
| 28 | BUILT_SOURCES = defaultlang.h |
|---|
| 29 | |
|---|
| 30 | # BUILT_SOURCES are automatically removed by maintainer-clean, but we want it |
|---|
| 31 | # removed by distclean |
|---|
| 32 | DISTCLEANFILES = defaultlang.h |
|---|
| 33 | |
|---|
| 34 | $(msg_files) $(hdr_files): messages.txt makemsgs.pl |
|---|
| 35 | srcdir=$(srcdir) perl $(srcdir)/makemsgs.pl $(srcdir)/messages.txt |
|---|
| 36 | |
|---|
| 37 | defaultlang.h: |
|---|
| 38 | -rm -f defaultlang.h |
|---|
| 39 | ln -s $(srcdir)/$(DEFAULTLANG).h defaultlang.h |
|---|
| 40 | |
|---|
| 41 | default.bit: default.txt makefont.pl |
|---|
| 42 | perl makefont.pl default.txt default.bit |
|---|
| 43 | |
|---|
| 44 | bold.bit: bold.txt makefont.pl |
|---|
| 45 | perl makefont.pl bold.txt bold.bit |
|---|
| 46 | |
|---|
| 47 | mimedir = $(datadir)/mime-info |
|---|
| 48 | mime_DATA = survex.mime survex.keys |
|---|
| 49 | |
|---|
| 50 | aven.txf: |
|---|
| 51 | $(MAKE) gentexfont$(EXEEXT) |
|---|
| 52 | ./gentexfont$(EXEEXT) -w 128 -h 128 -glist `perl -e 'for (33..126,160..255) {print chr $$_}'` -fn -misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-1 -file aven.txf |
|---|
| 53 | |
|---|
| 54 | gentexfont$(EXEEXT): gentexfont.c TexFont.h |
|---|
| 55 | $(CC) -o gentexfont$(EXEEXT) gentexfont.c -L/usr/X11R6/lib -lX11 |
|---|