Skip to content

Commit

Permalink
remove switch ops from Makefile.in. cotto++
Browse files Browse the repository at this point in the history
they are about to be removed from parrot. This patch prevents build failures
when that actually happens.
  • Loading branch information
moritz committed Apr 23, 2010
1 parent 3954332 commit 6783b52
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build/Makefile.in
Expand Up @@ -12,7 +12,7 @@ PARROT_SRC_DIR = @srcdir@$(PARROT_VERSION)
HAS_ICU = @has_icu@

CC = @cc@
CFLAGS = @ccflags@ @cc_shared@ @cc_debug@ @ccwarn@ @cc_hasjit@ @cg_flag@ @gc_flag@
CFLAGS = @ccflags@ @cc_shared@ @cc_debug@ @ccwarn@ @cc_hasjit@ @gc_flag@
EXE = @exe@
LD = @ld@
LDFLAGS = @ldflags@ @ld_debug@
Expand Down Expand Up @@ -57,8 +57,7 @@ OPS = perl6_ops
DYNEXT_TARGET = $(DYNEXT_DIR)/$(GROUP)$(LOAD_EXT)
DYNPMC = $(PMC_DIR)/$(GROUP)$(LOAD_EXT)
DYNOPS = \
$(OPS_DIR)/$(OPS)$(LOAD_EXT) \
$(OPS_DIR)/$(OPS)_switch$(LOAD_EXT) \
$(OPS_DIR)/$(OPS)$(LOAD_EXT)

SOURCES = \
src/Perl6/Compiler.pir \
Expand Down Expand Up @@ -562,8 +561,3 @@ $(OPS_DIR)/$(OPS)$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE) src/binder/bind.h $(DYNPM
cd $(OPS_DIR) && $(OPS2C) C --dynamic $(OPS_SOURCE)
cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)$(O) $(CINCLUDES) $(CFLAGS) $(OPS).c
cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)$(LOAD_EXT) $(OPS)$(O) $(LINKARGS)

$(OPS_DIR)/$(OPS)_switch$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE) src/binder/bind.h $(DYNPMC)
cd $(OPS_DIR) && $(OPS2C) CSwitch --dynamic $(OPS_SOURCE)
cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)_switch$(O) $(CINCLUDES) $(CFLAGS) $(OPS)_switch.c
cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)_switch$(LOAD_EXT) $(OPS)_switch$(O) $(LINKARGS)

0 comments on commit 6783b52

Please sign in to comment.