From 1f704cfb89324fd7b7cc6f92ea7fa66c7a46846c Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Tue, 27 Sep 2011 12:54:51 -0700 Subject: [PATCH] Add all-unix and install-unix targets which include all modules supported on unix. Besides standard socket and mime modules, this includes unix domain socket support. --- makefile | 5 ++++- src/makefile | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 6d70039..97a72e9 100644 --- a/makefile +++ b/makefile @@ -11,7 +11,7 @@ INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime -all clean: +all clean all-unix: cd src; $(MAKE) $@ #------ @@ -46,6 +46,9 @@ install: all cd src; mkdir -p $(INSTALL_MIME_LIB) cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT) +install-unix: install all-unix + cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_SOCKET_LIB)/$(UNIX_SO) + #------ # End of makefile # diff --git a/src/makefile b/src/makefile index b614f77..6ec8718 100644 --- a/src/makefile +++ b/src/makefile @@ -55,6 +55,8 @@ $(SOCKET_SO): $(SOCKET_OBJS) $(MIME_SO): $(MIME_OBJS) $(LD) $(LDFLAGS) -o $@ $(MIME_OBJS) +all-unix: all $(UNIX_SO) + $(UNIX_SO): $(UNIX_OBJS) $(LD) $(LDFLAGS) -o $@ $(UNIX_OBJS)