blob: 1f874060df69d44bec6e29a9ea2bcbf9075ccf87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
@template
def Library(name):
LIBRARY_NAME = name
@template
def SharedLibrary(name):
FORCE_SHARED_LIB = True
LIBRARY_NAME = name
@template
def Binary():
# Add -lfoo for testing purposes.
OS_LIBS += ['foo']
@template
def Program(name):
PROGRAM = name
Binary()
|