/* $Id: Imakefile,v 1.4 1994/11/07 16:01:59 bobo Exp $
 *
 *  Imakefile for compface library
 */
#define DoNormalLib NormalLibX

   INSTALLFLAGS = $(INSTINCFLAGS)
       LINTLIBS = $(LINTXLIB)

        DEPLIBS = ./libcompface.a
LOCAL_LIBRARIES = ./libcompface.a
  SYS_LIBRARIES = -lm
           SRCS1 = cmain.c compface.c
           SRCS2 = uncmain.c
           OBJS1 = cmain.o compface.o
           OBJS2 = uncmain.o
           SRCS3 = xbm2ikon.script pbmtoikon.script
        PROGRAMS = compface uncompface

#ifdef HPArchitecture
       CCOPTIONS = -Aa -D_HPUX_SOURCE
#endif

HEADERS = \
	data.h \
	compface.h

SRCS3 = \
	arith.c \
	compress.c \
	file.c \
	gen.c \
	uncompface.c

OBJS3 = \
	arith.o \
	compress.o \
	file.o \
	gen.o \
	uncompface.o

.c.o:
	NormalLibraryObjectRule()

NormalLibraryTarget(compface,$(OBJS3))

LintLibraryTarget(compface,$(SRCS3))

ComplexProgramTarget_1(compface,$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))
ComplexProgramTarget_2(uncompface,$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))
InstallScript(xbm2ikon,$(BINDIR))
InstallScript(pbmtoikon,$(BINDIR))


DependTarget()

NormalLintTarget($(SRCS))

