Skip to content

Commit

Permalink
Added fts_* functions
Browse files Browse the repository at this point in the history
  • Loading branch information
afxgroup committed Sep 11, 2023
1 parent 3f7c0ea commit e7ab11d
Show file tree
Hide file tree
Showing 9 changed files with 1,426 additions and 33 deletions.
22 changes: 11 additions & 11 deletions GNUmakefile.os4
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ UNAME := $(shell uname)
INSTALL_PREFIX ?= /usr/ppc-amigaos/SDK/clib2
SDK_INCLUDE ?= /usr/ppc-amigaos/SDK/include

CC ?= ppc-amigaos-gcc
AR ?= ppc-amigaos-ar -q
LD ?= ppc-amigaos-ld
RANLIB ?= ppc-amigaos-ranlib
STRIP ?= ppc-amigaos-strip
RANLIB ?= ppc-amigaos-ranlib
CC := ppc-amigaos-gcc
AR := ppc-amigaos-ar -q
LD := ppc-amigaos-ld
RANLIB := ppc-amigaos-ranlib
STRIP := ppc-amigaos-strip
RANLIB := ppc-amigaos-ranlib
HOST_CXX := g++

# On AmigaOS use native commands
Expand Down Expand Up @@ -384,11 +384,11 @@ release:
dpkg:
-$(DELETE) $(DPKG_LIB)
-$(DELETE) $(DPKG_LIB).deb
-$(MAKEDIR) $(DPKG_LIB)/usr/ppc-amigaos/SDK/clib2/lib
-$(MAKEDIR) $(DPKG_LIB)/usr/ppc-amigaos/SDK/clib2/include
-$(MAKEDIR) $(DPKG_LIB)$(INSTALL_PREFIX)/lib
-$(MAKEDIR) $(DPKG_LIB)$(INSTALL_PREFIX)/include
-$(MAKEDIR) $(DPKG_LIB)/DEBIAN
-$(COPY) libs/libauto.a $(DPKG_LIB)/usr/ppc-amigaos/SDK/clib2/lib/
-$(COPY) $(OUTPUT_LIB)/* $(DPKG_LIB)/usr/ppc-amigaos/SDK/clib2/lib/
-$(COPY) $(LIB_ROOT)/library/include/* $(DPKG_LIB)/usr/ppc-amigaos/SDK/clib2/include/
-$(COPY) libs/libauto.a $(DPKG_LIB)$(INSTALL_PREFIX)/lib/
-$(COPY) $(OUTPUT_LIB)/* $(DPKG_LIB)$(INSTALL_PREFIX)/lib/
-$(COPY) $(LIB_ROOT)/library/include/* $(DPKG_LIB)$(INSTALL_PREFIX)/include/
-$(COPY) misc/control $(DPKG_LIB)/DEBIAN/
dpkg --build $(DPKG_LIB)
4 changes: 4 additions & 0 deletions libc.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ C_ENVZ := \
envz/envz_remove.o \
envz/envz_strip.o

C_FTS := \
fts/fts.o

C_ICONV := \
iconv/iconv.o \
iconv/iconv_close.o \
Expand Down Expand Up @@ -925,6 +928,7 @@ C_LIBRARY := \
$(C_DIRENT) \
$(C_DEBUG) \
$(C_ENVZ) \
$(C_FTS) \
$(C_ICONV) \
$(C_INTTYPES) \
$(C_LOCALE) \
Expand Down
Loading

0 comments on commit e7ab11d

Please sign in to comment.