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.
This commit is contained in:
Sam Roberts 2011-09-27 12:54:51 -07:00
parent 826589afcd
commit 1f704cfb89
2 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@ INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket
INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime
INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime
all clean: all clean all-unix:
cd src; $(MAKE) $@ cd src; $(MAKE) $@
#------ #------
@ -46,6 +46,9 @@ install: all
cd src; mkdir -p $(INSTALL_MIME_LIB) cd src; mkdir -p $(INSTALL_MIME_LIB)
cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT) 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 # End of makefile
# #

View File

@ -55,6 +55,8 @@ $(SOCKET_SO): $(SOCKET_OBJS)
$(MIME_SO): $(MIME_OBJS) $(MIME_SO): $(MIME_OBJS)
$(LD) $(LDFLAGS) -o $@ $(MIME_OBJS) $(LD) $(LDFLAGS) -o $@ $(MIME_OBJS)
all-unix: all $(UNIX_SO)
$(UNIX_SO): $(UNIX_OBJS) $(UNIX_SO): $(UNIX_OBJS)
$(LD) $(LDFLAGS) -o $@ $(UNIX_OBJS) $(LD) $(LDFLAGS) -o $@ $(UNIX_OBJS)