summaryrefslogtreecommitdiff
path: root/graphics/libfpx/files/Makefile.bsd
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-10 20:35:18 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-10 20:35:18 +0000
commite76e22afb65de5c322744a727a4e3c45ad0fff95 (patch)
treef1c175b277877c5f1c2eca7dfeb61132bb6540e7 /graphics/libfpx/files/Makefile.bsd
parentMark BROKEN on alpha: Problems with unaligned access. (diff)
Add libfpx 1.2.0, library routines for working with Flashpix images.
PR: 24313 Submitted by: mi
Notes
Notes: svn path=/head/; revision=39465
Diffstat (limited to 'graphics/libfpx/files/Makefile.bsd')
-rw-r--r--graphics/libfpx/files/Makefile.bsd35
1 files changed, 35 insertions, 0 deletions
diff --git a/graphics/libfpx/files/Makefile.bsd b/graphics/libfpx/files/Makefile.bsd
new file mode 100644
index 000000000000..92fa703a2fc1
--- /dev/null
+++ b/graphics/libfpx/files/Makefile.bsd
@@ -0,0 +1,35 @@
+LIB = fpx
+INCS = fpxlib.h
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 2
+
+LIBDIR = ${LOCALBASE}/lib
+INCDIR = ${LOCALBASE}/include
+
+NOPROFILE= Don't want it
+
+CPPS != find ${.CURDIR} -name \*.cpp -print
+# Some of the .cxx files are #include-ed into others, so can't use `find' here:
+OLESS := ascii.cxx cdocfile.cxx chinst.cxx dffuncs.cxx dfiter.cxx \
+ dfstream difat.cxx dir.cxx dirp.cxx docfile.cxx entry.cxx \
+ expdf.cxx expiter expst.cxx fat.cxx funcs.cxx header.cxx \
+ iter.cxx mem.cxx msf msfiter.cxx mstream.cxx page.cxx \
+ refilb.cxx rexpdf.cxx sstream.cxx storage.cxx time.cxx \
+ vect.cxx wchar.c
+JPGS != find ${.CURDIR}/jpeg -name \*.c
+
+CPPS += ${OLESS:S/^/${.CURDIR}\/oless\//} ${JPGS}
+
+SRCS = ${CPPS:T}
+
+CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX
+CXXFLAGS+= -fno-rtti -fno-exceptions
+LDADD += -L${LOCALBASE}/lib -ljpeg
+
+.PATH: ${CPPS:H}
+
+.for d in oless/h jpeg ole basics ri_image oless fpx
+CXXFLAGS+= -I${.CURDIR}/$d
+.endfor
+
+.include <bsd.lib.mk>