[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / pmdb

Annotation of src/usr.bin/pmdb/Makefile, Revision 1.5

1.5     ! art         1: #      $OpenBSD: Makefile,v 1.4 2002/03/15 16:45:10 drahn Exp $
1.1       art         2:
                      3: .include <bsd.own.mk>
                      4:
1.5     ! art         5: .if (!exists(arch/${MACHINE}/Makefile.inc) && \
        !             6:     !exists(arch/${MACHINE_ARCH}/Makefile.inc))
        !             7: NOMAN=no, man
        !             8: NOPROG=no, man
        !             9: .else
        !            10:
1.1       art        11: PROG=pmdb
                     12: SRCS=pmdb.c symbol.c clit.c process.c signal.c break.c
                     13:
                     14: # support for NetBSD
                     15: .if defined(OBJECT_FMT)
                     16: .if ${OBJECT_FMT} == "ELF"
                     17: ELF_TOOLCHAIN=yes
                     18: .else
                     19: ELF_TOOLCHAIN=no
                     20: .endif
                     21: .endif
                     22:
                     23: .if (${ELF_TOOLCHAIN} == "yes")
                     24: SRCS+=elf_syms.c
                     25: CPPFLAGS+=-DPMDB_ELF
                     26: .else
                     27: SRCS+=aout_syms.c
                     28: CPPFLAGS+=-DPMDB_AOUT
                     29: .endif
                     30:
                     31: LDADD=-ledit -lcurses
                     32: DPADD=${LIBEDIT} ${LIBTERMCAP}
                     33:
                     34: CPPFLAGS+=-I${.CURDIR}
                     35:
                     36: .if exists(arch/${MACHINE}/Makefile.inc)
                     37: .PATH: ${.CURDIR}/arch/${MACHINE}
                     38: .include "arch/${MACHINE}/Makefile.inc"
                     39: CPPFLAGS+=-I${.CURDIR}/arch/${MACHINE}
                     40: .endif
                     41:
                     42: .if (${MACHINE_ARCH} != ${MACHINE}) && exists(arch/${MACHINE_ARCH}/Makefile.inc)
                     43: .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
1.4       drahn      44: .include "arch/${MACHINE_ARCH}/Makefile.inc"
1.1       art        45: CPPFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}
                     46: .endif
                     47:
                     48: COPTS=-Wall -Wno-uninitialized
1.5     ! art        49:
        !            50: .endif
1.1       art        51:
                     52: .include <bsd.prog.mk>