pinentry-dmenu

a pinentry program based on dmenu
git clone anongit@rnpnr.xyz:pinentry-dmenu.git
Log | Files | Refs | Feed | README | LICENSE

config.mk (859B)


      1 # Pinentry settings
      2 VERSION   = 0.1
      3 BUGREPORT = https:\/\/github.com\/0x766F6964\/pinentry-dmenu
      4 
      5 # Paths
      6 PREFIX    = /usr/local
      7 MANPREFIX = $(PREFIX)/share/man
      8 
      9 X11INC = /usr/X11R6/include
     10 X11LIB = /usr/X11R6/lib
     11 
     12 # Xinerama, comment if you don't want it
     13 XINERAMALIBS  = -lXinerama
     14 XINERAMAFLAGS = -DXINERAMA
     15 
     16 # Freetype
     17 FREETYPELIBS = -lfontconfig -lXft
     18 FREETYPEINC = /usr/include/freetype2
     19 # OpenBSD (uncomment)
     20 #FREETYPEINC = $(X11INC)/freetype2
     21 
     22 # Includes and libs
     23 INCS = -I$(X11INC) -I$(FREETYPEINC)
     24 LIBS = -lassuan -lgpg-error -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
     25 
     26 # Flags
     27 CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS) -DPACKAGE_VERSION=\"$(VERSION)\" -DPACKAGE_BUGREPORT=\"$(BUGREPORT)\" -DHAVE_MLOCK
     28 CFLAGS   = -std=c99 -pedantic -Wall -Os
     29 LDFLAGS  = -s
     30 
     31 # Compiler and linker
     32 CC = cc