From 8e0d640fcb4dfee7cea3d1f79f7854f5e75cf4c0 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 13 Jun 2023 16:51:55 +0300 Subject: [PATCH] prepare for the DOS port --- libs/drawtext/GNUmakefile | 14 ++++++++++++++ libs/drawtext/Makefile | 14 -------------- libs/imago/GNUmakefile | 36 ++++++++++++++++++++++++++++++++++++ libs/imago/Makefile | 36 ------------------------------------ libs/treestor/GNUmakefile | 14 ++++++++++++++ libs/treestor/Makefile | 14 -------------- 6 files changed, 64 insertions(+), 64 deletions(-) create mode 100644 libs/drawtext/GNUmakefile delete mode 100644 libs/drawtext/Makefile create mode 100644 libs/imago/GNUmakefile delete mode 100644 libs/imago/Makefile create mode 100644 libs/treestor/GNUmakefile delete mode 100644 libs/treestor/Makefile diff --git a/libs/drawtext/GNUmakefile b/libs/drawtext/GNUmakefile new file mode 100644 index 0000000..996cfd2 --- /dev/null +++ b/libs/drawtext/GNUmakefile @@ -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 index 996cfd2..0000000 --- a/libs/drawtext/Makefile +++ /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 index 0000000..5e91e5b --- /dev/null +++ b/libs/imago/GNUmakefile @@ -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 index 5e91e5b..0000000 --- a/libs/imago/Makefile +++ /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 index 0000000..6c2ea75 --- /dev/null +++ b/libs/treestor/GNUmakefile @@ -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 index 6c2ea75..0000000 --- a/libs/treestor/Makefile +++ /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) -- 1.7.10.4