libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

config.mk (858B)


      1 # Customize below to fit your system
      2 
      3 COMPONENTS = \
      4 	libixp \
      5 	libixp_pthread
      6 
      7 # Paths
      8 PREFIX = /usr/local
      9   BIN = $(PREFIX)/bin
     10   MAN = $(PREFIX)/share/man
     11   ETC = $(PREFIX)/etc
     12   LIBDIR = $(PREFIX)/lib
     13   INCLUDE = $(PREFIX)/include
     14 
     15 # Includes and libs
     16 INCLUDES = -I. -I$(ROOT)/include -I$(INCLUDE) -I/usr/include
     17 LIBS = -L/usr/lib -lc
     18 
     19 # Flags
     20 include $(ROOT)/mk/gcc.mk
     21 CFLAGS += $(DEBUGCFLAGS) -O0 $(INCS)
     22 LDFLAGS = -g $(LDLIBS) $(LIBS)
     23 
     24 # Compiler, Linker. Linker should usually *not* be ld.
     25 CC = cc -c
     26 LD = cc
     27 # Archiver
     28 AR = ar crs
     29 #AR = sh -c 'ar cr "$$@" && ranlib "$$@"'
     30 
     31 # Solaris
     32 #CFLAGS = -fast $(INCS)
     33 #LDFLAGS = $(LIBS) -R$(PREFIX)/lib -lsocket -lnsl
     34 #CFLAGS += -xtarget=ultra
     35 
     36 # Misc
     37 #MAKESO = 1
     38 
     39 # Extra Components
     40 IGNORE = \
     41 	libixp_task \
     42 	libixp_rubythread
     43 
     44 RUBYINC = -I/usr/local/lib/ruby/1.8/i386-freebsd6
     45 TASKINC = -I$(HOME)/libtask
     46