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.

26 lines
559 B

16 years ago
  1. # slock version
  2. VERSION = 0.9
  3. # Customize below to fit your system
  4. # paths
  5. PREFIX = /usr
  6. X11INC = /usr/X11R6/include
  7. X11LIB = /usr/X11R6/lib
  8. # includes and libs
  9. INCS = -I. -I/usr/include -I${X11INC}
  10. LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11
  11. # flags
  12. CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
  13. CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
  14. LDFLAGS = -s ${LIBS}
  15. # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
  16. # On OpenBSD and Darwin remove -lcrypt from LIBS
  17. # compiler and linker
  18. CC = cc
  19. INSTALL=install