1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
COMM
COMM Copyright (C) 2004-2005 by CERN
COMM All rights reserved
COMM
COMM @(#)$RCSfile: Imakefile,v $ $Revision: 1.7 $ $Date: 2005/11/11 15:39:23 $ CERN Jean-Philippe Baud
COMM Make dpm socket tests
#if BuildSecurity
LIBCSEC = -ldl
#endif
INCLUDES = FileName(FileName(..,..),h)
#if SOLARIS
LIBS = -L../../lib -ldpm -lsocket -lnsl
#else
LIBS = -L../../lib -ldpm $(LIBCSEC)
#endif
RFIOFLG = -DGFAL_ENABLE_RFIO
prefixsocket = $(prefix)/test/sbin/
COMM######################### FLAGS ##############################
CFLAGS = -I$(INCLUDES)
COMM######################### RULES ##############################
PROGS = ProgramTargetName(dpm_testcopy) \
ProgramTargetName(dpm_testget) \
ProgramTargetName(dpm_testgetprotocols) \
ProgramTargetName(dpm_testput) \
ProgramTargetName(dpm_testputdone)
SCRIPTS = socketSuite \
socketStress
PROGSBIN = $(addprefix $(prefixsocket),$(PROGS) $(SCRIPTS))
all: $(PROGS)
NormalProgramTarget(dpm_testcopy,dpm_testcopy.Osuf,$(DEPLIBS),$(LIBS) $(SECLIB))
NormalProgramTarget(dpm_testget,dpm_testget.Osuf,$(DEPLIBS),$(LIBS) $(SECLIB))
NormalProgramTarget(dpm_testgetprotocols,dpm_testgetprotocols.Osuf,$(DEPLIBS),$(LIBS) $(SECLIB))
NormalProgramTarget(dpm_testput,dpm_testput.Osuf,$(DEPLIBS),$(LIBS) $(SECLIB))
NormalProgramTarget(dpm_testputdone,dpm_testputdone.Osuf,$(DEPLIBS),$(LIBS) $(SECLIB))
install: $(PROGSBIN)
install.man:
$(prefixsocket)%: %
cp $? $@
COMM###################### CLEANING RULES ########################
clean:
-@RemoveFiles(FilesToClean)
clobber: clean
-@RemoveFiles($(PROGS))
#if _WIN32
depend:
@echo Not supported on this platform
#else
depend:
makedepend -Y$(INCLUDES) *.c 2> /dev/null
#endif
Makefiles:
FORCE:
COMM###################### DEPENDENCIES ##########################
COMM DO NOT DELETE THIS LINE -- make depend depends on it.
|