summaryrefslogtreecommitdiff
path: root/xc/lib/lbxutil/image/Imakefile
blob: 37302b94a777a7a73d338fcf5b2bc307d50c89b1 (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
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

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

includes:: g3states.h

depend:: g3states.h

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

DependTarget()