-
Notifications
You must be signed in to change notification settings - Fork 0
/
Imakefile
70 lines (62 loc) · 1.83 KB
/
Imakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*---------------------------------------------------------------------------*/
/* Based on the top Imakefile for the Xmt library, written by David Flanagan */
/* Used with permission */
/*---------------------------------------------------------------------------*/
/* modified from the X11R5 toplevel Imakefile */
#ifndef UseInstalled
#define UseInstalled /* always use installed X imake */
#endif
#ifndef XscHelpBuildTree
#define XscHelpBuildTree /* from this Imakefile, always build the tree */
#endif
#include "XscHelp.tmpl"
#define IHaveSubdirs
#define PassCDebugFlags
WORLDOPTS = -k
SUBDIRS = src examples
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
World::
@echo ""
@echo "Building the Help ToolKit for Motif"
@echo ""
@echo "#####################################"
@echo "# Did you remember to check and set #"
@echo "# the variables in ./XscHelp.tmpl? #"
@echo "#####################################"
@echo ""
@date
@echo ""
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
$(MAKE) $(MFLAGS) -f Makefile.bak Makefile
$(MAKE) $(MFLAGS) Makefiles
$(MAKE) $(MFLAGS) clean
$(MAKE) $(MFLAGS) includes
$(MAKE) $(MFLAGS) depend
$(MAKE) $(MFLAGS) $(WORLDOPTS)
@echo ""
@date
@echo ""
@echo "Full build of the Help ToolKit for Motif complete."
@echo ""
Everything::
@echo ""
@echo "Rebuilding the Help ToolKit for Motif"
@echo ""
@date
@echo ""
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
$(MAKE) $(MFLAGS) -f Makefile.bak Makefile
$(MAKE) $(MFLAGS) Makefiles
$(MAKE) $(MFLAGS) includes
$(MAKE) $(MFLAGS) depend
$(MAKE) $(MFLAGS) $(WORLDOPTS)
@echo ""
@date
@echo ""
@echo "Rebuild of the Help ToolKit for Motif complete."
@echo ""
/*
* target to install XscHelp.tmpl in /usr/lib/X11/config
*/
InstallNonExec(XscHelp.tmpl, $(IRULESRC))