1#!/usr/bin/perl -w 2#- 3# Copyright (c) 2013 Dag-Erling Sm��rgrav 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 17 unchanged lines hidden (view full) --- 26# 27# $Id$ 28# 29 30use strict; 31use warnings; 32use Text::Wrap; 33 |
34our @targets = qw(LIBUNBOUND DAEMON UBANCHOR CHECKCONF CONTROL); |
35 36our %target_names = ( 37 LIBUNBOUND => "libunbound", 38 DAEMON => "unbound", 39 UBANCHOR => "unbound-anchor", 40 CHECKCONF => "unbound-checkconf", |
41 CONTROL => "unbound-control", |
42); 43 44sub get_sources($) { 45 my ($target) = @_; 46 local $/; 47 48 open(MAKE, "-|", "make", "-V${target}_OBJ_LINK") 49 or die("failed to exec make: $!\n"); --- 24 unchanged lines hidden --- |