File: Imakefile

package info (click to toggle)
xwave 0.6%2B2-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,904 kB
  • ctags: 2,026
  • sloc: ansic: 15,177; perl: 345; makefile: 74; sh: 63
file content (62 lines) | stat: -rw-r--r-- 1,728 bytes parent folder | download | duplicates (4)
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
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS='$(CDEBUGFLAGS)'

SUBDIRS = src
ALLDIRS = $(INITIALDIRS) include/Xfwf lib

#include "FWF.tmpl"

MakeDirectories(all,$(ALLDIRS))

InitSubdirs($(SUBDIRS))
MakeObjectsSubdirs($(SUBDIRS))
MakeExecsSubdirs($(SUBDIRS))
GatherDescriptionSubdirs($(SUBDIRS))

#ifdef BuildExecs
AllTarget(init objects execs $(FWF_MANDIR)/fwf.man)
#else
AllTarget(init objects $(FWF_MANDIR)/fwf.man)
#endif

ConstructIndex(init)

FileCopyWhenNeeded(.,fwf.man,$(FWF_MANDIR),fwf.man)
InstallManPage(fwf,$(FWF_INSTALL_MANDIR))

DeleteWhenCleaning(include bin lib man)

CreateExportStructure(export,FWF)
ExportDir(export/FWF,../..,utils)
ExportDir(export/FWF,../..,src)
ExportFile(export/FWF,../..,FWF.rules)
ExportFile(export/FWF,../..,FWF.tmpl)
ExportFile(export/FWF,../..,Imakefile)
ExportFile(export/FWF,../..,.README.INDEX.HEADER)
ExportFile(export/FWF,../..,README)
ExportFile(export/FWF,../..,README.BUILD)
ExportFile(export/FWF,../..,README.FWF)
ExportFile(export/FWF,../..,README.XPM)
ExportFile(export/FWF,../..,README.IMAKE)
ExportFile(export/FWF,../..,README.INDEX)
ExportFile(export/FWF,../..,README.NOTES)
ExportFile(export/FWF,../..,README.OBTAIN)
ExportFile(export/FWF,../..,README.TODO)
ExportFile(export/FWF,../..,README.SUBMISSION)
ExportFile(export/FWF,../..,BUGREPORT)
ExportFile(export/FWF,../..,IAFA-PACKAGE)
ExportFile(export/FWF,../..,SURVEY)
ExportFile(export/FWF,../..,VERSION)
ExportFile(export/FWF,../..,fwf.man)

InstallLibraryFile($(FWF_LIBDIR),$(FWF_LIBNAME),$(FWF_INSTALL_LIBDIR))
InstallLibraryFile($(FWF_LIBDIR),$(DIR_LIBNAME),$(FWF_INSTALL_LIBDIR))

BuildSharForExport(export,./FWF,fwf)
BuildTarForExport(export,./FWF,fwf)

World:
	make Makefiles
	make clean
	make