Makefile (9268022b74279434ed6300244e3f977e56a8ceb5) | Makefile (6b129086dcee14496517fae085b448e3edc69bc7) |
---|---|
1# $FreeBSD$ 2# 3# Copyright (c) 2010 Hans Petter Selasky. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25# 26 27LIB= cuse 28SHLIB_MAJOR= 1 29SHLIB_MINOR= 0 30SRCS= cuse_lib.c 31INCS= cuse.h 32MAN= cuse.3 | 1# $FreeBSD$ 2# 3# Copyright (c) 2010 Hans Petter Selasky. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25# 26 27LIB= cuse 28SHLIB_MAJOR= 1 29SHLIB_MINOR= 0 30SRCS= cuse_lib.c 31INCS= cuse.h 32MAN= cuse.3 |
33PTHREAD_LIBS?= -lpthread | |
34CFLAGS+= -D_GNU_SOURCE 35.if defined(HAVE_DEBUG) 36CFLAGS+= -g 37CFLAGS+= -DHAVE_DEBUG 38.endif | 33CFLAGS+= -D_GNU_SOURCE 34.if defined(HAVE_DEBUG) 35CFLAGS+= -g 36CFLAGS+= -DHAVE_DEBUG 37.endif |
39DPADD+= ${LIBPTHREAD} 40LDADD+= ${PTHREAD_LIBS} | 38LIBADD= pthread |
41 42MLINKS= 43MLINKS+= cuse.3 cuse_alloc_unit_number.3 44MLINKS+= cuse.3 cuse_alloc_unit_number_by_id.3 45MLINKS+= cuse.3 cuse_copy_in.3 46MLINKS+= cuse.3 cuse_copy_out.3 47MLINKS+= cuse.3 cuse_dev_create.3 48MLINKS+= cuse.3 cuse_dev_destroy.3 --- 22 unchanged lines hidden --- | 39 40MLINKS= 41MLINKS+= cuse.3 cuse_alloc_unit_number.3 42MLINKS+= cuse.3 cuse_alloc_unit_number_by_id.3 43MLINKS+= cuse.3 cuse_copy_in.3 44MLINKS+= cuse.3 cuse_copy_out.3 45MLINKS+= cuse.3 cuse_dev_create.3 46MLINKS+= cuse.3 cuse_dev_destroy.3 --- 22 unchanged lines hidden --- |