229 |
$(LIB)/md4_comp.c $(LIB)/md4_c.c \ |
$(LIB)/md4_comp.c $(LIB)/md4_c.c \ |
230 |
$(LIB)/gettext.ml4 $(LIB)/md5_c.c $(LIB)/$(SHA1_VERSION)_c.c \ |
$(LIB)/gettext.ml4 $(LIB)/md5_c.c $(LIB)/$(SHA1_VERSION)_c.c \ |
231 |
$(LIB)/tiger.c \ |
$(LIB)/tiger.c \ |
232 |
|
$(LIB)/CryptoPP.cc \ |
233 |
$(LIB)/stubs_c.c $(LIB)/queues.ml \ |
$(LIB)/stubs_c.c $(LIB)/queues.ml \ |
234 |
$(LIB)/charsetstubs.c $(LIB)/charset.ml |
$(LIB)/charsetstubs.c $(LIB)/charset.ml |
235 |
|
|
1383 |
$1_MLT := $(filter %.mlt, $($1_SRCS)) |
$1_MLT := $(filter %.mlt, $($1_SRCS)) |
1384 |
$1_MLP := $(filter %.mlcpp, $($1_SRCS)) |
$1_MLP := $(filter %.mlcpp, $($1_SRCS)) |
1385 |
$1_ML := $(filter %.ml %.mll %.zog %.mly %.ml4 %.mlt %.mlcpp, $($1_SRCS)) |
$1_ML := $(filter %.ml %.mll %.zog %.mly %.ml4 %.mlt %.mlcpp, $($1_SRCS)) |
1386 |
$1_C := $(filter %.c, $($1_SRCS)) |
$1_C := $(filter %.c %.cc, $($1_SRCS)) |
1387 |
$1_CMOS=$(foreach file, $($1_ML), $(basename $(file)).cmo) |
$1_CMOS=$(foreach file, $($1_ML), $(basename $(file)).cmo) |
1388 |
$1_CMXS=$(foreach file, $($1_ML), $(basename $(file)).cmx) |
$1_CMXS=$(foreach file, $($1_ML), $(basename $(file)).cmx) |
1389 |
$1_OBJS=$(foreach file, $($1_C), $(basename $(file)).o) |
$1_OBJS=$(foreach file, $($1_C), $(basename $(file)).o) |
1509 |
$1_MLT := $(filter %.mlt, $($1_SRCS)) |
$1_MLT := $(filter %.mlt, $($1_SRCS)) |
1510 |
$1_MLP := $(filter %.mlcpp, $($1_SRCS)) |
$1_MLP := $(filter %.mlcpp, $($1_SRCS)) |
1511 |
$1_ML := $(filter %.ml %.mll %.zog %.mly %.ml4 %.mlt %.mlcpp, $($1_SRCS)) |
$1_ML := $(filter %.ml %.mll %.zog %.mly %.ml4 %.mlt %.mlcpp, $($1_SRCS)) |
1512 |
$1_C := $(filter %.c, $($1_SRCS)) |
$1_C := $(filter %.c %.cc, $($1_SRCS)) |
1513 |
$1_CMOS=$(foreach file, $($1_ML), $(basename $(file)).cmo) |
$1_CMOS=$(foreach file, $($1_ML), $(basename $(file)).cmo) |
1514 |
$1_CMXS=$(foreach file, $($1_ML), $(basename $(file)).cmx) |
$1_CMXS=$(foreach file, $($1_ML), $(basename $(file)).cmx) |
1515 |
$1_OBJS=$(foreach file, $($1_C), $(basename $(file)).o) |
$1_OBJS=$(foreach file, $($1_C), $(basename $(file)).o) |
1520 |
TMPSOURCES += $($1_ML4:.ml4=.ml) $($1_MLT:.mlt=.ml) $($1_MLP:.mlcpp=.ml) $($1_MLL:.mll=.ml) $($1_MLY:.mly=.ml) $($1_MLY:.mly=.mli) $($1_ZOG:.zog=.ml) |
TMPSOURCES += $($1_ML4:.ml4=.ml) $($1_MLT:.mlt=.ml) $($1_MLP:.mlcpp=.ml) $($1_MLL:.mll=.ml) $($1_MLY:.mly=.ml) $($1_MLY:.mly=.mli) $($1_ZOG:.zog=.ml) |
1521 |
|
|
1522 |
$2: $($1_OBJS) $($1_CMXS) $($1_CMXAS) |
$2: $($1_OBJS) $($1_CMXS) $($1_CMXAS) |
1523 |
$(OCAMLOPT) -linkall $(PLUGIN_FLAG) -o $[[@]] $($1_OBJS) $(LIBS_opt) $(LIBS_flags) $($3_LIBS_opt) $($3_LIBS_flags) -I build $($1_CMXAS) $($1_CMXS) |
$(OCAMLOPT) -cc $(CXX) -linkall $(PLUGIN_FLAG) -o $[[@]] $($1_OBJS) $(LIBS_opt) $(LIBS_flags) $($3_LIBS_opt) $($3_LIBS_flags) -I build $($1_CMXAS) $($1_CMXS) |
1524 |
|
|
1525 |
$2.byte: $($1_OBJS) $($1_CMOS) $($1_CMAS) |
$2.byte: $($1_OBJS) $($1_CMOS) $($1_CMAS) |
1526 |
$(OCAMLC) -linkall -o $[[@]] $($1_OBJS) $(LIBS_byte) $(LIBS_flags) $($3_LIBS_byte) $($3_LIBS_flags) -I build $($1_CMAS) $($1_CMOS) |
$(OCAMLC) -linkall -o $[[@]] $($1_OBJS) $(LIBS_byte) $(LIBS_flags) $($3_LIBS_byte) $($3_LIBS_flags) -I build $($1_CMAS) $($1_CMOS) |
1527 |
|
|
1528 |
$2.static: $($1_OBJS) $($1_CMXS) $($1_CMXAS) |
$2.static: $($1_OBJS) $($1_CMXS) $($1_CMXAS) |
1529 |
$(OCAMLOPT) -linkall $(PLUGIN_FLAG) -ccopt -static -o $[[@]] $($1_OBJS) $(LIBS_opt) $(LIBS_flags) $($3_LIBS_flags) $($3_STATIC_LIBS_opt) -I build $($1_CMXAS) $($1_CMXS) |
$(OCAMLOPT) -cc $(CXX) -linkall $(PLUGIN_FLAG) -ccopt -static -o $[[@]] $($1_OBJS) $(LIBS_opt) $(LIBS_flags) $($3_LIBS_flags) $($3_STATIC_LIBS_opt) -I build $($1_CMXAS) $($1_CMXS) |
1530 |
]]) |
]]) |
1531 |
|
|
1532 |
EXPAND(mldonkey,mldonkey,NO,mldonkey) |
EXPAND(mldonkey,mldonkey,NO,mldonkey) |