[BACK]Return to Makefile.gen CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc

Annotation of othersrc/Makefile.gen, Revision 1.3

1.3     ! stacktic    1: OSNAME!=        uname -s
        !             2:
        !             3: .if ${OSNAME} == "NetBSD"
1.2       stacktic    4: PREFIX=         /usr/local
1.3     ! stacktic    5: .else
        !             6: PREFIX=                /usr/pkg
        !             7: .endif
1.1       stacktic    8: BINDIR=         ${PREFIX}/bin
                      9: INCSDIR=        ${PREFIX}/include
                     10: LIBDIR=         ${PREFIX}/lib
                     11: MANDIR=         ${PREFIX}/man
                     12:
                     13: MKCATPAGES=     no
                     14: MKHTML=         no
                     15: MKLINT=         no
                     16:
                     17: LDFLAGS+=       -Wl,-rpath=${LIBDIR}
                     18:
1.2       stacktic   19: .if ${OSNAME} == "NetBSD"
                     20: RUMPLIBDIR=    /usr/lib
1.3     ! stacktic   21: RUMPINCSDIR=   /usr/include
1.2       stacktic   22: .else
                     23: RUMPLIBDIR=    ${LIBDIR}
1.3     ! stacktic   24: RUMPINCSDIR=   ${INCSDIR}
        !            25: CFLAGS+=       -I${INCSDIR} -DHAVE_NBCOMPAT_H
        !            26: LDFLAGS+=      -L${LIBDIR} -lnbcompat -lc
        !            27: LDADD+=         -L${LIBDIR} -lnbcompat -lc
1.1       stacktic   28: .if ${OSNAME} == "Linux"
                     29: LDFLAGS+=       -ldl
                     30: LDADD+=         -ldl
                     31: .endif
                     32: .endif

CVSweb <webmaster@jp.NetBSD.org>