comparison runtime/lib/ldc-posix.mak @ 688:9d6d32b969d7

Pass flags ADD_DFLAGS to build of runtime/internal.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Oct 2008 15:31:24 +0200
parents d8a1481eaa0c
children
comparison
equal deleted inserted replaced
687:0a682c7805d2 688:9d6d32b969d7
33 LLVMLINK=llvm-link 33 LLVMLINK=llvm-link
34 LLC=llc 34 LLC=llc
35 35
36 ADD_CFLAGS= 36 ADD_CFLAGS=
37 #ADD_DFLAGS= 37 #ADD_DFLAGS=
38 ADD_DFLAGS=-I`pwd`/common/ 38 ADD_DFLAGS=-g -I`pwd`/common/
39 39
40 targets : lib sharedlib doc 40 targets : lib sharedlib doc
41 all : lib sharedlib doc 41 all : lib sharedlib doc
42 42
43 ###################################################### 43 ######################################################
50 50
51 ###################################################### 51 ######################################################
52 52
53 lib : $(ALL_OBJS) 53 lib : $(ALL_OBJS)
54 make -C $(DIR_CC) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)" 54 make -C $(DIR_CC) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
55 make -C $(DIR_RT) -fldc.mak lib 55 make -C $(DIR_RT) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
56 make -C $(DIR_GC) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)" 56 make -C $(DIR_GC) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
57 # could link the three parts into one here, but why should we 57 # could link the three parts into one here, but why should we
58 58
59 sharedlib : $(ALL_OBJS) 59 sharedlib : $(ALL_OBJS)
60 make -C $(DIR_CC) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)" 60 make -C $(DIR_CC) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
61 make -C $(DIR_RT) -fldc.mak sharedlib 61 make -C $(DIR_RT) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
62 make -C $(DIR_GC) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)" 62 make -C $(DIR_GC) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
63 # could link the three parts into one here, but why should we 63 # could link the three parts into one here, but why should we
64 64
65 doc : $(ALL_DOCS) 65 doc : $(ALL_DOCS)
66 make -C $(DIR_CC) -fldc.mak doc 66 make -C $(DIR_CC) -fldc.mak doc