2 * $XConsortium: ab.rules /main/5 1996/05/30 10:54:06 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, SCO and Univel. Do not distribute this
9 * document outside HP, IBM, Sun, USL, 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 * Rule to create a help volume using dthelptag
26 #ifndef HelpVolumeTarget
27 # define HelpVolumeTarget(volbasename,helpsrc,cmdopts,paropts) @@\
28 all:: volbasename.sdl @@\
30 volbasename.sdl:: helpsrc @@\
31 $(CLIENTENVSETUP) \ @@\
32 HELPTAGPASS1=$(HELPTAGPASS1DEF) \ @@\
33 HELPTAGPASS2=$(HELPTAGPASS2DEF) \ @@\
34 sh $(HELPTAG) cmdopts volbasename paropts
35 #endif /* HelpVolumeTarget */
38 * Rule to generate a message catalog using gencat
40 #ifndef AbMessageCatalogTarget
41 # define AbMessageCatalogTarget(catalogname) @@\
42 AllTarget(catalogname.cat) @@\
44 catalogname.cat:: $(SOURCES.msg) @@\
45 $(GENCAT) catalogname.cat $(SOURCES.msg)
46 #endif /* AbMessageCatalogTarget */
49 * Rule to generate module ui.c, ui.h, and stubs.c files
50 * Looks messy now - I can't figure out how to just ifdef out the
51 * $(UIFILE).c + $(UIFILE).h + $(STUBSFILE).c: $(PROJFILE).bip $(MODFILE).bil
54 #ifdef SunArchitecture
56 # define BilTarget(module) @@\
57 Concat(module,_ui.c) + Concat(module,_ui.h) + Concat(module,_stubs.c): $(PROJFILE).bip Concat(module,.bil) @@\
58 $(DTCODEGEN) -changed -merge -p $(PROJFILE).bip Concat(module,.bil) @@\
59 Concat(module,_ui).o: Concat(module,_ui.c) Concat(module,_ui.h) Concat(module,.bil) @@\
60 Concat(module,_stubs).o: Concat(module,_stubs.c) Concat(module,_ui.c) Concat(module,_ui.h) Concat(module,.bil)
61 # endif /* BilTarget */
64 # define BilTarget(module) @@\
65 Concat(module,_ui.c) Concat(module,_ui.h) Concat(module,_stubs.c): $(PROJFILE).bip Concat(module,.bil) @@\
66 $(DTCODEGEN) -changed -merge -p $(PROJFILE).bip Concat(module,.bil) @@\
67 Concat(module,_ui).o: Concat(module,_ui.c) Concat(module,_ui.h) Concat(module,.bil) @@\
68 Concat(module,_stubs).o: Concat(module,_stubs.c) Concat(module,_ui.c) Concat(module,_ui.h) Concat(module,.bil)
69 # endif /* BilTarget */
70 #endif /* SunArchitecture */