| 1 | # Copyright 2000, International Business Machines Corporation and others. |
| 2 | # All Rights Reserved. |
| 3 | # |
| 4 | # This software has been released under the terms of the IBM Public |
| 5 | # License. For details, see the LICENSE file in the top-level source |
| 6 | # directory or online at http://www.openafs.org/dl/license10.html |
| 7 | |
| 8 | srcdir=@srcdir@ |
| 9 | include @TOP_OBJDIR@/src/config/Makefile.config |
| 10 | include @TOP_OBJDIR@/src/config/Makefile.lwp |
| 11 | |
| 12 | |
| 13 | LIBS=-lcmd $(TOP_LIBDIR)/libafscom_err.a -lafsutil $(LIB_roken) $(XLIBS) |
| 14 | |
| 15 | all: test |
| 16 | test tests: ctest dtest itest |
| 17 | |
| 18 | itest: itest.o |
| 19 | $(AFS_LDRULE) itest.o $(LDIRS) $(LIBS) |
| 20 | |
| 21 | ctest: ctest.o |
| 22 | $(AFS_LDRULE) ctest.o $(LDIRS) $(LIBS) |
| 23 | |
| 24 | dtest: dtest.o |
| 25 | $(AFS_LDRULE) dtest.o $(LDIRS) $(LIBS) |
| 26 | |
| 27 | system: test |
| 28 | |
| 29 | clean: |
| 30 | $(RM) -f *.a *.o ctest dtest itest core |
| 31 | |
| 32 | install: |
| 33 | dest: |