Parent Directory
|
Revision Log
import of new openisis release, 0.9.9e
1 | dpavlin | 604 | # $Id: tool.mk,v 1.3 2004/04/13 09:50:38 kripke Exp $ |
2 | |||
3 | # tool features | ||
4 | ifdef NOCDS | ||
5 | CDS= | ||
6 | TOOLDEF_CDS=-DBUILD_NOCDS | ||
7 | else | ||
8 | CDS=cds | ||
9 | ifdef CDSUNIX | ||
10 | TOOLDEF_CDS=-DBUILD_CDSUNIX | ||
11 | endif | ||
12 | endif | ||
13 | ifdef NOIIF | ||
14 | IIF= | ||
15 | TOOLDEF_IIF=-DBUILD_NOIIF | ||
16 | else | ||
17 | IIF=iif | ||
18 | endif | ||
19 | TOOLDEFS=$(TOOLDEF_CDS) $(TOOLDEF_IIF) | ||
20 | |||
21 | TOOL=srv $(CDS) $(IIF) | ||
22 | tool: $(TOOL:%=$(O)/%.o) | ||
23 | |||
24 | $(O)/%.o: ../tool/%.c ../tool/tool.h ../pw/pw.h ../core/core.h | ||
25 | @- [ -d $(O) ] || mkdir $(O) | ||
26 | $(CC) -c $(CPPFLAGS) $(TOOLDEFS) $(CFLAGS) -o $@ $< |
ViewVC Help | |
Powered by ViewVC 1.1.26 |