automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: on Windows, BUILT_SOURCES does not append .exe


From: Ralf Wildenhues
Subject: Re: on Windows, BUILT_SOURCES does not append .exe
Date: Sun, 21 Nov 2010 23:27:06 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Vincent Torri wrote on Sun, Nov 21, 2010 at 11:14:23PM CET:
> noinst_PROGRAMS = cmapdump
> cmapdump_SOURCES = mupdf-0.7/mupdf/cmapdump.c
> 
> noinst_LTLIBRARIES = libfitz.la libdraw.la libcmaps.la libfonts.la libmupdf.la

> cmap_tounicode_files = \
> mupdf-0.7/cmaps/Adobe-CNS1-UCS2 \
[...]

> libcmaps_la_SOURCES = cmap_tounicode.c
> cmap_tounicode.c: cmapdump $(cmap_tounicode_files)
>       ./cmapdump $@ $(cmap_tounicode_files)
> 
> If I don't use BUILT_SOURCES, cmapdump binary is not built before
> libcmaps, hence cmap_tounicode.c is not created, and compilation of
> libcmaps fails.
> 
> Is there another solution ?

Yes: just specify cmapdump$(EXEEXT) as prerequisite to cmap_tounicode.c.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]