1# Time-stamp: <03/10/26 16:04:25 ptr>
2# $Id$
3
4.SUFFIXES: .o .cc
5
6!ifndef RULESBASE
7RULESBASE = $(SRCROOT)/Makefiles
8!endif
9
10!ifndef ALL_TAGS
11ALL_TAGS = all-shared all-static
12!endif
13
14#!if [echo $(ALL_TAGS)]
15#!endif
16#!if [echo $(RULESBASE)]
17#!endif
18
19all:	dirs $(ALL_TAGS)
20
21all-dynamic: all-shared
22all-shared: release-shared dbg-shared stldbg-shared
23all-static: release-static dbg-static stldbg-static
24
25install-shared: install-release-shared install-dbg-shared install-stldbg-shared
26install-static: install-release-static install-dbg-static install-stldbg-static
27
28# define what make clone we use
29USE_MAKE = nmake
30# include file, generated by configure, if available
31!if EXIST( $(RULESBASE)/$(USE_MAKE)/config.mak )
32!include $(RULESBASE)/$(USE_MAKE)/config.mak
33!endif
34# identify OS and build date
35!include $(RULESBASE)/$(USE_MAKE)/sysid.mak
36# OS-specific definitions, like ar, ln, install, etc.
37!include $(RULESBASE)/$(USE_MAKE)/sys.mak
38# rules to make dirs for targets
39!include $(RULESBASE)/$(USE_MAKE)/targetdirs.mak
40# extern libraries
41!include $(RULESBASE)/$(USE_MAKE)/extern.mak
42
43# derive common targets (*.o, *.d),
44# build rules (including output catalogs)
45!include $(RULESBASE)/$(USE_MAKE)/targets.mak
46# dependency
47#include ${RULESBASE}/depend-$(COMPILER_NAME).mak
48
49# general clean
50!include $(RULESBASE)/$(USE_MAKE)/clean.mak
51
52# if target is library, rules for library
53!ifdef LIBNAME
54!include $(RULESBASE)/$(USE_MAKE)/lib/top.mak
55!endif
56
57# if target is program, rules for executable
58!ifdef PRGNAME
59!include $(RULESBASE)/$(USE_MAKE)/app/top.mak
60!endif
61