diff --git a/src/makefiles/Makefile.aix4 b/src/makefiles/Makefile.aix4
new file mode 100644
index 0000000000000000000000000000000000000000..b5c1c1d2c173d0a50191e4a3c88e20b3ce36a6b7
--- /dev/null
+++ b/src/makefiles/Makefile.aix4
@@ -0,0 +1,4 @@
+MK_NO_LORDER= true
+
+%$(DLSUFFIX): %.o
+	$(LD) -G -bexpall -bnoentry -o $@ $< $(LDFLAGS)
diff --git a/src/template/.similar b/src/template/.similar
index d41f0a26cefb0ce8966e756199744da4f24d5ce0..dcf8197d9a188b5679ae22f2815c3e48de9367a3 100644
--- a/src/template/.similar
+++ b/src/template/.similar
@@ -19,6 +19,8 @@ mips-sgi-irix=irix5
 powerpc-ibm-aix3.2.5=aix_325
 powerpc-ibm-aix4.1.4.0=aix_41
 powerpc-ibm-aix4.1.5.0=aix_41
+powerpc-ibm-aix4.2.1.0=aix_42
+powerpc-ibm-aix4.3.1.0=aix_42
 powerpc-unknown-linux-gnu=linux_ppc
 sparc-sun-solaris=solaris_sparc_gcc
 sparc-sun-sunos4=sunos4_gcc
diff --git a/src/template/aix_42 b/src/template/aix_42
new file mode 100644
index 0000000000000000000000000000000000000000..783e8f4f688e00ef7bc069f5d31de9e1193ce670
--- /dev/null
+++ b/src/template/aix_42
@@ -0,0 +1,11 @@
+AROPT:crs
+CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero -qlonglong
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
+CC:xlc