XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:53:50 cpqbld Exp $




XCOMM $XFree86: xc/programs/bitmap/Imakefile,v 3.7 2002/05/31 18:46:07 dawes Exp $

#if CaseSensitiveFileSystem
BUTTONPICTURES = \
	Dashes \
	Down \
	Excl \
	FlipHoriz \
	FlipVert \
	Fold \
	Left \
	Right \
	RotateLeft \
	RotateRight \
	Stipple \
	Term \
	Up
#else
LinkFile(Stippler,Stipple)

BUTTONPICTURES = \
	Dashes \
	Down \
	Excl \
	FlipHoriz \
	FlipVert \
	Fold \
	Left \
	Right \
	RotateLeft \
	RotateRight \
	Stippler \
	Term \
	Up
#endif

#if HasMkstemp
  MKTMP_DEFINES = -DHAS_MKSTEMP
#endif
        DEFINES = $(IEEE_DEFS) $(SIGNAL_DEFINES) $(MKTMP_DEFINES)
        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
          SRCS1 = BitEdit.c CutPaste.c Graphics.c ReqMach.c Bitmap.c \
                  Dialog.c Handlers.c 
          OBJS1 = BitEdit.o CutPaste.o Graphics.o ReqMach.o Bitmap.o \
                  Dialog.o Handlers.o 
          SRCS2 = bmtoa.c
          OBJS2 = bmtoa.o
          SRCS3 = atobm.c
          OBJS3 = atobm.o
       PROGRAMS = ProgramTargetName(bitmap) ProgramTargetName(bmtoa) ProgramTargetName(atobm)

ComplexProgramTarget_1(bitmap,$(LOCAL_LIBRARIES),MathLibrary)
NormalProgramTarget(bmtoa,$(OBJS2),NullParameter,$(XMULIB),NullParameter)
NormalProgramTarget(atobm,$(OBJS3),NullParameter,NullParameter,NullParameter)

BuildIncludes($(BUTTONPICTURES),X11/bitmaps,../..)

#if CaseSensitiveFileSystem
InstallAppDefaults(Bitmap)
#else
InstallAppDefaultsLong(Bitmap-nocase,Bitmap)
#endif
InstallAppDefaultsLong(Bitmap-co,Bitmap-color)
InstallMultipleDestFlags(install,$(BUTTONPICTURES),$(INCDIR)/X11/bitmaps,$(INSTINCFLAGS))

InstallProgramWithFlags(bmtoa,$(BINDIR),NullParameter)
InstallProgramWithFlags(atobm,$(BINDIR),NullParameter)
InstallManPageAliases(bitmap,$(MANDIR),bmtoa atobm)
