Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b65a7d1cfb
Fetching contributors…

Cannot retrieve contributors at this time

155 lines (116 sloc) 6.401 kB
#
# Each opslib must be compiled with several variants.
#
DYNOP_O_DEPS = \
include/pmc/pmc_parrotlibrary.h \
$(PARROT_H_HEADERS) \
include/parrot/runcore_api.h
#########################
$(DYNEXT_DIR)/obscure_ops$(LOAD_EXT): src/dynoplibs/obscure_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/obscure_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/obscure_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/obscure_ops.c src/dynoplibs/obscure_ops.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/obscure_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/obscure_ops.c
src/dynoplibs/obscure_ops.h: src/dynoplibs/obscure_ops.c
src/dynoplibs/obscure_ops.c: src/dynoplibs/obscure.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/obscure.ops --quiet
#########################
$(DYNEXT_DIR)/math_ops$(LOAD_EXT): src/dynoplibs/math_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/math_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
src/dynoplibs/math_ops.c: src/dynoplibs/math.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/math.ops --quiet
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/math_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/math_ops.c src/dynoplibs/math_ops.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/math_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/math_ops.c
src/dynoplibs/math_ops.h: src/dynoplibs/math_ops.c
#########################
$(DYNEXT_DIR)/trans_ops$(LOAD_EXT): src/dynoplibs/trans_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/trans_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/trans_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/trans_ops.c src/dynoplibs/trans_ops.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/trans_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/trans_ops.c
src/dynoplibs/trans_ops.h: src/dynoplibs/trans_ops.c
src/dynoplibs/trans_ops.c: src/dynoplibs/trans.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/trans.ops --quiet
#########################
$(DYNEXT_DIR)/bit_ops$(LOAD_EXT): src/dynoplibs/bit_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/bit_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/bit_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/bit_ops.c src/dynoplibs/bit_ops.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/bit_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/bit_ops.c
src/dynoplibs/bit_ops.h: src/dynoplibs/bit_ops.c
src/dynoplibs/bit_ops.c: src/dynoplibs/bit.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/bit.ops --quiet
#########################
$(DYNEXT_DIR)/debug_ops$(LOAD_EXT): src/dynoplibs/debug_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/debug_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/debug_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/debug_ops.c src/dynoplibs/debug_ops.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/debug_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/debug_ops.c
src/dynoplibs/debug_ops.h: src/dynoplibs/debug_ops.c
src/dynoplibs/debug_ops.c: src/dynoplibs/debug.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/debug.ops --quiet
#########################
$(DYNEXT_DIR)/sys_ops$(LOAD_EXT): src/dynoplibs/sys_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/sys_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/sys_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/sys_ops.c src/dynoplibs/sys_ops.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/sys_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/sys_ops.c
src/dynoplibs/sys_ops.h: src/dynoplibs/sys_ops.c
src/dynoplibs/sys_ops.c: src/dynoplibs/sys.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/sys.ops --quiet
#########################
$(DYNEXT_DIR)/io_ops$(LOAD_EXT): src/dynoplibs/io_ops$(O) $(LIBPARROT)
$(LD) @ld_out@$@ \
#IF(cygwin and optimize): -s \
src/dynoplibs/io_ops$(O) $(LINKARGS)
#IF(win32 and has_mt): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2
#IF(cygwin or hpux): $(CHMOD) 0775 $@
$(ADDGENERATED) "$@" "[library]"
## SUFFIX OVERRIDE - add -Wno-parentheses-equality for clang, with same rule as src/ops/core_ops.c
src/dynoplibs/io_ops$(O): $(DYNOP_O_DEPS) \
src/dynoplibs/io_ops.c src/dynoplibs/io_ops.h src/io/io_private.h
$(CC) $(CFLAGS) @optimize::src/dynoplibs/io_ops.c@ @ccwarn::src/ops/core_ops.c@ @cc_shared@ -I$(@D) @cc_o_out@$@ -c src/dynoplibs/io_ops.c
src/dynoplibs/io_ops.h: src/dynoplibs/io_ops.c
src/dynoplibs/io_ops.c: src/dynoplibs/io.ops $(OPS2C)
$(OPS2C) --dynamic src/dynoplibs/io.ops --quiet
# Local variables:
# mode: makefile
# End:
# vim: ft=make:
Jump to Line
Something went wrong with that request. Please try again.