prepare for the DOS port
authorJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 13 Jun 2023 13:51:55 +0000 (16:51 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 13 Jun 2023 13:51:55 +0000 (16:51 +0300)
libs/drawtext/GNUmakefile [new file with mode: 0644]
libs/drawtext/Makefile [deleted file]
libs/imago/GNUmakefile [new file with mode: 0644]
libs/imago/Makefile [deleted file]
libs/treestor/GNUmakefile [new file with mode: 0644]
libs/treestor/Makefile [deleted file]

diff --git a/libs/drawtext/GNUmakefile b/libs/drawtext/GNUmakefile
new file mode 100644 (file)
index 0000000..996cfd2
--- /dev/null
@@ -0,0 +1,14 @@
+obj = font.o draw.o drawgl.o drawrast.o utf8.o
+alib = ../unix/drawtext.a
+
+CFLAGS = -O3 -g -DNO_FREETYPE -DNO_OPENGL
+
+$(alib): $(obj)
+       $(AR) rcs $@ $(obj)
+
+.c.o:
+       $(CC) $(CFLAGS) -c $< -o $@
+
+.PHONY: clean
+clean:
+       rm -f $(obj) $(alib)
diff --git a/libs/drawtext/Makefile b/libs/drawtext/Makefile
deleted file mode 100644 (file)
index 996cfd2..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-obj = font.o draw.o drawgl.o drawrast.o utf8.o
-alib = ../unix/drawtext.a
-
-CFLAGS = -O3 -g -DNO_FREETYPE -DNO_OPENGL
-
-$(alib): $(obj)
-       $(AR) rcs $@ $(obj)
-
-.c.o:
-       $(CC) $(CFLAGS) -c $< -o $@
-
-.PHONY: clean
-clean:
-       rm -f $(obj) $(alib)
diff --git a/libs/imago/GNUmakefile b/libs/imago/GNUmakefile
new file mode 100644 (file)
index 0000000..5e91e5b
--- /dev/null
@@ -0,0 +1,36 @@
+mobj = src/byteord.o src/filelbm.o src/filergbe.o src/imago2.o src/conv.o \
+          src/filepng.o src/filetga.o src/imago_gl.o src/filejpeg.o src/fileppm.o \
+          src/ftmodule.o src/modules.o
+zobj = zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/gzio.o \
+          zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o \
+          zlib/uncompr.o zlib/zutil.o
+pobj = libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o \
+          libpng/pngread.o libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o \
+          libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o \
+          libpng/pngwtran.o libpng/pngwutil.o libpng/png.o
+jobj = jpeglib/jcapimin.o jpeglib/jcapistd.o jpeglib/jccoefct.o jpeglib/jccolor.o \
+          jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o \
+          jpeglib/jcmarker.o jpeglib/jcmaster.o jpeglib/jcomapi.o jpeglib/jcparam.o \
+          jpeglib/jcphuff.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/jctrans.o \
+          jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o \
+          jpeglib/jdcoefct.o jpeglib/jdcolor.o jpeglib/jddctmgr.o jpeglib/jdhuff.o \
+          jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/jdmaster.o \
+          jpeglib/jdmerge.o jpeglib/jdphuff.o jpeglib/jdpostct.o jpeglib/jdsample.o \
+          jpeglib/jdtrans.o jpeglib/jerror.o jpeglib/jfdctflt.o jpeglib/jfdctfst.o \
+          jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/jidctint.o \
+          jpeglib/jidctred.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o \
+          jpeglib/jquant2.o jpeglib/jutils.o
+obj = $(mobj) $(zobj) $(pobj) $(jobj)
+alib = ../unix/imago.a
+
+CFLAGS = -O3 -Izlib -Ilibpng -Ijpeglib $(pic)
+
+$(alib): $(obj)
+       $(AR) rcs $@ $(obj)
+
+.c.o:
+       $(CC) $(CFLAGS) -c $< -o $@
+
+.PHONY: clean
+clean:
+       rm -f $(obj) $(alib)
diff --git a/libs/imago/Makefile b/libs/imago/Makefile
deleted file mode 100644 (file)
index 5e91e5b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-mobj = src/byteord.o src/filelbm.o src/filergbe.o src/imago2.o src/conv.o \
-          src/filepng.o src/filetga.o src/imago_gl.o src/filejpeg.o src/fileppm.o \
-          src/ftmodule.o src/modules.o
-zobj = zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/gzio.o \
-          zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o \
-          zlib/uncompr.o zlib/zutil.o
-pobj = libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o \
-          libpng/pngread.o libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o \
-          libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o \
-          libpng/pngwtran.o libpng/pngwutil.o libpng/png.o
-jobj = jpeglib/jcapimin.o jpeglib/jcapistd.o jpeglib/jccoefct.o jpeglib/jccolor.o \
-          jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o \
-          jpeglib/jcmarker.o jpeglib/jcmaster.o jpeglib/jcomapi.o jpeglib/jcparam.o \
-          jpeglib/jcphuff.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/jctrans.o \
-          jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o \
-          jpeglib/jdcoefct.o jpeglib/jdcolor.o jpeglib/jddctmgr.o jpeglib/jdhuff.o \
-          jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/jdmaster.o \
-          jpeglib/jdmerge.o jpeglib/jdphuff.o jpeglib/jdpostct.o jpeglib/jdsample.o \
-          jpeglib/jdtrans.o jpeglib/jerror.o jpeglib/jfdctflt.o jpeglib/jfdctfst.o \
-          jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/jidctint.o \
-          jpeglib/jidctred.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o \
-          jpeglib/jquant2.o jpeglib/jutils.o
-obj = $(mobj) $(zobj) $(pobj) $(jobj)
-alib = ../unix/imago.a
-
-CFLAGS = -O3 -Izlib -Ilibpng -Ijpeglib $(pic)
-
-$(alib): $(obj)
-       $(AR) rcs $@ $(obj)
-
-.c.o:
-       $(CC) $(CFLAGS) -c $< -o $@
-
-.PHONY: clean
-clean:
-       rm -f $(obj) $(alib)
diff --git a/libs/treestor/GNUmakefile b/libs/treestor/GNUmakefile
new file mode 100644 (file)
index 0000000..6c2ea75
--- /dev/null
@@ -0,0 +1,14 @@
+obj = src/treestor.o src/text.o src/dynarr.o
+alib = ../unix/treestor.a
+
+CFLAGS = -O3 -Iinclude
+
+$(alib): $(obj)
+       $(AR) rcs $@ $(obj)
+
+.c.o:
+       $(CC) $(CFLAGS) -c $< -o $@
+
+.PHONY: clean
+clean:
+       rm -f $(obj) $(alib)
diff --git a/libs/treestor/Makefile b/libs/treestor/Makefile
deleted file mode 100644 (file)
index 6c2ea75..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-obj = src/treestor.o src/text.o src/dynarr.o
-alib = ../unix/treestor.a
-
-CFLAGS = -O3 -Iinclude
-
-$(alib): $(obj)
-       $(AR) rcs $@ $(obj)
-
-.c.o:
-       $(CC) $(CFLAGS) -c $< -o $@
-
-.PHONY: clean
-clean:
-       rm -f $(obj) $(alib)