File: Makefile.am

package info (click to toggle)
sip 2.5-2.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 1,472
  • sloc: ansic: 11,902; sh: 6,482; yacc: 1,987; cpp: 540; lex: 423; makefile: 104
file content (29 lines) | stat: -rw-r--r-- 665 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
# Copyright (c) 2000 - 2001 Phil Thompson <phil@river-bank.demon.co.uk>
#
# The automake file for the SIP code generator.


YACC = @YACC@ -d 

bin_PROGRAMS = sip

sip_LDADD = @LEXLIB@
sip_SOURCES = main.c parser.y lexer.l transform.c gencode.c heap.c sip.h


TMAKEFILES = \
	Makefile.win32-msvc \
	Makefile.win32-borland

EXTRA_DIST = parser.h sip.pro $(TMAKEFILES)
BUILT_SOURCES = parser.c lexer.c
CLEANFILES = $(BUILT_SOURCES) parser.h $(TMAKEFILES)


TMAKEPATH = /usr/local/tmake
 
Makefile.win32-msvc: sip.pro
	TMAKEPATH=$(TMAKEPATH)/win32-msvc tmake -win32 -o $@ $<
 
Makefile.win32-borland: sip.pro
	TMAKEPATH=$(TMAKEPATH)/win32-borland tmake -win32 -o $@ $<