]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/Makefile
Fixed check for empty pair in rlm_stg.
[stg.git] / stglibs / common.lib / Makefile
index d1c816b61587975e4fdba6c285e1a06ce6bd2ed7..932e270948b62d3b78fed5186e6889e53dd304b2 100644 (file)
@@ -4,20 +4,15 @@
 
 include ../../Makefile.conf
 
 
 include ../../Makefile.conf
 
-LIB_NAME = stg_common
-PROG = lib$(LIB_NAME)
+LIB_NAME = stgcommon
 
 
-SRCS = debug.c \
-       stg_error.c \
-       common.cpp \
-       stg_strptime.cpp
+SRCS = common.cpp \
+       strptime.cpp \
+       blockio.cpp
 
 
-INCS = debug.h \
-       stg_error.h \
-       common.h
+INCS = common.h \
+       blockio.h
 
 
-ifneq ($(OS),linux)
-LIBS += -liconv
-endif
+LIBS += $(LIBICONV)
 
 include ../Makefile.in
 
 include ../Makefile.in