Merge branch 'linux1'
[oweals/cde.git] / cde / programs / dthelp / parser / pass2 / util / Imakefile
1 XCOMM $XConsortium: Imakefile /main/3 1995/11/08 11:01:32 rswiston $
2 /* Util Imakefile */
3
4 INCLUDES = -I.
5
6 LIBSRCS =   \
7         allwhite.c inctest.c letter.c triedump.c triepdmp.c \
8         trieplk.c trierset.c upcmp8.c upstrcmp.c wchar.c
9 CTXSRCS =   \
10         conutil.c error.c exit.c itoa.c lower.c malloc.c openchk.c \
11         trie.c triecnt.c upper.c whitesp.c
12 OTHERSRCS = \
13         context.c emptyfil.c fclndir.c
14 SRCS = $(LIBSRCS) $(CTXSRCS) $(OTHERSRCS)
15
16
17 LIBOBJS =   \
18         allwhite.o inctest.o letter.o triedump.o triepdmp.o \
19         trieplk.o trierset.o upcmp8.o upstrcmp.o wchar.o
20 CTXOBJS =   \
21         conutil.o error.o exit.o itoa.o lower.o malloc.o openchk.o \
22         trie.o triecnt.o upper.o whitesp.o
23 OTHEROBJS = \
24         context.o fclndir.o emptyfil.o
25
26 LOCAL_LIBRARIES = libutil.a
27
28 /* Don't use shared libs for hp */
29 #ifdef HPArchitecture
30 #if OSMajorVersion > 7
31 EXTRA_LOAD_FLAGS = -Wl,-a archive
32 #endif
33 #endif
34
35 all::
36
37 NormalLibraryObjectRule()
38 NormalLibraryTarget(util,$(LIBOBJS) $(CTXOBJS))
39
40 all:: context fclndir
41
42 NormalProgramTarget(context,context.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
43 NormalProgramTarget(fclndir,fclndir.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
44
45 DependTarget()
46
47 depend:: $(SRCS)