aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd106
1 files changed, 53 insertions, 53 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd
index ced7be2..994608c 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd
+++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.freebsd
@@ -1,53 +1,53 @@
1# makefile for libpng under FreeBSD 1# makefile for libpng under FreeBSD
2# Copyright (C) 2002, 2007, 2009 Glenn Randers-Pehrson and Andrey A. Chernov 2# Copyright (C) 2002, 2007, 2009 Glenn Randers-Pehrson and Andrey A. Chernov
3# 3#
4# This code is released under the libpng license. 4# This code is released under the libpng license.
5# For conditions of distribution and use, see the disclaimer 5# For conditions of distribution and use, see the disclaimer
6# and license in png.h 6# and license in png.h
7 7
8PREFIX?= /usr/local 8PREFIX?= /usr/local
9SHLIB_VER?= 15 9SHLIB_VER?= 15
10 10
11LIB= png 11LIB= png
12SHLIB_MAJOR= ${SHLIB_VER} 12SHLIB_MAJOR= ${SHLIB_VER}
13SHLIB_MINOR= 0 13SHLIB_MINOR= 0
14NOPROFILE= YES 14NOPROFILE= YES
15NOOBJ= YES 15NOOBJ= YES
16 16
17# where make install puts libpng.a and png.h 17# where make install puts libpng.a and png.h
18DESTDIR= ${PREFIX} 18DESTDIR= ${PREFIX}
19LIBDIR= /lib 19LIBDIR= /lib
20INCS= png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 20INCS= png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
21INCSDIR= /include/libpng 21INCSDIR= /include/libpng
22INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk 22INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk
23MAN= libpng.3 libpngpf.3 png.5 23MAN= libpng.3 libpngpf.3 png.5
24MANDIR= /man/man 24MANDIR= /man/man
25SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \ 25SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
26 libpng/pngconf.h ${INCSDIR}/../pngconf.h \ 26 libpng/pngconf.h ${INCSDIR}/../pngconf.h \
27 libpng/pnglibconf.h ${INCSDIR}/../pnglibconf.h 27 libpng/pnglibconf.h ${INCSDIR}/../pnglibconf.h
28LDADD+= -lm -lz 28LDADD+= -lm -lz
29DPADD+= ${LIBM} ${LIBZ} 29DPADD+= ${LIBM} ${LIBZ}
30 30
31CFLAGS+= -I. 31CFLAGS+= -I.
32 32
33SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ 33SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
34 pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ 34 pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
35 pngwtran.c pngmem.c pngerror.c pngpread.c 35 pngwtran.c pngmem.c pngerror.c pngpread.c
36 36
37pngtest: pngtest.o libpng.a 37pngtest: pngtest.o libpng.a
38 ${CC} ${CFLAGS} -L. -static -o pngtest pngtest.o -lpng -lz -lm 38 ${CC} ${CFLAGS} -L. -static -o pngtest pngtest.o -lpng -lz -lm
39 39
40CLEANFILES= pngtest pngtest.o pngout.png 40CLEANFILES= pngtest pngtest.o pngout.png
41 41
42test: pngtest 42test: pngtest
43 ./pngtest 43 ./pngtest
44 44
45# see scripts/pnglibconf.mak for more options 45# see scripts/pnglibconf.mak for more options
46pnglibconf.h: scripts/pnglibconf.h.prebuilt 46pnglibconf.h: scripts/pnglibconf.h.prebuilt
47 cp scripts/pnglibconf.h.prebuilt $@ 47 cp scripts/pnglibconf.h.prebuilt $@
48 48
49DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO 49DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
50writelock: 50writelock:
51 chmod a-w *.[ch35] $(DOCS) scripts/* 51 chmod a-w *.[ch35] $(DOCS) scripts/*
52 52
53.include <bsd.lib.mk> 53.include <bsd.lib.mk>