From: Andre Noll Date: Wed, 17 Jun 2020 17:54:00 +0000 (+0200) Subject: build: Remove make(1) targets to build a static library. X-Git-Tag: v0.2.0~5^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=e859b0a68ed9c523a4d9b8f2a0bd31f85ab511d5;ds=inline build: Remove make(1) targets to build a static library. These targets are not included in the default ("all") target. --- diff --git a/Makefile b/Makefile index 4ba28b1..a552738 100644 --- a/Makefile +++ b/Makefile @@ -96,13 +96,6 @@ oslfsck: $(fsck_objects) $(realname): $(objects) $(CC) $(OSL_LDFLAGS) $(LDFLAGS) -o $@ $(objects) -$(libname).sym: osl.h.in - sed -Ene '/^int|^const/{s/.*(osl_.*)\(.*/\1/; p;}' $< > $@ -$(libname).ga: $(objects) - $(LD) -r -o $@ $(objects) -lib$(libname).a: $(libname).ga $(libname).sym - $(OBJCOPY) --keep-global-symbols $(libname).sym $(libname).ga $@ - errtab.h: errlist sed -e 's/^\([A-Z_]*\)\s*\(.*\)/OSL_ERROR(E_OSL_\1, \2)/g' $< > $@ @@ -118,7 +111,7 @@ osl.h: osl.h.in errlist Makefile -e '$$s/$$/};/1' errlist >> $@ echo '#endif /* _OSL_H */' >> $@ clean: - rm -f *.o $(realname) osl.h errtab.h oslfsck *.a *.ga *.sym *.lsg.* *.d + rm -f *.o $(realname) osl.h errtab.h oslfsck *.lsg.* *.d distclean: clean rm -f web/index.html web/oslfsck.1.html web/osl.png