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




XCOMM $XFree86: xc/programs/proxymngr/Imakefile,v 1.12 2002/05/31 18:46:08 dawes Exp $

         DEFINES = StrcasecmpDefines

         DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB)
 LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB)

         HEADERS = PM.h PMproto.h

           SRCS1 = main.c pmdb.c config.c
                   
           OBJS1 = main.o pmdb.o config.o

        PROGRAMS = ProgramTargetName(proxymngr)

        LBXPROXY = $(BINDIR)/lbxproxy

     SITE_CONFIG = -DLBXPROXY=$(LBXPROXY)

AllTarget(pmconfig)

LinkConfDirectory(proxymngr,.,proxymngr,.)

CppFileTarget(pmconfig,pmconfig.cpp,$(SITE_CONFIG),NullParameter)

BuildIncludes($(HEADERS),X11/PM,../..)
InstallMultipleFlags($(HEADERS),$(INCDIR)/X11/PM,$(INSTINCFLAGS))

ComplexProgramTarget_1(proxymngr,$(LOCAL_LIBRARIES),NullParameter)
SpecialCObjectRule(main,$(_NOOP_),'-DCONFIG_FILE="'$(PROXYMANAGERDIR)'/pmconfig"')

InstallNonExecFile(pmconfig,$(PROXYMANAGERDIR))
