source: project/chicken/branches/hygienic/defaults.make @ 10657

Last change on this file since 10657 was 10657, checked in by felix winkelmann, 13 years ago

dist target fixes

File size: 13.4 KB
Line 
1# defaults.make - default settings -*- Makefile -*-
2#
3# Copyright (c) 2007, Felix L. Winkelmann
4# Copyright (c) 2008, The Chicken Team
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
8# conditions are met:
9#
10#   Redistributions of source code must retain the above copyright notice, this list of conditions and the following
11#     disclaimer.
12#   Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
13#     disclaimer in the documentation and/or other materials provided with the distribution.
14#   Neither the name of the author nor the names of its contributors may be used to endorse or promote
15#     products derived from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
18# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
19# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
20# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25# POSSIBILITY OF SUCH DAMAGE.
26
27
28# basic parameters
29
30BINARYVERSION = 4
31STACKDIRECTION ?= 1
32CROSS_CHICKEN ?= 0
33
34ifeq ($(ARCH),x86-64)
35NURSERY ?= (256*1024)
36else
37NURSERY ?= (128*1024)
38endif
39
40# directories
41
42DESTDIR =
43ifeq ($(PLATFORM),mingw-msys)
44PREFIX ?= c:/devtools
45else
46ifeq ($(PLATFORM),mingw)
47PREFIX ?= c:/devtools
48else
49PREFIX ?= /usr/local
50endif
51endif
52
53BINDIR = $(PREFIX)/bin
54LIBDIR = $(PREFIX)/lib
55SHAREDIR = $(PREFIX)/share
56DATADIR = $(SHAREDIR)/chicken
57TOPMANDIR = $(SHAREDIR)/man
58MANDIR = $(TOPMANDIR)/man1
59INFODIR = $(SHAREDIR)/info
60INCDIR = $(PREFIX)/include
61DOCDIR = $(DATADIR)/doc
62CHICKENLIBDIR = $(LIBDIR)/chicken
63EGGDIR = $(CHICKENLIBDIR)/$(BINARYVERSION)
64
65ifeq ($(PLATFORM),mingw)
66BINDIR = $(PREFIX)\\bin
67LIBDIR = $(PREFIX)\\lib
68SHAREDIR = $(PREFIX)\\share
69DATADIR = $(SHAREDIR)\\chicken
70TOPMANDIR = $(SHAREDIR)\\man
71MANDIR = $(TOPMANDIR)\\man1
72INFODIR = $(SHAREDIR)\\info
73INCDIR = $(PREFIX)\\include
74DOCDIR = $(DATADIR)\\doc
75CHICKENLIBDIR = $(LIBDIR)\\chicken
76EGGDIR = $(CHICKENLIBDIR)\\$(BINARYVERSION)
77else
78IBINDIR = $(BINDIR)
79ILIBDIR = $(LIBDIR)
80ISHAREDIR = $(SHAREDIR)
81IDATADIR = $(DATADIR)
82ITOPMANDIR = $(TOPMANDIR)
83IMANDIR = $(MANDIR)
84IINFODIR = $(INFODIR)
85IINCDIR = $(INCDIR)
86IDOCDIR = $(DOCDIR)
87ICHICKENLIBDIR = $(CHICKENLIBDIR)
88IEGGDIR = $(EGGDIR)
89endif
90
91# commands
92
93ifdef HOSTSYSTEM
94C_COMPILER ?= $(HOSTSYSTEM)-gcc
95CXX_COMPILER ?= $(HOSTSYSTEM)-g++
96LIBRARIAN ?= $(HOSTSYSTEM)-ar
97else
98C_COMPILER ?= gcc
99CXX_COMPILER ?= g++
100LIBRARIAN ?= ar
101endif
102LINKER ?= $(C_COMPILER)
103ifeq ($(PLATFORM),mingw)
104REMOVE_COMMAND ?= del
105else
106REMOVE_COMMAND ?= rm
107endif
108ASSEMBLER ?= $(C_COMPILER)
109MAKEINFO_PROGRAM ?= -makeinfo
110ifeq ($(PLATFORM),mingw)
111INSTALL_PROGRAM ?= copy
112MAKEDIR_COMMAND ?= -mkdir
113else
114INSTALL_PROGRAM ?= install
115MAKEDIR_COMMAND ?= mkdir
116endif
117POSTINSTALL_STATIC_LIBRARY ?= true
118POSTINSTALL_PROGRAM ?= true
119INSTALLINFO_PROGRAM ?= -install-info
120UNINSTALLINFO_PROGRAM ?= -install-info
121
122# target variables
123
124ifdef TARGETSYSTEM
125TARGET_C_COMPILER ?= $(TARGETSYSTEM)-$(C_COMPILER)
126TARGET_CXX_COMPILER ?= $(TARGETSYSTEM)-$(CXX_COMPILER)
127else
128TARGET_C_COMPILER ?= $(C_COMPILER)
129TARGET_CXX_COMPILER ?= $(CXX_COMPILER)
130endif
131
132TARGET_C_COMPILER_OPTIONS ?= $(C_COMPILER_OPTIONS)
133TARGET_C_COMPILER_OPTIMIZATION_OPTIONS ?= $(C_COMPILER_OPTIMIZATION_OPTIONS)
134TARGET_PREFIX ?= $(PREFIX)
135TARGET_RUN_PREFIX ?= $(TARGET_PREFIX)
136TARGET_LIBRARIES ?= $(LIBRARIES)
137TARGET_LINKER_OPTIONS ?= $(LINKER_OPTIONS)
138
139ifneq ($(TARGET_C_COMPILER),$(C_COMPILER))
140CROSS_CHICKEN = 1
141else
142CROSS_CHICKEN = 0
143endif
144
145
146# options
147
148ifneq ($(USE_HOST_PCRE),)
149LIBRARIES += -lpcre
150PCRE_INCLUDES =
151C_COMPILER_PCRE_OPTIONS =
152PCRE_OBJECTS_1 =
153else
154C_COMPILER_PCRE_OPTIONS = -DPCRE_STATIC
155PCRE_INCLUDES = $(INCLUDES) -Ipcre
156endif
157ifndef NOPTABLES
158C_COMPILER_PTABLES_OPTIONS ?= -DC_ENABLE_PTABLES
159endif
160INCLUDES ?= -I.
161C_COMPILER_COMPILE_OPTION ?= -c
162C_COMPILER_OUTPUT_OPTION ?= -o
163C_COMPILER_OUTPUT ?= $(C_COMPILER_OUTPUT_OPTION) $@
164
165ifdef DEBUGBUILD
166C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
167endif
168C_COMPILER_BUILD_RUNTIME_OPTIONS ?= -DC_BUILDING_LIBCHICKEN
169C_COMPILER_BUILD_UNSAFE_RUNTIME_OPTIONS ?= $(C_COMPILER_BUILD_RUNTIME_OPTIONS) -DNDEBUG -DC_UNSAFE_RUNTIME
170C_COMPILER_SHARED_OPTIONS ?= -fPIC -DPIC
171LINKER_EXECUTABLE_OPTIONS ?= -L.
172LINKER_STATIC_OPTIONS ?= $(LINKER_EXECUTABLE_OPTIONS)
173LINKER_OUTPUT_OPTION ?= -o
174LINKER_OUTPUT ?= $(LINKER_OUTPUT_OPTION) $@
175LINKER_LIBRARY_OPTION ?= -l
176ifdef STATICBUILD
177LINKER_LIBRARY_PREFIX ?= lib
178LINKER_LIBRARY_SUFFIX ?= .a
179else
180LINKER_LIBRARY_PREFIX ?= -l
181LINKER_LIBRARY_SUFFIX ?= 
182endif
183LINKER_LINK_SHARED_LIBRARY_OPTIONS ?= -shared
184LIBRARIAN_OPTIONS ?= cru
185LIBRARIAN_OUTPUT_OPTION ?=
186LIBRARIAN_OUTPUT ?= $(LIBRARIAN_OUTPUT_OPTION) $@
187LIBRARIES ?= -lm
188ifeq ($(PLATFORM),mingw)
189REMOVE_COMMAND_OPTIONS ?= /f /q
190REMOVE_COMMAND_RECURSIVE_OPTIONS ?= /f /s /q
191MAKE_WRITABLE_COMMAND ?= rem
192else
193REMOVE_COMMAND_OPTIONS ?= -f
194REMOVE_COMMAND_RECURSIVE_OPTIONS ?= -fr
195MAKE_WRITABLE_COMMAND ?= chmod a+rw
196endif
197MAKEINFO_PROGRAM_OPTIONS ?= --no-split
198ifneq ($(PLATFORM),mingw)
199INSTALL_PROGRAM_SHARED_LIBRARY_OPTIONS ?= -m755
200INSTALL_PROGRAM_STATIC_LIBRARY_OPTIONS ?= -m644
201INSTALL_PROGRAM_EXECUTABLE_OPTIONS ?= -m755
202INSTALL_PROGRAM_FILE_OPTIONS ?= -m644
203MAKEDIR_COMMAND_OPTIONS ?= -p
204endif
205ASSEMBLER_OPTIONS ?= $(C_COMPILER_OPTIONS)
206ASSEMBLER_OUTPUT_OPTION ?= -o
207ASSEMBLER_OUTPUT ?= $(ASSEMBLER_OUTPUT_OPTION) $@
208ASSEMBLER_COMPILE_OPTION ?= -c
209ifdef STATICBUILD
210PRIMARY_LIBCHICKEN ?= libchicken$(A)
211else
212ifeq ($(PLATFORM),cygwin)
213PRIMARY_LIBCHICKEN = cygchicken-0.dll
214LIBCHICKEN_SO_FILE = cygchicken-0.dll
215LIBUCHICKEN_SO_FILE = cyguchicken-0.dll
216LIBCHICKENGUI_SO_FILE ?= 
217else
218PRIMARY_LIBCHICKEN ?= libchicken$(SO)
219LIBCHICKEN_SO_FILE ?= libchicken$(SO)
220LIBUCHICKEN_SO_FILE ?= libuchicken$(SO)
221LIBCHICKENGUI_SO_FILE ?= 
222endif
223endif
224UNINSTALLINFO_PROGRAM_OPTIONS ?= --delete
225LIBCHICKEN_SO_LIBRARIES ?= $(LIBRARIES)
226LIBUCHICKEN_SO_LIBRARIES ?= $(LIBRARIES)
227LIBCHICKENGUI_SO_LIBRARIES ?= $(LIBRARIES)
228
229# other settings
230
231HOSTNAME ?= $(shell hostname)
232ifeq ($(PLATFORM),mingw)
233BUILD_TIME ?= $(shell date /t)
234UNAME_SYS ?= MinGW
235else
236BUILD_TIME ?= $(shell date +%Y-%m-%d)
237UNAME_SYS ?= $(shell uname)
238endif
239BUILD_TAG ?= compiled $(BUILD_TIME) on $(HOSTNAME) ($(UNAME_SYS))
240
241ifdef LOCKTOSPACE
242C_COMPILER_BUILD_RUNTIME_OPTIONS += -DC_LOCK_TOSPACE
243endif
244
245
246# file extensions
247
248O ?= .o
249A ?= .a
250# EXE ?=
251SO ?= .so
252ASM ?= .s
253
254# special files
255
256POSIXFILE ?= posixunix
257CHICKEN_CONFIG_H = chicken-config.h
258
259ifneq ($(ARCH),)
260HACKED_APPLY ?= 1
261APPLY_HACK_SRC ?= apply-hack.$(ARCH)$(ASM)
262APPLY_HACK_OBJECT ?= apply-hack.$(ARCH)$(O)
263endif
264
265# bootstrapping compiler
266
267CHICKEN ?= chicken$(EXE)
268
269# interpreter for scripts
270
271CSI ?= csi$(EXE)
272
273# Scheme compiler flags
274
275CHICKEN_OPTIONS = -quiet -no-trace -optimize-level 2 -include-path .
276CHICKEN_LIBRARY_OPTIONS = $(CHICKEN_OPTIONS) -explicit-use
277CHICKEN_PROGRAM_OPTIONS = $(CHICKEN_OPTIONS) -no-lambda-info
278CHICKEN_COMPILER_OPTIONS = $(CHICKEN_PROGRAM_OPTIONS) -extend private-namespace.scm
279CHICKEN_UNSAFE_OPTIONS = -unsafe -no-lambda-info
280
281ifneq ($(USE_HOST_PCRE),)
282CHICKEN_PCRE_LIBRARY_OPTIONS = 
283else
284CHICKEN_PCRE_LIBRARY_OPTIONS = -include-path pcre
285endif
286
287# targets
288
289CHICKEN_PROGRAM = $(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)
290CSC_PROGRAM = $(PROGRAM_PREFIX)csc$(PROGRAM_SUFFIX)
291CSI_PROGRAM = $(PROGRAM_PREFIX)csi$(PROGRAM_SUFFIX)
292CHICKEN_PROFILE_PROGRAM = $(PROGRAM_PREFIX)chicken-profile$(PROGRAM_SUFFIX)
293CHICKEN_SETUP_PROGRAM = $(PROGRAM_PREFIX)chicken-setup$(PROGRAM_SUFFIX)
294CHICKEN_BUG_PROGRAM = $(PROGRAM_PREFIX)chicken-bug$(PROGRAM_SUFFIX)
295
296ifdef STATICBUILD
297CHICKEN_STATIC_EXECUTABLE = $(CHICKEN_PROGRAM)$(EXE)
298CSI_STATIC_EXECUTABLE = $(CSI_PROGRAM)$(EXE)
299CHICKEN_SHARED_EXECUTABLE = $(CHICKEN_PROGRAM)-shared$(EXE)
300CSI_SHARED_EXECUTABLE = $(CSI_PROGRAM)-shared$(EXE)
301TARGETLIBS ?= libchicken$(A) libuchicken$(A)
302TARGETS ?= $(TARGETLIBS) $(CHICKEN_STATIC_EXECUTABLE) \
303        $(CSI_STATIC_EXECUTABLE) $(CHICKEN_PROFILE_PROGRAM)$(EXE) \
304        $(CSC_PROGRAM)$(EXE) \
305        chicken.info $(CHICKEN_BUG_PROGRAM)$(EXE)
306else
307CHICKEN_STATIC_EXECUTABLE = $(CHICKEN_PROGRAM)-static$(EXE)
308CSI_STATIC_EXECUTABLE = $(CSI_PROGRAM)-static$(EXE)
309CHICKEN_SHARED_EXECUTABLE = $(CHICKEN_PROGRAM)$(EXE)
310CSI_SHARED_EXECUTABLE = $(CSI_PROGRAM)$(EXE)
311TARGETLIBS ?= libchicken$(A) libuchicken$(A) \
312        $(LIBCHICKEN_SO_FILE) $(LIBUCHICKEN_SO_FILE)
313TARGETS ?= $(TARGETLIBS) $(CHICKEN_SHARED_EXECUTABLE) \
314        $(CSI_SHARED_EXECUTABLE) $(CHICKEN_PROFILE_PROGRAM)$(EXE) \
315        $(CSC_PROGRAM)$(EXE) $(CHICKEN_SETUP_PROGRAM)$(EXE) chicken.info \
316        $(CHICKEN_BUG_PROGRAM)$(EXE)
317endif
318
319# main rule
320
321.PHONY: all
322
323ifdef NO_UNIX_SHELL
324all: $(TARGETS)
325else
326all: buildsvnrevision $(TARGETS)
327endif
328
329buildsvnrevision:
330        sh svnrevision.sh
331
332# generic part of chicken-config.h
333
334ifndef CUSTOM_CHICKEN_DEFAULTS
335chicken-defaults.h: buildsvnrevision
336        echo "/* generated */" >$@
337        echo "#define C_BUILD_TAG \"$(BUILD_TAG)\"" >>$@
338        echo "#define C_SVN_REVISION $(shell cat buildsvnrevision)" >>$@
339        echo "#ifndef C_INSTALL_CC" >>$@
340        echo "# define C_INSTALL_CC \"$(C_COMPILER)\"" >>$@
341        echo "#endif" >>$@
342        echo "#ifndef C_INSTALL_CXX" >>$@
343        echo "# define C_INSTALL_CXX \"$(CXX_COMPILER)\"" >>$@
344        echo "#endif" >>$@
345        echo "#ifndef C_INSTALL_CFLAGS" >>$@
346        echo "# define C_INSTALL_CFLAGS \"$(C_COMPILER_OPTIONS) $(C_COMPILER_OPTIMIZATION_OPTIONS)\"" >>$@
347        echo "#endif" >>$@
348        echo "#ifndef C_INSTALL_LDFLAGS" >>$@
349        echo "# define C_INSTALL_LDFLAGS \"$(LINKER_OPTIONS) $(LINKER_OPTIMIZATION_OPTIONS)\"" >>$@
350        echo "#endif" >>$@
351        echo "#ifndef C_INSTALL_SHARE_HOME" >>$@
352        echo "# define C_INSTALL_SHARE_HOME \"$(DATADIR)\"" >>$@
353        echo "#endif" >>$@
354        echo "#ifndef C_INSTALL_BIN_HOME" >>$@
355        echo "# define C_INSTALL_BIN_HOME \"$(BINDIR)\"" >>$@
356        echo "#endif" >>$@
357        echo "#ifndef C_INSTALL_EGG_HOME" >>$@
358        echo "# define C_INSTALL_EGG_HOME \"$(EGGDIR)\"" >>$@
359        echo "#endif" >>$@
360        echo "#ifndef C_INSTALL_LIB_HOME" >>$@
361        echo "# define C_INSTALL_LIB_HOME \"$(LIBDIR)\"" >>$@
362        echo "#endif" >>$@
363        echo "#ifndef C_INSTALL_STATIC_LIB_HOME" >>$@
364        echo "# define C_INSTALL_STATIC_LIB_HOME \"$(LIBDIR)\"" >>$@
365        echo "#endif" >>$@
366        echo "#ifndef C_INSTALL_INCLUDE_HOME" >>$@
367        echo "# define C_INSTALL_INCLUDE_HOME \"$(INCDIR)\"" >>$@
368        echo "#endif" >>$@
369        echo "#ifndef C_INSTALL_MORE_LIBS" >>$@
370        echo "# define C_INSTALL_MORE_LIBS \"$(LIBRARIES)\"" >>$@
371        echo "#endif" >>$@
372        echo "#ifndef C_INSTALL_MORE_STATIC_LIBS" >>$@
373        echo "# define C_INSTALL_MORE_STATIC_LIBS \"$(LIBRARIES)\"" >>$@
374        echo "#endif" >>$@
375        echo "#ifndef C_DEFAULT_TARGET_STACK_SIZE" >>$@
376        echo "# define C_DEFAULT_TARGET_STACK_SIZE $(NURSERY)" >>$@
377        echo "#endif" >>$@
378        echo "#ifndef C_STACK_GROWS_DOWNWARD" >>$@
379        echo "# define C_STACK_GROWS_DOWNWARD $(STACKDIRECTION)" >>$@
380        echo "#endif" >>$@
381        echo "#ifndef C_TARGET_MORE_LIBS" >>$@
382        echo "# define C_TARGET_MORE_LIBS \"$(TARGET_LIBRARIES)\"" >>$@
383        echo "#endif" >>$@
384        echo "#ifndef C_TARGET_MORE_STATIC_LIBS" >>$@
385        echo "# define C_TARGET_MORE_STATIC_LIBS \"$(TARGET_LIBRARIES)\"" >>$@
386        echo "#endif" >>$@
387        echo "#ifndef C_TARGET_CC" >>$@
388        echo "# define C_TARGET_CC \"$(TARGET_C_COMPILER)\"" >>$@
389        echo "#endif" >>$@
390        echo "#ifndef C_TARGET_CXX" >>$@
391        echo "# define C_TARGET_CXX \"$(TARGET_CXX_COMPILER)\"" >>$@
392        echo "#endif" >>$@
393        echo "#ifndef C_TARGET_CFLAGS" >>$@
394        echo "# define C_TARGET_CFLAGS \"$(TARGET_C_COMPILER_OPTIONS) $(TARGET_C_COMPILER_OPTIMIZATION_OPTIONS)\"" >>$@
395        echo "#endif" >>$@
396        echo "#ifndef C_TARGET_LDFLAGS" >>$@
397        echo "# define C_TARGET_LDFLAGS \"$(TARGET_LINKER_OPTIONS) $(TARGET_LINKER_OPTIMIZATION_OPTIONS)\"" >>$@
398        echo "#endif" >>$@
399        echo "#ifndef C_CROSS_CHICKEN" >>$@
400        echo "# define C_CROSS_CHICKEN $(CROSS_CHICKEN)" >>$@
401        echo "#endif" >>$@
402        echo "#ifndef C_TARGET_LIB_HOME" >>$@
403        echo "# define C_TARGET_LIB_HOME \"$(TARGET_PREFIX)/lib\"" >>$@
404        echo "#endif" >>$@
405        echo "#ifndef C_TARGET_RUN_LIB_HOME" >>$@
406        echo "# define C_TARGET_RUN_LIB_HOME \"$(TARGET_RUN_PREFIX)/lib\"" >>$@
407        echo "#endif" >>$@
408        echo "#ifndef C_TARGET_SHARE_HOME" >>$@
409        echo "# define C_TARGET_SHARE_HOME \"$(TARGET_PREFIX)/share\"" >>$@
410        echo "#endif" >>$@
411        echo "#ifndef C_TARGET_INCLUDE_HOME" >>$@
412        echo "# define C_TARGET_INCLUDE_HOME \"$(TARGET_PREFIX)/include\"" >>$@
413        echo "#endif" >>$@
414        echo "#ifndef C_TARGET_STATIC_LIB_HOME" >>$@
415        echo "# define C_TARGET_STATIC_LIB_HOME \"$(TARGET_PREFIX)/lib\"" >>$@
416        echo "#endif" >>$@
417        echo "#ifndef C_CHICKEN_PROGRAM" >>$@
418        echo "# define C_CHICKEN_PROGRAM \"$(CHICKEN_PROGRAM)\"" >>$@
419        echo "#endif" >>$@
420        echo "#ifndef C_CSC_PROGRAM" >>$@
421        echo "# define C_CSC_PROGRAM \"$(CSC_PROGRAM)\"" >>$@
422        echo "#endif" >>$@
423        echo "#ifndef C_CSI_PROGRAM" >>$@
424        echo "# define C_CSI_PROGRAM \"$(CSI_PROGRAM)\"" >>$@
425        echo "#endif" >>$@
426        echo "#ifndef C_CHICKEN_PROFILE_PROGRAM" >>$@
427        echo "# define C_CHICKEN_PROFILE_PROGRAM \"$(CHICKEN_PROFILE_PROGRAM)\"" >>$@
428        echo "#endif" >>$@
429        echo "#ifndef C_CHICKEN_SETUP_PROGRAM" >>$@
430        echo "# define C_CHICKEN_SETUP_PROGRAM \"$(CHICKEN_SETUP_PROGRAM)\"" >>$@
431        echo "#endif" >>$@
432        echo "#ifndef C_CHICKEN_BUG_PROGRAM" >>$@
433        echo "# define C_CHICKEN_BUG_PROGRAM \"$(CHICKEN_BUG_PROGRAM)\"" >>$@
434        echo "#endif" >>$@
435        echo "#ifndef C_BINARY_VERSION" >>$@
436        echo "# define C_BINARY_VERSION $(BINARYVERSION)" >>$@
437        echo "#endif" >>$@
438endif
Note: See TracBrowser for help on using the repository browser.