X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibposix.so_src%2FMakefile;h=eb2fd2f2df5a77d7b01f8b2a46da31f7a8de80d3;hb=2238e69eea50d2274553926f3f294822c1972ff0;hp=20b5fec439a697859612d645ace0926f6c9b82b2;hpb=465311d5855b475500e2568a69f72ae5f3c5c6d7;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libposix.so_src/Makefile b/Usermode/Libraries/libposix.so_src/Makefile index 20b5fec4..eb2fd2f2 100644 --- a/Usermode/Libraries/libposix.so_src/Makefile +++ b/Usermode/Libraries/libposix.so_src/Makefile @@ -4,12 +4,16 @@ -include ../Makefile.cfg CPPFLAGS += -CFLAGS += -Werror -Wextra +CFLAGS += -Wextra ASFLAGS += -LDFLAGS += -soname libposix.so -Map map.txt -lc +LDFLAGS += -nostdlib +PRELINK += $(CRTI) $(CRTBEGINS) $(CRT0S) +LIBS += -lc $(CRTENDS) $(CRTN) OBJ = main.o unistd.o dirent.o stat.o utmpx.o termios.o OBJ += pwd.o syslog.o sys_time.o sys_ioctl.o sys_resource.o +OBJ += fcntl.o clocks.o sys_wait.o unistd_crypt.o +OBJ += grp.o pty.o mktemp.o utime.o getopt.o DEPFILES := $(OBJ:%.o=%.d) BIN = libposix.so