Imakefile   [plain text]


XCOMM $XFree86: xc/programs/xtrap/Imakefile,v 1.3 2001/11/15 12:56:16 alanh Exp $

        DEPLIBS = $(DEPXTRAPLIB) $(DEPEXTENSIONLIB) $(DEPXTOOLLIB) $(DEPXLIB)
         KEYSRC = XEKeybCtrl.c
         KEYOBJ = XEKeybCtrl.o
          SRCS1 = xtrapinfo.c $(KEYSRC)
          OBJS1 = xtrapinfo.o $(KEYOBJ)
          SRCS2 = xtrapout.c  $(KEYSRC)
          OBJS2 = xtrapout.o  $(KEYOBJ)
          SRCS3 = xtrapreset.c  $(KEYSRC)
          OBJS3 = xtrapreset.o  $(KEYOBJ)
          SRCS4 = xtrapstats.c  $(KEYSRC)
          OBJS4 = xtrapstats.o  $(KEYOBJ)
          SRCS5 = xtrapin.c  $(KEYSRC)
          OBJS5 = xtrapin.o  $(KEYOBJ)
          SRCS6 = xtrapproto.c  $(KEYSRC)
          OBJS6 = xtrapproto.o  $(KEYOBJ)
          SRCS7 = xtrapchar.c chparse.c  $(KEYSRC)
          OBJS7 = xtrapchar.o chparse.o  $(KEYOBJ)
LOCAL_LIBRARIES = $(XTRAPLIB) $(XTOOLLIB) $(XLIB)

      PROGRAMS = ProgramTargetName(xtrapinfo) \
		 ProgramTargetName(xtrapout) \
		 ProgramTargetName(xtrapreset) \
		 ProgramTargetName(xtrapstats) \
		 ProgramTargetName(xtrapin) \
                 ProgramTargetName(xtrapproto) \
		 ProgramTargetName(xtrapchar)
         SRCS  = $(SRCS1) $(SRCS2) $(SRCS3) $(SRCS4) $(SRCS5) $(SRCS6) $(SRCS7) $(SRCS8)
         OBJS  = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) $(OBJS6) $(OBJS7) $(OBJS8)

AllTarget($(PROGRAMS))

SingleProgramTarget(xtrapinfo,$(OBJS1),$(LOCAL_LIBRARIES),)
SingleProgramTarget(xtrapout,$(OBJS2),$(LOCAL_LIBRARIES),ExtraLibraries)
SingleProgramTarget(xtrapreset,$(OBJS3),$(LOCAL_LIBRARIES),)
SingleProgramTarget(xtrapstats,$(OBJS4),$(LOCAL_LIBRARIES),)
SingleProgramTarget(xtrapin,$(OBJS5),$(LOCAL_LIBRARIES),ExtraLibraries)
SingleProgramTarget(xtrapproto,$(OBJS6),$(LOCAL_LIBRARIES),ExtraLibraries)
SingleProgramTarget(xtrapchar,$(OBJS7),$(LOCAL_LIBRARIES),ExtraLibraries)

InstallProgram(xtrapinfo,$(BINDIR))
InstallProgram(xtrapout,$(BINDIR))
InstallProgram(xtrapreset,$(BINDIR))
InstallProgram(xtrapstats,$(BINDIR))
InstallProgram(xtrapin,$(BINDIR))
InstallProgram(xtrapproto,$(BINDIR))
InstallProgram(xtrapchar,$(BINDIR))

InstallManPage(xtrap,$(MANDIR))
InstallManPageAliases(xtrap,$(MANDIR),xtrapreset xtrapinfo xtrapstats xtrapout xtrapin xtrapchar xtrapproto)

DependTarget()