1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../libgli/cc.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
16 diff -pruN libgli-0.4_orig/src/Makefile libgli-0.4/src/Makefile
17 --- libgli-0.4_orig/src/Makefile 2002-12-16 08:24:07.000000000 +0100
18 +++ libgli-0.4/src/Makefile 2004-01-17 11:23:16.000000000 +0100
19 @@ -2,16 +2,18 @@ CFLAGS = -pedantic -ansi -Wall -I./inclu
24 +all: libgli.so libgli.a
27 rm -f $(prefix)/lib/libgli-$(VERSION).so
28 rm -f $(prefix)/lib/libgli.so
29 + rm -f $(prefix)/lib/libgli.a
30 rm -f $(prefix)/include/gli*.h
33 +install: libgli.so libgli.a
34 cp libgli.so $(prefix)/lib/libgli-$(VERSION).so
35 ln -sf $(prefix)/lib/libgli-$(VERSION).so $(prefix)/lib/libgli.so
36 + cp libgli.a $(prefix)/lib/libgli.a
37 cp include/gli*.h $(prefix)/include
39 gli_button.o: gli_button.cpp
40 @@ -58,6 +60,13 @@ libgli.so: gli_button.o gli_frame.o gli_
41 gli_texture_tga.o gli_editbox.o gli_image.o gli_progress.o
42 $(C++) $(CFLAGS) gli*.o -o libgli.so $(LFLAGS)
44 +libgli.a: gli_button.o gli_frame.o gli_glf.o gli_interface.o gli_object.o \
45 + gli_text.o gli_texture.o gli_window.o gli_texture_rgb.o \
46 + gli_texture_tga.o gli_editbox.o gli_image.o gli_progress.o
47 + ar rcs libgli.a gli*.o