@@ -252,8 +252,7 @@ SRC.MODULES= $(addprefix $(TOP), \
252252 Modules/gcmodule.c \
253253 Modules/signalmodule.c \
254254 Modules/posixmodule.c \
255- Modules/threadmodule.c \
256- Modules/_sre.c)
255+ Modules/threadmodule.c)
257256SRC.PARSER = $(addprefix $(TOP ) , \
258257 Parser/acceler.c \
259258 Parser/grammar1.c \
@@ -382,11 +381,13 @@ HARDEXTMODULES= binascii \
382381 pcre \
383382 regex \
384383 _socket \
384+ _sre \
385385 termios \
386386 _testcap \
387387 unicoded \
388388 _weakref \
389- xreadlin
389+ xreadlin \
390+ xxsubtyp
390391
391392# Python external ($(MODULE.EXT)) modules - can be EASY or HARD
392393ifeq ($(ZLIB ) ,yes)
@@ -513,6 +514,9 @@ regex$(MODULE.EXT): $(OUT)regexmodule$O $(OUT)regexpr$O $(OUT)regex_m.def $(PYTH
513514_socket$(MODULE.EXT ) : $(OUT ) socketmodule$O $(OUT ) _socket_m.def $(PYTHON.IMPLIB )
514515 $(LD ) $(LDFLAGS.DLL ) -o $@ $(^^ ) $(L^ ) $(LIBS )
515516
517+ _sre$(MODULE.EXT ) : $(OUT ) _sre$O $(OUT ) _sre_m.def $(PYTHON.IMPLIB )
518+ $(LD ) $(LDFLAGS.DLL ) -o $@ $(^^ ) $(L^ ) $(LIBS )
519+
516520# _symtable needs to be renamed to be useful
517521_symtable$(MODULE.EXT ) : $(OUT ) symtablemodule$O $(OUT ) _symtable_m.def $(PYTHON.IMPLIB )
518522 $(LD ) $(LDFLAGS.DLL ) -o $@ $(^^ ) $(L^ ) $(LIBS )
@@ -547,6 +551,13 @@ xreadlines$(MODULE.EXT): $(OUT)xreadlinesmodule$O $(OUT)xreadlines_m.def $(PYTHO
547551xreadlin$(MODULE.EXT ) : xreadlines$(MODULE.EXT )
548552 cp $^ $@
549553
554+ # xxsubtype needs to be renamed to be useful
555+ xxsubtype$(MODULE.EXT ) : $(OUT ) xxsubtype$O $(OUT ) xxsubtype_m.def $(PYTHON.IMPLIB )
556+ $(LD ) $(LDFLAGS.DLL ) -o $@ $(^^ ) $(L^ ) $(LIBS )
557+
558+ xxsubtyp$(MODULE.EXT ) : xxsubtype$(MODULE.EXT )
559+ cp $^ $@
560+
550561# - optional modules (requiring other software to be installed)
551562bsddb$(MODULE.EXT ) : $(OUT ) bsddbmodule$O $(OUT ) bsddb_m.def $(PYTHON.IMPLIB )
552563 $(LD ) $(LDFLAGS.DLL ) -o $@ $(^^ ) $(L^ ) -ldb $(LIBS )
0 commit comments