aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/lbxutil/image/Imakefile
blob: fa742161529fb8515d1818e635122a981f1ccc31 (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
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:40 cpqbld Exp $




XCOMM $XFree86: xc/lib/lbxutil/image/Imakefile,v 1.3 2001/01/17 19:43:35 dawes Exp $

#define IncSubdir X11
#include <Library.tmpl>

SRCS = dfaxg42d.c dpackbits.c efaxg42d.c epackbits.c misc.c

OBJS = dfaxg42d.o dpackbits.o efaxg42d.o epackbits.o misc.o

INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC) -I$(SERVERSRC)/include -I../../../include/extensions

SubdirLibraryRule($(OBJS))
NormalLibraryObjectRule()
NormalLintTarget($(SRCS))

MKG3STATES = ./mkg3states

#if CrossCompiling
HOST_CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS) \
	$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES)
#else
HOST_CFLAGS=$(CFLAGS)
#endif

g3states.h : mkg3states.c
	RemoveFiles($@ HostProgramTargetName(mkg3states))
	-HostLinkRule(HostProgramTargetName(mkg3states), $(HOST_CFLAGS),mkg3states.c,$(LDLIBS))
	RunProgram(MKG3STATES,> g3_states_h)
	$(MV) g3_states_h $@
	RemoveFiles(HostProgramTargetName(mkg3states) g3_states_h)

includes:: g3states.h

depend:: g3states.h

clean::
	RemoveFiles(g3_states_h g3states.h HostProgramTargetName(mkg3states))

DependTarget()