You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
964 B

  1. --- a/src/Makefile
  2. +++ b/src/Makefile
  3. @@ -16,8 +16,8 @@ WARN=-Wall -pedantic
  4. BSD_CFLAGS=-O2 -fPIC $(WARN) $(INCDIR) $(DEFS)
  5. BSD_LDFLAGS=-O -fPIC -shared $(LIBDIR)
  6. -LNX_CFLAGS=-O2 -fPIC $(WARN) $(INCDIR) $(DEFS)
  7. -LNX_LDFLAGS=-O -fPIC -shared $(LIBDIR)
  8. +LNX_CFLAGS=$(INCDIR) $(DEFS)
  9. +LNX_LDFLAGS=-shared $(LIBDIR)
  10. MAC_ENV=env MACOSX_DEPLOYMENT_TARGET='$(MACVER)'
  11. MAC_CFLAGS=-O2 -fno-common $(WARN) $(INCDIR) $(DEFS)
  12. @@ -34,10 +34,10 @@ LDFLAGS += $(MYLDFLAGS)
  13. all:
  14. install: $(CMOD) $(LMOD)
  15. - $(INSTALL) -d $(DESTDIR)$(LUAPATH)/ssl $(DESTDIR)$(LUACPATH)
  16. - $(INSTALL) $(CMOD) $(DESTDIR)$(LUACPATH)
  17. - $(INSTALL) -m644 $(LMOD) $(DESTDIR)$(LUAPATH)
  18. - $(INSTALL) -m644 https.lua $(DESTDIR)$(LUAPATH)/ssl
  19. + $(INSTALL) -d $(LUAPATH)/ssl $(LUACPATH)
  20. + $(INSTALL) $(CMOD) $(LUACPATH)
  21. + $(INSTALL) -m644 $(LMOD) $(LUAPATH)
  22. + $(INSTALL) -m644 https.lua $(LUAPATH)/ssl
  23. linux:
  24. @$(MAKE) $(CMOD) MYCFLAGS="$(LNX_CFLAGS)" MYLDFLAGS="$(LNX_LDFLAGS)" EXTRA="$(EXTRA)"