put includes into <libowfat/*.h>
This commit is contained in:
parent
b067d41e63
commit
a2f86a77b5
@ -26,3 +26,4 @@ ent
|
|||||||
tags
|
tags
|
||||||
entities.h
|
entities.h
|
||||||
havepread.h
|
havepread.h
|
||||||
|
libowfat
|
||||||
|
17
GNUmakefile
17
GNUmakefile
@ -13,7 +13,7 @@ LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
|
|||||||
buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
|
buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
|
||||||
textcode.a cdb.a critbit.a
|
textcode.a cdb.a critbit.a
|
||||||
|
|
||||||
all: ent $(LIBS) libowfat.a libsocket t
|
all: headers ent $(LIBS) libowfat.a libsocket t
|
||||||
|
|
||||||
CROSS=
|
CROSS=
|
||||||
#CROSS=i686-mingw-
|
#CROSS=i686-mingw-
|
||||||
@ -204,9 +204,18 @@ openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h
|
|||||||
errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h va_narg.h isset.h \
|
errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h va_narg.h isset.h \
|
||||||
compiletimeassert.h critbit.h
|
compiletimeassert.h critbit.h
|
||||||
|
|
||||||
|
libowfat:
|
||||||
|
-mkdir libowfat
|
||||||
|
|
||||||
|
.PHONY: headers
|
||||||
|
headers: libowfat $(patsubst %.h,libowfat/%.h,$(INCLUDES))
|
||||||
|
|
||||||
|
libowfat/%.h: %.h
|
||||||
|
ln -f $< $@
|
||||||
|
|
||||||
install-inc:
|
install-inc:
|
||||||
install -d $(DESTDIR)$(INCLUDEDIR)
|
install -d $(DESTDIR)$(INCLUDEDIR)/libowfat
|
||||||
install -m 644 $(INCLUDES) $(DESTDIR)$(INCLUDEDIR)
|
install -m 644 $(INCLUDES) $(DESTDIR)$(INCLUDEDIR)/libowfat
|
||||||
|
|
||||||
install-lib: libowfat.a
|
install-lib: libowfat.a
|
||||||
install -d $(DESTDIR)$(LIBDIR)
|
install -d $(DESTDIR)$(LIBDIR)
|
||||||
@ -220,6 +229,8 @@ install: install-inc install-man install-lib
|
|||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
|
rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
|
||||||
|
rm -f $(INCLUDEDIR)/libowfat/*.h
|
||||||
|
rmdir -f $(INCLUDEDIR)/libowfat
|
||||||
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
|
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
|
||||||
rm -f $(LIBDIR)/libowfat.a
|
rm -f $(LIBDIR)/libowfat.a
|
||||||
|
|
||||||
|
19
Makefile
19
Makefile
@ -14,7 +14,7 @@ LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
|
|||||||
buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
|
buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
|
||||||
textcode.a cdb.a critbit.a
|
textcode.a cdb.a critbit.a
|
||||||
|
|
||||||
all: ent $(LIBS) libowfat.a libsocket t
|
all: headers ent $(LIBS) libowfat.a libsocket t
|
||||||
|
|
||||||
CROSS=
|
CROSS=
|
||||||
#CROSS=i686-mingw-
|
#CROSS=i686-mingw-
|
||||||
@ -791,9 +791,18 @@ openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h
|
|||||||
errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h va_narg.h isset.h \
|
errmsg.h cdb.h cdb_make.h rangecheck.h iarray.h va_narg.h isset.h \
|
||||||
compiletimeassert.h critbit.h
|
compiletimeassert.h critbit.h
|
||||||
|
|
||||||
|
libowfat:
|
||||||
|
-mkdir libowfat
|
||||||
|
|
||||||
|
.PHONY: headers
|
||||||
|
headers: libowfat $(patsubst %.h,libowfat/%.h,$(INCLUDES))
|
||||||
|
|
||||||
|
libowfat/%.h: %.h
|
||||||
|
ln -f $< $@
|
||||||
|
|
||||||
install-inc:
|
install-inc:
|
||||||
install -d $(DESTDIR)$(INCLUDEDIR)
|
install -d $(DESTDIR)$(INCLUDEDIR)/libowfat
|
||||||
install -m 644 $(INCLUDES) $(DESTDIR)$(INCLUDEDIR)
|
install -m 644 $(INCLUDES) $(DESTDIR)$(INCLUDEDIR)/libowfat
|
||||||
|
|
||||||
install-lib: libowfat.a
|
install-lib: libowfat.a
|
||||||
install -d $(DESTDIR)$(LIBDIR)
|
install -d $(DESTDIR)$(LIBDIR)
|
||||||
@ -807,10 +816,12 @@ install: install-inc install-man install-lib
|
|||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
|
rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
|
||||||
|
rm -f $(INCLUDEDIR)/libowfat/*.h
|
||||||
|
rmdir -f $(INCLUDEDIR)/libowfat
|
||||||
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
|
rm -f $(patsubst %.3,$(MAN3DIR)/%.3,$(notdir $(wildcard */*.3)))
|
||||||
rm -f $(LIBDIR)/libowfat.a
|
rm -f $(LIBDIR)/libowfat.a
|
||||||
|
|
||||||
VERSION=libowfat-0.31
|
VERSION=libowfat-0.32
|
||||||
CURNAME=libowfat-0.31
|
CURNAME=libowfat-0.31
|
||||||
|
|
||||||
tar: clean rename
|
tar: clean rename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user