1 XCOMM $XConsortium: Imakefile /main/8 1996/10/09 14:03:24 drk $
3 XCOMM RESTRICTED CONFIDENTIAL INFORMATION:
5 XCOMM The information in this document is subject to special
6 XCOMM restrictions in a confidential disclosure agreement between
7 XCOMM HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
8 XCOMM document outside HP, IBM, Sun, USL, SCO, or Univel without
9 XCOMM Sun's specific written approval. This document and all copies
10 XCOMM and derivative works thereof must be returned or destroyed at
13 XCOMM (c) Copyright 1996 Digital Equipment Corporation.
14 XCOMM (c) Copyright 1996 Hewlett-Packard Company.
15 XCOMM (c) Copyright 1996 International Business Machines Corp.
16 XCOMM (c) Copyright 1993,1996 Sun Microsystems, Inc.
17 XCOMM (c) Copyright 1996 Novell, Inc.
18 XCOMM (c) Copyright 1996 FUJITSU LIMITED.
19 XCOMM (c) Copyright 1996 Hitachi.
21 #define DoNormalLib YES
22 #define DoSharedLib NO
24 #define DoProfileLib NO
30 #include "../ab.rules"
32 INCLUDES = -I. -I$(ABINCLUDES)
33 DEPEND_DEFINES = $(DEPENDDEFINES)
58 SRCS = abuil_load.c abuil_print.c \
59 abuil_resource_attr_map.c abuil_trav.c \
60 abuil_widget_obj_map.c bil.c \
61 bil_lexer.c bil_loadact.c \
62 bil_loadatt.c bil_loadfile.c \
63 bil_loadobj.c bil_parse.c \
65 gil_loadact.c gil_loadatt.c \
66 gil_loadfile.c gil_loadobj.c \
69 OBJS = abuil_load.o abuil_print.o \
70 abuil_resource_attr_map.o abuil_trav.o \
71 abuil_widget_obj_map.o bil.o \
72 bil_lexer.o bil_loadact.o \
73 bil_loadatt.o bil_loadfile.o \
74 bil_loadobj.o bil_parse.o \
76 gil_loadact.o gil_loadatt.o \
77 gil_loadfile.o gil_loadobj.o \
80 SYS_LIBRARIES = -lm $(ICONVSYSLIB) $(DYNLIBSYSLIB) $(REGEXSYSLIB)
82 #ifdef SunArchitecture
84 #endif /* SunArchitecture */
86 LINTLIBS = $(XINPUTLIB) $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
87 LOCAL_LIBRARIES = $(XINPUTLIB) $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
89 #include <Library.tmpl>
91 includes:: bil_parse.h
93 bil_parse.h + bil_parse.c: bil_parse.y
94 $(YACC) -d $(YACCFLAGS) bil_parse.y
95 ${RM} bil_parse.h bil_parse.c
96 sed -e "s/\([^A-Za-z]\)yy/\1AByy/g" -e "s/^yy/AByy/" < y.tab.h > bil_parse.h
97 sed -e "s/\([^A-Za-z]\)yy/\1AByy/g" -e "s/^yy/AByy/" < y.tab.c > bil_parse.c
103 sed -e "s/\([^A-Za-z]\)yy/\1AByy/g" -e "s/^yy/AByy/" < lex.yy.c > bil_lex.c
110 ../libABobjXm/libABobjXm.a \
111 ../libABobj/libABobj.a \
112 ../libAButil/libAButil.a
114 bil_test: bil_test.o $(LOCAL_LIBRARIES)
115 $(CC) $(CFLAGS) -o bil_test bil_test.o $(LOCAL_LIBRARIES)
117 LinkFileList(shared_includes,$(SOURCES.h.shared),../include/ab_private,../../libABil)
119 includes:: shared_includes $(WAITTARGET)