File: Makefile.am

package info (click to toggle)
opt 3.7-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 752 kB
  • ctags: 510
  • sloc: ansic: 2,880; perl: 481; sh: 440; tcl: 344; makefile: 90
file content (35 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: Makefile.am,v 3.4 1998/07/01 16:59:17 jt Exp $

AUTOMAKE_OPTIONS = no-dependencies

TESTS = checkopt

noinst_PROGRAMS = testopt birthday hooktest iloop testmain testtypes

EXTRA_DIST= checkopt
##I would have thought checkopt was a noinst_SCRIPT, but it doesn't
##even get included in the distribution if I do that
##noinst_SCRIPTS= checkopt

## Uncomment the appropriate line depending on whether you want to
## test libopt.a or opt.o
##TESTLIB = ../src/opt.o
TESTLIB= ../src/libopt.a
LDADD = $(TESTLIB)

INCLUDES = -I$(top_srcdir)/src

DEPENDENCIES = $(TESTLIB)

## This remakes the library if it doesn't exist

RANLIB = @RANLIB@

../src/libopt.a:
	cd ../src; $(MAKE) libopt.a; $(RANLIB) libopt.a

../src/opt.o:
	cd ../src; $(MAKE) opt.o