nsgmls: resolve coverity warnings related to uninitialed members in C++ classes
[oweals/cde.git] / cde / programs / dtappbuilder / src / ab.tmpl
1 /*
2  * $XConsortium: ab.tmpl /main/10 1996/10/07 16:57:05 drk $
3  *
4  *      RESTRICTED CONFIDENTIAL INFORMATION:
5  *      
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
12  *      Sun's request.
13  *
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.
21  */
22
23 /*
24  * Variables private to the App Builder src directory and general imake
25  * variables set for App Builder builds
26  *
27  * ABINCLUDES           path from any one of ab subdirs to include
28  */
29
30 /*
31  * App Builder private variables
32  */
33 ABINCLUDES = ../include
34
35 /*
36  * use only posix-compliant functions
37  * and force ansi compliance
38  */
39
40 /*
41  * We're going to add a clean target, so we need this here, so that
42  * clean does not become the default
43  */
44 default_target: all
45
46 /*
47  * Imake variables
48  */
49 #ifdef SunArchitecture
50 /*
51  * -xF and -M cause reordering of executable
52  */
53 LOCAL_LDFLAGS =
54 EXTRA_DEFINES = -D_POSIX_SOURCE=1
55
56 clean::
57         touch .make.state
58         $(RM) .make.*
59 #endif
60
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 */
69 YACCFLAGS = -N100000
70 #else
71 YACC = YaccCmd
72 LEX = LexCmd
73 #endif
74
75 #ifdef HPArchitecture
76 /*
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
80  */
81 EXTRA_DEFINES =  -D_POSIX_SOURCE=1
82 YACCFLAGS = -Nm100000 -Nc20000
83
84 /*
85  * dtbuilder (e.g. in abmf.c'abmf_init) modifies string constants
86  * declared in lib_func_strings.c, so we must suppress +ESlit.
87  */
88 CCOPTIONS = -Ae
89 #endif
90
91 #ifdef IBMArchitecture
92 /*
93  * use only posix-compliant functions
94  * and force ansi compliance
95  */
96 EXTRA_DEFINES =  -D_POSIX_SOURCE=1
97 YACCFLAGS = -Nm100000
98 #endif
99
100
101 /*
102  * Create the necesary build-time include directories
103  */
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)
107 #endif
108
109 $(ABINCLUDES)/ab_private:
110         $(MKDIRHIER) $(ABINCLUDES)/ab_private
111
112 $(ABINCLUDES)/ab:
113         $(MKDIRHIER) $(ABINCLUDES)/ab
114
115 includes:: $(ABINCLUDES)/ab $(ABINCLUDES)/ab_private
116