diff options
author | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 |
commit | a2e4ac21444fd9af436039ba921e809cfca59ea2 (patch) | |
tree | e12c692527bc9b2b373cf0a4956f0ff458045cd7 /oncology/dpfhack_display/python/Makefile | |
parent | efe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff) | |
parent | cf46dbc53b36772fb0461b9451337c118e705c55 (diff) |
Gigantor Merge!
Conflicts:
cholerab/news/Candidate - add Ante scriptum
cholerab/shirts/bestellliste - merged as theirs
oncology/dpfhack_display - now a submodule
add bug-fixing for adv_graphgen, as well as a Makefile
Diffstat (limited to 'oncology/dpfhack_display/python/Makefile')
-rw-r--r-- | oncology/dpfhack_display/python/Makefile | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/oncology/dpfhack_display/python/Makefile b/oncology/dpfhack_display/python/Makefile deleted file mode 100644 index 6d10be20..00000000 --- a/oncology/dpfhack_display/python/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# Cygwin/Linux-GCC Makefile -# -# $Id: Makefile 301 2010-09-30 13:09:13Z strubi $ -# -# This is the GNU Makefile to create: -# - a Python module for the API tester -# - -DEVLIB = .. - -############################################################################ -# Configure these to your needs -LIBNAME = dpf -DLLCSRCS = -COMMONSRCDIR = $(DEVLIB)/python -DLLINSTALLDIR = ../$(CONFIG) -DLLCOMMONSRCS = py_device.c -DEBUGOPTS = -g - -ifdef DEBUG - DEBUGOPTS += -DDEBUG -endif - -CLIENTLIB = -L$(DEVLIB)/dpflib -ldpf -lusb - -############################################################################ - -MODULENAME = $(LIBNAME) - -ifndef PLATFORM -PLATFORM=$(shell "uname") -endif - -ifeq (Linux, $(PLATFORM)) - PYTHON=$(shell pyversions -d) - include $(DEVLIB)/unixdll.mk - DLLDEPS = $(CLIENTLIB) -l$(PYTHON) - PYTHONINCLUDES = -I/usr/include/$(PYTHON) -else - - PYTHONSRC = $(HOME)/src/EXTERN/Python26 - -ifeq (mingw32, $(PLATFORM)) - include $(DEVLIB)/msdll.mk - PYTHONINCLUDES = -I$(PYTHONSRC)/include - CFLAGS += -DDLL_EXPORTS - DLLDEPS = -L$(PYTHONSRC)/libs -lpython26 - DLLDEPS += $(CLIENTLIB) -lws2_32 - DLLTOOL = i586-mingw32msvc-dlltool - DLLWRAP = i586-mingw32msvc-dllwrap -endif -endif - -INCLUDES = -I$(DEVLIB)/include -I$(DEVLIB)/dpflib -INCLUDES += $(PYTHONINCLUDES) - -CFLAGS += -DMODULENAME=$(MODULENAME) -CFLAGS += -Wall - -all: dll - -install:: installdll - @cp $(DLL) $(DLLINSTALLDIR)/$(INSTALLNAME)$(DLLEXT) - @echo ------------------------------------------------------------------- - @echo Python module installed in: - @echo `pwd`/$(DLLINSTALLDIR)/$(INSTALLNAME)$(DLLEXT) - @echo ------------------------------------------------------------------- - @echo - |