Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
use conditioned lines
Browse files Browse the repository at this point in the history
(available with r42273)
  • Loading branch information
fperrad committed Nov 5, 2009
1 parent c035be3 commit 976a224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 0 additions & 10 deletions Configure.pir
Expand Up @@ -17,16 +17,6 @@
.local string OS
OS = sysinfo .SYSINFO_PARROT_OS

# Something, we need extra configuration variables
$S0 = ''
unless OS == 'darwin' goto L1
# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
$S0 = "export MACOSX_DEPLOYMENT_TARGET := "
$S1 = config['osx_version']
$S0 .= $S1
L1:
config['macosx_deployment_target'] = $S0

# Here, do the job
push_eh _handler
genfile('config/makefiles/root.in', 'Makefile', config)
Expand Down
10 changes: 6 additions & 4 deletions config/makefiles/root.in
Expand Up @@ -30,7 +30,9 @@ RM_RF := @rm_rf@
POD2MAN := pod2man
PARROT := $(BIN_DIR)/parrot@exe@
PBC_TO_EXE := $(BIN_DIR)/pbc_to_exe@exe@
@macosx_deployment_target@
#IF(darwin):
#IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
#IF(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@


SOURCES := \
Expand All @@ -53,9 +55,9 @@ BUILD_CLEANUPS := \
"src/gen_*.pir" \
"*.c" \
"*$(O)" \
parrot-markdown.exe \
parrot-markdown.iss \
"setup-parrot-*.exe" \
#IF(win32): parrot-markdown.exe \
#IF(win32): parrot-markdown.iss \
#IF(win32): "setup-parrot-*.exe" \
installable_markdown@exe@

TEST_CLEANUPS := \
Expand Down

0 comments on commit 976a224

Please sign in to comment.