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(UXPArchitecture)
64 /* Need to define __uxp__ when using -Xc */
65 EXTRA_DEFINES = -D_POSIX_SOURCE=1 -Xc -D__uxp__
66 #elif defined(AlphaArchitecture)
67 EXTRA_DEFINES = -D_XOPEN_SOURCE=1 -D_OSF_SOURCE=1
68 /* default storage(40000) is not enough to process ./src/libABil/bil_parse.y */
77 * use only posix-compliant functions
78 * Set yaccflags here because hp.cf does not have -Nc20000
79 * The YACCFLAGS line will be removed if/when hp.cf is updated
81 EXTRA_DEFINES = -D_POSIX_SOURCE=1
82 YACCFLAGS = -Nm100000 -Nc20000
85 * dtbuilder (e.g. in abmf.c'abmf_init) modifies string constants
86 * declared in lib_func_strings.c, so we must suppress +ESlit.
91 #ifdef IBMArchitecture
93 * use only posix-compliant functions
94 * and force ansi compliance
96 EXTRA_DEFINES = -D_POSIX_SOURCE=1
102 * Create the necesary build-time include directories
104 #ifdef SunArchitecture
105 .NO_PARALLEL: $(ABINCLUDES)/ab $(ABINCLUDES)/ab_private
106 .NO_PARALLEL: depend install binstall install.man includes shared_includes localincludes $(PROGRAM) $(LIBRARY) $(TARGET)
109 $(ABINCLUDES)/ab_private:
110 $(MKDIRHIER) $(ABINCLUDES)/ab_private
113 $(MKDIRHIER) $(ABINCLUDES)/ab
115 includes:: $(ABINCLUDES)/ab $(ABINCLUDES)/ab_private