diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2011-09-27 12:54:51 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:45:59 -0700 |
commit | 1f704cfb89324fd7b7cc6f92ea7fa66c7a46846c (patch) | |
tree | b22e3a137de811d0c1c46dfec58681e820b3009b /makefile | |
parent | 826589afcd17c7d7cffaae7613e1201b9777742c (diff) | |
download | luasocket-1f704cfb89324fd7b7cc6f92ea7fa66c7a46846c.tar.gz luasocket-1f704cfb89324fd7b7cc6f92ea7fa66c7a46846c.tar.bz2 luasocket-1f704cfb89324fd7b7cc6f92ea7fa66c7a46846c.zip |
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.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,7 +11,7 @@ INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket | |||
11 | INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime | 11 | INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime |
12 | INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime | 12 | INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime |
13 | 13 | ||
14 | all clean: | 14 | all clean all-unix: |
15 | cd src; $(MAKE) $@ | 15 | cd src; $(MAKE) $@ |
16 | 16 | ||
17 | #------ | 17 | #------ |
@@ -46,6 +46,9 @@ install: all | |||
46 | cd src; mkdir -p $(INSTALL_MIME_LIB) | 46 | cd src; mkdir -p $(INSTALL_MIME_LIB) |
47 | cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT) | 47 | cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT) |
48 | 48 | ||
49 | install-unix: install all-unix | ||
50 | cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_SOCKET_LIB)/$(UNIX_SO) | ||
51 | |||
49 | #------ | 52 | #------ |
50 | # End of makefile | 53 | # End of makefile |
51 | # | 54 | # |