2 * $XConsortium: ab.tmpl /main/10 1996/10/07 16:57:05 drk $
4 * RESTRICTED CONFIDENTIAL INFORMATION:
6 * The information in this document is subject to special
7 * restrictions in a confidential disclosure agreement between
8 * HP, IBM, Sun, USL, Fujitsu, SCO and Univel. Do not distribute this
9 * document outside HP, IBM, Sun, USL, Fujitsu, SCO, or Univel without
10 * Sun's specific written approval. This document and all copies
11 * and derivative works thereof must be returned or destroyed at
14 * (c) Copyright 1996 Digital Equipment Corporation.
15 * (c) Copyright 1996 Hewlett-Packard Company.
16 * (c) Copyright 1996 International Business Machines Corp.
17 * (c) Copyright 1993,1996 Sun Microsystems, Inc.
18 * (c) Copyright 1996 Novell, Inc.
19 * (c) Copyright 1996 FUJITSU LIMITED.
20 * (c) Copyright 1996 Hitachi.
24 * Variables private to the App Builder src directory and general imake
25 * variables set for App Builder builds
27 * ABINCLUDES path from any one of ab subdirs to include
31 * App Builder private variables
33 ABINCLUDES = ../include
36 * use only posix-compliant functions
37 * and force ansi compliance
41 * We're going to add a clean target, so we need this here, so that
42 * clean does not become the default
49 #ifdef SunArchitecture
51 * -xF and -M cause reordering of executable
54 EXTRA_DEFINES = -D_POSIX_SOURCE=1
61 #if defined(USLArchitecture)
62 EXTRA_DEFINES = -D_POSIX_SOURCE=1
63 #elif defined(AlphaArchitecture)
64 EXTRA_DEFINES = -D_XOPEN_SOURCE=1 -D_OSF_SOURCE=1
65 /* default storage(40000) is not enough to process ./src/libABil/bil_parse.y */
74 * use only posix-compliant functions
75 * Set yaccflags here because hp.cf does not have -Nc20000
76 * The YACCFLAGS line will be removed if/when hp.cf is updated
78 EXTRA_DEFINES = -D_POSIX_SOURCE=1
79 YACCFLAGS = -Nm100000 -Nc20000
82 * dtbuilder (e.g. in abmf.c'abmf_init) modifies string constants
83 * declared in lib_func_strings.c, so we must suppress +ESlit.
88 #ifdef IBMArchitecture
90 * use only posix-compliant functions
91 * and force ansi compliance
93 EXTRA_DEFINES = -D_POSIX_SOURCE=1
99 * Create the necesary build-time include directories
101 #ifdef SunArchitecture
102 .NO_PARALLEL: $(ABINCLUDES)/ab $(ABINCLUDES)/ab_private
103 .NO_PARALLEL: depend install binstall install.man includes shared_includes localincludes $(PROGRAM) $(LIBRARY) $(TARGET)
106 $(ABINCLUDES)/ab_private:
107 $(MKDIRHIER) $(ABINCLUDES)/ab_private
110 $(MKDIRHIER) $(ABINCLUDES)/ab
112 includes:: $(ABINCLUDES)/ab $(ABINCLUDES)/ab_private