~vojtech-horky/helenos/coastline-qemu

« back to all changes in this revision

Viewing changes to jainja/Makefile.patch

  • Committer: Vojtech Horky
  • Date: 2017-08-07 14:28:40 UTC
  • mfrom: (104.1.27 coastline)
  • Revision ID: vojtechhorky@users.sourceforge.net-20170807142840-nj7i0b2i0py5o5qh
MergeĀ upstreamĀ changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- jainja-0.8/platforms/c/Makefile     2014-04-19 17:14:26.000000000 +0200
 
2
+++ jainja-0.8/platforms/c/Makefile     2017-08-01 15:19:54.523808850 +0200
 
3
@@ -7,6 +7,42 @@
 
4
     CFLAGS = -O2 -I${SOURCE_HOME}/include -I${SOURCE_HOME}/tinygc -I${SOURCE_HOME}/native -DJCGO_FFDATA -DJCGO_THREAD_SLEEP -DFPINIT -DGC_GETENV_SKIP -DGC_INITIAL_HEAP_SIZE=64*1024*1024 -DGC_MAXIMUM_HEAP_SIZE=128*1024*1024 -DALL_INTERIOR_POINTERS -DGC_GCJ_SUPPORT -DGC_FASTCALL= -DGC_LP_ALLOCATOR -fno-toplevel-reorder -DCFASTCALL= -DJCGO_INET -DJCGO_WIN32 
 
5
        CFILES += ${SOURCE_HOME}/tinygc/LP_Allocator.c ${SOURCE_HOME}/tinygc/tinygc.c -lwsock32
 
6
        EXECUTABLE_EXTENSION = .exe
 
7
+else ifeq ($(OS),HelenOS)
 
8
+       CFLAGS = \
 
9
+               $(CUSTOM_CFLAGS) \
 
10
+               -I$(SOURCE_HOME)/include \
 
11
+               -I$(SOURCE_HOME)/native \
 
12
+               -I$(SOURCE_HOME)/tinygc \
 
13
+               -D_IEEEFP_H \
 
14
+               -DJCGO_UNIX \
 
15
+               -DJCGO_UNIFSYS \
 
16
+               -DJCGO_NOSYSNAME \
 
17
+               -DEXTRASTATIC=static \
 
18
+               -DJNUBIGEXPORT=static \
 
19
+               -DJNIIMPORT=static \
 
20
+               -DJNIEXPORT=static \
 
21
+               -DJCGO_STDCLINIT \
 
22
+               -DFPINIT= \
 
23
+               -DGC_GETENV_SKIP \
 
24
+               -DGC_CLIBDECL= \
 
25
+               -DALL_INTERIOR_POINTERS \
 
26
+               -DGC_GCJ_SUPPORT \
 
27
+               -DCFASTCALL= \
 
28
+               -DJCGO_UTFWCTOMB \
 
29
+               -DJCGO_CLOCKGETTM \
 
30
+               -DJCGO_NOUTIMBUF \
 
31
+               -D_SYS_IOCTL_H \
 
32
+               -D_SYS_SELECT_H \
 
33
+               -D_IO_H \
 
34
+               -DJCGO_BIGFLKOFF_T \
 
35
+               -D_MATH_NO_HYPOT \
 
36
+               -DGC_LP_ALLOCATOR \
 
37
+               -DGC_INITIAL_HEAP_SIZE=64*1024*1024 \
 
38
+               -DGC_MAXIMUM_HEAP_SIZE=128*1024*1024 \
 
39
+               -DGC_FASTCALL= \
 
40
+               -DGC_CLIBDECL= \
 
41
+               -DGC_GCJ_SUPPORT
 
42
+       CFILES += -lfdm ${SOURCE_HOME}/tinygc/LP_Allocator.c ${SOURCE_HOME}/tinygc/tinygc.c
 
43
 else
 
44
        CFLAGS = -O2 -I${SOURCE_HOME}/include -I${SOURCE_HOME}/native -I${SOURCE_HOME}/tinygc -DJCGO_UNIX -D_IEEEFP_H  -DJCGO_UNIFSYS -DJCGO_STDCLINIT -DJCGO_THREAD_SLEEP -DFPINIT -DJCGO_INET -DJCGO_SIGSETJMP -DGC_GETENV_SKIP -DGC_LP_ALLOCATOR -DGC_INITIAL_HEAP_SIZE=64*1024*1024 -DGC_MAXIMUM_HEAP_SIZE=128*1024*1024  -DGC_FASTCALL= -DGC_CLIBDECL= -DALL_INTERIOR_POINTERS -DGC_GCJ_SUPPORT -DGC_SIGSETJMP  -DDONT_ADD_BYTE_AT_END -fno-toplevel-reorder -DCFASTCALL= 
 
45
     UNAME_S := $(shell uname -s)