summaryrefslogtreecommitdiff
path: root/xc/workInProgress/Fresco/include/Imakefile
blob: 366bc7598382b67e3e2c6e2d83db6f1a6da54b54 (plain)
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
XCOMM $XConsortium: Imakefile,v 1.5 94/03/25 19:52:49 matt Exp $

#define IHaveSubdirs
#define PassCDebugFlags /**/

SUBDIRS = Interfaces OS Ox Impls

HEADERS = \
	_defines.h \
	_enter.h \
 	_leave.h \
	_undefs.h \
	display.h \
	drawing.h \
	figures.h \
	fresco.h \
	glyph.h \
	layouts.h \
	types.h \
	viewer.h \
	widgets.h

DEST = $(INCDIR)/Fresco

all::

BuildIncludes($(HEADERS),Fresco,..)

InstallMultipleFlags($(HEADERS),$(DEST),$(INSTINCFLAGS))


XCOMM  The stuff from here down is related to running the ixx translator
XCOMM  to build header files from IDL definitions.  You should not have 
XCOMM  to use this part unless you are rebuilding the Fresco headers.

#include <Ixx.tmpl>

#define Hdr(name,flags) MakeHeaderFlags(name,flags)

Hdr(display, -i '<X11/Fresco/drawing.h>')
Hdr(drawing, -i '<X11/Fresco/types.h>')
Hdr(figures, -i '<X11/Fresco/drawing.h>' -i '<X11/Fresco/glyph.h>')
Hdr(glyph, -i '<X11/Fresco/display.h>' -i '<X11/Fresco/drawing.h>')
Hdr(layouts, -i '<X11/Fresco/glyph.h>')
Hdr(types,-i '<X11/Fresco/Ox/object.h>')
Hdr(viewer, -i '<X11/Fresco/glyph.h>')
Hdr(widgets, -i '<X11/Fresco/viewer.h>')

DependHeaders()

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
NamedTargetSubdirs(clean_headers,$(SUBDIRS),"cleaning headers",RM_CMD='$(RM_CMD)',clean_headers)
NamedTargetSubdirs(headers,$(SUBDIRS),"generating headers",,headers)

gendefs:
	./_gendefs