mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-22 18:32:16 +03:00
Hackery for amiga/version.c in cross-compiled builds.
It's not clear how the cleanup stuff for this ever worked svn path=/trunk/netsurf/; revision=11958
This commit is contained in:
parent
60e8bb79ff
commit
3711c125f5
16
Makefile
16
Makefile
@ -420,12 +420,26 @@ $(RSRC_BEOS): $(RDEF_BEOS) $(RDEP_BEOS)
|
||||
$(Q)$(BEOS_RC) -o $@ $<
|
||||
endif
|
||||
|
||||
ifeq ($(HOST),amiga)
|
||||
ifeq ($(findstring amiga,$(TARGET)),amiga)
|
||||
clean-amiga-version:
|
||||
$(VQ)echo " CLEAN: amiga/version.c"
|
||||
$(Q)$(RM) amiga/version.c
|
||||
CLEANS += clean-amiga-version
|
||||
|
||||
ifeq ($(HOST),amiga)
|
||||
amiga/version.c: amiga/version.rexx
|
||||
$(VQ)echo " AREXX: amiga/version.rexx"
|
||||
$(Q)rx amiga/version.rexx >amiga/version.c
|
||||
else
|
||||
amiga/version.c:
|
||||
$(Q)echo '/* This file was automatically generated by version.rexx */' >amiga.version.c
|
||||
$(Q)echo 'static const __attribute__((used)) char *verstag = "\\0$$VER: NetSurf 3.1415(1234)\\0";' >>amiga/version.c
|
||||
$(Q)echo 'const char * const versvn = "SVN1415";' >>amiga/version.c
|
||||
$(Q)echo 'const char * const verdate = "1234";' >>amiga/version.c
|
||||
$(Q)echo 'const char * const verarexx = "3.1415";' >>amiga/version.c
|
||||
$(Q)echo 'const int verver = 3;' >>amiga/version.c
|
||||
$(Q)echo 'const int verrev = 1234;' >>amiga/version.c
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET),riscos)
|
||||
|
Loading…
Reference in New Issue
Block a user