vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / xmem / lib / diag / GNUmakefile
blob0a3d48e90eb085e3877f6a73b64470b83a3a4cf2
1 #================================================================
2 # Makefile to produce standard CTR-P test program
3 #================================================================
5 CPU=ppc4
7 include /acc/dsc/src/co/Make.auto
9 CFLAGS= -g -Wall -I. -I..
11 ifeq ($(CPU), L864)
12 LDLIBS = ../libxmem.$(CPU).a -lrt
13 endif
15 ifeq ($(CPU), L865)
16 LDLIBS = ../libxmem.$(CPU).a -lrt
17 endif
19 ifeq ($(CPU), ppc4)
20 LDLIBS = ../libxmem.$(CPU).a
21 endif
23 ALL = xmemdiag.$(CPU) xmemdiag.$(CPU).o
25 SRCS = xmemdiag.c XmemCmds.c DoCmd.c GetAtoms.c Cmds.c PrintAtoms.c
27 HDRS = Cmds.h XmemDiag.h ../libxmem.h
29 DIAG = xmemdiag.c XmemCmds.c DoCmd.c GetAtoms.c Cmds.c PrintAtoms.c
31 all: $(ALL)
33 clean:
34 $(RM) $(ALL) $(BAKS)
36 # Run on Workstation only
38 xmemdiag.$(CPU).o: $(DIAG) $(HDRS)
40 install: $(ALL)
41 dsc_install xmemdiag.$(CPU) /acc/dsc/lab/$(CPU)/xmem
42 dsc_install xmemdiag.$(CPU) /acc/dsc/oper/$(CPU)/xmem
43 dsc_install xmemdiag.$(CPU) /acc/dsc/oplhc/$(CPU)/xmem