pybank r59 - trunk



Author: johan
Date: Wed Aug 20 18:36:17 2008
New Revision: 59
URL: http://svn.gnome.org/viewvc/pybank?rev=59&view=rev

Log:
Remove repository regeneration

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Wed Aug 20 18:36:17 2008
@@ -6,53 +6,17 @@
 PY_CFLAGS=-I/usr/include/python$(PY_VERSION) `pkg-config --cflags pygobject-2.0`
 PY_LIBS=-lpython$(PY_VERSION)
 
-POPPLER_DIR=/usr/local/lib
-
-BANK_SOURCES = 			\
+BANK_SOURCES =			\
 	bank/bank.c		\
-	bank/bank-argument.c 	\
-	bank/bank-info.c 	\
+	bank/bank-argument.c	\
+	bank/bank-info.c	\
 	bank/bank-repository.c
 
-all: bank/repo.so Poppler.repo GLib.repo Atk.repo Pango.repo Gdk.repo Gtk.repo
+all: bank/repo.so
 
 bank/repo.so: $(BANK_SOURCES)
-	gcc -fPIC -shared -o bank/repo.so $(BANK_SOURCES) $(IR_CFLAGS) $(IR_LIBS) $(PY_CFLAGS) $(PY_LIBS) 
-
-data/Atk.gidl: defs2gidl.py defs/atk.defs defs/atk-types.defs
-	python defs2gidl.py -o $@ \
-                -l libatk-1.0.so \
-	        Atk defs/atk.defs 
-
-data/Pango.gidl: defs2gidl.py defs/pango.defs defs/pango-types.defs
-	python defs2gidl.py -o $@ \
-		-l libpango-1.0.so \
-                Pango defs/pango.defs 
-
-data/Gdk.gidl: defs2gidl.py data/Atk.gidl data/Pango.gidl defs/gdk-base.defs defs/gdk-base-types.defs
-	python defs2gidl.py -o $@ \
-		-a defs/atk-types.defs \
-		-a defs/pango-types.defs \
-		-l libgdk-x11-2.0.so \
-		Gdk defs/gdk-base.defs
-
-data/Gtk.gidl: defs2gidl.py data/Atk.gidl data/Pango.gidl data/Gdk.gidl defs/gtk-base.defs defs/gtk-base-types.defs
-	python defs2gidl.py -o $@ \
-		-a defs/atk-types.defs \
-		-a defs/pango-types.defs \
-		-a defs/gdk-base-types.defs \
-		-l libgtk-x11-2.0.so \
-		Gtk defs/gtk-base.defs
+	gcc -fPIC -shared -o bank/repo.so $(BANK_SOURCES) $(IR_CFLAGS) $(IR_LIBS) $(PY_CFLAGS) $(PY_LIBS)
 
 clean:
-	@rm -f bank/repo.so *.repo
-
-%.repo: data/%.gidl
-	g-idl-compiler --raw $< --output $@
-
-test: bank/repo.so poppler.repo
-	LD_PRELOAD=$(POPPLER_DIR)/libpoppler-glib.so \
-        LD_LIBRARY_PATH=$(POPPLER_DIR) python$(PY_VERSION) simple.py test.pdf
+	@rm -f bank/repo.so
 
-test2: bank/repo.so gdkpixbuf.repo
-	LD_PRELOAD=/usr/lib/libgdk_pixbuf-2.0.so python$(PY_VERSION) simple2.py



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]