Rev 267 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# Copyright (C) 1998-2008 ERG Limited, All rights reserved## Module name : Makefile.pl# Module type : Makefile system# Compiler(s) : ANSI C# Environment(s): n/a## Description: makefile.pl stdmux##.........................................................................#die "Usage: Makefile.pl roottest Makelib.pl\n"unless( $#ARGV+1 >= 2 );require "$ARGV[1]";# Build platform definitions ..#Platform( '*' );############################################################################# Define the source files#Src ('*', "pipe_win32.c"); # For WindowsSrc ('*', "pipe.c"); # For othersSrc ('*', "stdouterr.c"); # Test UtilityProg('WINDOWS' , "stdmux", "pipe_win32" );Prog('!WINDOWS' ,"stdmux", "pipe" );Prog('*' ,"stdouterr", "stdouterr" );#.............................................................................# Packaging definitions#InstallProg ( '*' , @PROGS );PackageProg ( '*' , "stdmux" );#.............................................................................# Finally generate the makefile#MakefileGenerate();#.. Successful termination1;