minix/commands/pkg_install/Makefile.inc

21 lines
591 B
PHP
Raw Normal View History

.include <bsd.own.mk>
2010-07-19 13:58:39 +02:00
BINDIR= /usr/sbin
# These have to be passed as strings to the c files.
2010-07-19 13:28:51 +02:00
PKG_LOG_DIR= \"/usr/db/pkg\"
PKG_SYCONFDIR= \"/etc\"
PKG_OPSYS_NAME= \"Minix\"
PKG_MACHINE_ARCH= \"${ARCH}\"
PKG_BINDIR= \"${BINDIR}\"
CPPFLAGS+= -DHAVE_CONFIG_H -D_MINIX -D_POSIX_SOURCE
CPPFLAGS+= -DDEF_LOG_DIR=${PKG_LOG_DIR}
CPPFLAGS+= -DSYSCONFDIR=${PKG_SYCONFDIR}
CPPFLAGS+= -DMACHINE_ARCH=${PKG_MACHINE_ARCH}
CPPFLAGS+= -DOPSYS_NAME=${PKG_OPSYS_NAME}
CPPFLAGS+= -DBINDIR=${PKG_BINDIR}
CPPFLAGS+= -I../ -I../lib
LDFLAGS+= -L../lib
LDADD= -linstall -lfetch -larchive -lz -lbz2 -lutil