[Python-modules-commits] r4606 - in packages (5 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Sat Feb 23 15:45:42 UTC 2008


    Date: Saturday, February 23, 2008 @ 15:45:40
  Author: morph-guest
Revision: 4606

[svn-inject] Installing original source of pynjb

Added:
  packages/pynjb/
  packages/pynjb/branches/
  packages/pynjb/branches/upstream/
  packages/pynjb/branches/upstream/current/
  packages/pynjb/branches/upstream/current/Makefile

Added: packages/pynjb/branches/upstream/current/Makefile
===================================================================
--- packages/pynjb/branches/upstream/current/Makefile	                        (rev 0)
+++ packages/pynjb/branches/upstream/current/Makefile	2008-02-23 15:45:40 UTC (rev 4606)
@@ -0,0 +1,50 @@
+TARGET = pynjb.so
+OFILES = sippynjbcmodule.o sippynjbNJBTime.o sippynjbNJBEAXType.o sippynjbNJBDatafileTag.o sippynjbNJBPlaylist.o sippynjbNJBPlaylistTrack.o sippynjbNJBSong.o sippynjbNJBFrame.o sippynjbNJBDevice.o
+HFILES = sipAPIpynjb.h sippynjbNJBTime.h sippynjbNJBEAXType.h sippynjbNJBDatafileTag.h sippynjbNJBPlaylist.h sippynjbNJBPlaylistTrack.h sippynjbNJBSong.h sippynjbNJBFrame.h sippynjbNJBDevice.h 
+
+CC = gcc
+CXX = g++
+LINK = g++
+CPPFLAGS = -I. -I/usr/include/python2.3
+CFLAGS = -pipe -fPIC -O2 -Wall -W
+CXXFLAGS = -pipe -fPIC -O2 -Wall -W
+LFLAGS = -shared
+LIBS = -L. -lnjb
+.SUFFIXES: .c .o .cpp .cc .cxx .C
+
+
+.cpp.o:
+	$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -o $@ $<
+
+.cc.o:
+	$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -o $@ $<
+
+.cxx.o:
+	$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -o $@ $<
+
+.C.o:
+	$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -o $@ $<
+
+.c.o:
+	$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
+
+$(TARGET): $(OFILES)
+	$(LINK) $(LFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
+
+$(OFILES): $(HFILES)
+
+install: $(TARGET)
+	@test -d $(DESTDIR)/usr/lib/python2.3/site-packages || mkdir -p $(DESTDIR)/usr/lib/python2.3/site-packages
+	cp -f $(TARGET) $(DESTDIR)/usr/lib/python2.3/site-packages/$(TARGET)
+
+clean:
+	-rm -f $(TARGET)
+	-rm -f sippynjbcmodule.o
+	-rm -f sippynjbNJBTime.o
+	-rm -f sippynjbNJBEAXType.o
+	-rm -f sippynjbNJBDatafileTag.o
+	-rm -f sippynjbNJBPlaylist.o
+	-rm -f sippynjbNJBPlaylistTrack.o
+	-rm -f sippynjbNJBSong.o
+	-rm -f sippynjbNJBFrame.o
+	-rm -f sippynjbNJBDevice.o




More information about the Python-modules-commits mailing list