Made sure Makefile works with NetBSD.
This commit is contained in:
parent
0006b8da9d
commit
ffa7fede90
2 changed files with 8 additions and 4 deletions
7
Makefile
7
Makefile
|
|
@ -4,7 +4,7 @@
|
|||
# bill@newbreedsoftware.com
|
||||
# http://www.tuxpaint.org/
|
||||
|
||||
# June 14, 2002 - May 29, 2008
|
||||
# June 14, 2002 - June 22, 2008
|
||||
|
||||
|
||||
# The version number, for release:
|
||||
|
|
@ -200,7 +200,7 @@ endif
|
|||
|
||||
#-ffast-math
|
||||
OPTFLAGS:=-O2
|
||||
CFLAGS:=$(OPTFLAGS) -W -Wall -fno-common -ffloat-store \
|
||||
CFLAGS:=$(CPPFLAGS) $(OPTFLAGS) -W -Wall -fno-common -ffloat-store \
|
||||
$(call comptest,-fvisibility=hidden,) \
|
||||
-Wcast-align -Wredundant-decls \
|
||||
-Wbad-function-cast -Wwrite-strings \
|
||||
|
|
@ -965,12 +965,13 @@ src/tp_magic_api.h: src/tp_magic_api.h.in
|
|||
tp-magic-config: src/tp-magic-config.sh.in Makefile
|
||||
@echo
|
||||
@echo "...Generating 'Magic' tool API configuration script..."
|
||||
@sed src/tp-magic-config.sh.in -e s/__VERSION__/$(VER_VERSION)/ \
|
||||
@sed -e s/__VERSION__/$(VER_VERSION)/ \
|
||||
-e s/__APIVERSION__/$(MAGIC_API_VERSION)/ \
|
||||
-e s=__INCLUDE__=$(INCLUDE_PREFIX)/tuxpaint= \
|
||||
-e s=__DATAPREFIX__=$(DATA_PREFIX)= \
|
||||
-e s=__PLUGINPREFIX__=$(MAGIC_PREFIX)= \
|
||||
-e s=__PLUGINDOCPREFIX__=$(DOC_PREFIX)/magic-docs= \
|
||||
src/tp-magic-config.sh.in \
|
||||
> tp-magic-config
|
||||
|
||||
# Make the "obj" directory to throw the object(s) into:
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ http://www.tuxpaint.org/
|
|||
$Id$
|
||||
|
||||
|
||||
2008.June.21 (0.9.20)
|
||||
2008.June.22 (0.9.20)
|
||||
* New translations:
|
||||
-----------------
|
||||
* Asturian
|
||||
|
|
@ -89,6 +89,9 @@ $Id$
|
|||
without sound, etc.
|
||||
Albert Cahalan <albert@users.sf.net>
|
||||
|
||||
* Made sure Makefile works with NetBSD again.
|
||||
Thomas Klausner <tk@giga.or.at>
|
||||
|
||||
* Makefile edited so that Tux Paint can be installed in the absence
|
||||
of gettext in the system.
|
||||
Arunodai Vudem <arunvudem@gmail.com>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue