summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-16 04:52:11 -0500
committermidipix <writeonce@midipix.org>2018-12-16 04:52:11 -0500
commitc96bf6856ec6e94c45f4c34017ed1d086b554b04 (patch)
tree7e6ed849865943c2b349563a44a32325563aef99 /project
parent68a078941b33ed55621586e5f699767e565be47f (diff)
downloadsbpython2-c96bf6856ec6e94c45f4c34017ed1d086b554b04.tar.bz2
sbpython2-c96bf6856ec6e94c45f4c34017ed1d086b554b04.tar.xz
project: extension objects: remove obsolete rules (all are under pyext/obj).
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk46
1 files changed, 1 insertions, 45 deletions
diff --git a/project/extras.mk b/project/extras.mk
index dc30cb0..6f81e50 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -37,7 +37,7 @@ else
CFLAGS_CONFIG += -DHAVE_DYNAMIC_LOADING
endif
-# top-level extension objects
+# extension objects
pyext/obj/%.lo: $(SOURCE_DIR)/Modules/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
@@ -53,56 +53,12 @@ pyext/%$(OS_LIB_SUFFIX): $(DSO_REF_SOLINK)
$(CC) -shared -o $@ $^ $(LDFLAGS_SHARED) $(LDFLAGS_DYNEXT) \
-l$(PACKAGE) $(LDFLAGS_DEPS)
-
# statically linked extension
pyext/%$(OS_ARCHIVE_EXT):
rm -f $@
$(AR) rcs $@ $^
-# compile rules for python's extension modules
-Modules/cjkcodecs/%.lo: $(SOURCE_DIR)/Modules/cjkcodecs/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/cjkcodecs/%.o: $(SOURCE_DIR)/Modules/cjkcodecs/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
-Modules/expat/%.lo: $(SOURCE_DIR)/Modules/expat/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/expat/%.o: $(SOURCE_DIR)/Modules/expat/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
-Modules/zlib/%.lo: $(SOURCE_DIR)/Modules/zlib/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/zlib/%.o: $(SOURCE_DIR)/Modules/zlib/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
-Modules/_ctypes/%.lo: $(SOURCE_DIR)/Modules/_ctypes/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/_ctypes/%.o: $(SOURCE_DIR)/Modules/_ctypes/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
-Modules/_io/%.lo: $(SOURCE_DIR)/Modules/_io/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/_io/%.o: $(SOURCE_DIR)/Modules/_io/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
-Modules/_multiprocessing/%.lo: $(SOURCE_DIR)/Modules/_multiprocessing/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/_multiprocessing/%.o: $(SOURCE_DIR)/Modules/_multiprocessing/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
-Modules/_sqlite/%.lo: $(SOURCE_DIR)/Modules/_sqlite/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_SHARED)
-
-Modules/_sqlite/%.o: $(SOURCE_DIR)/Modules/_sqlite/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
- $(CC) -c -o $@ $< $(CFLAGS_STATIC)
-
# build rules for python's extension modules
include $(PROJECT_DIR)/project/pyexts.mk