]> granicus.if.org Git - curl/commitdiff
Add libidn.a and iconv libraries if USE_IDNA=1.
authorGisle Vanem <gvanem@broadpark.no>
Fri, 17 Dec 2004 12:43:02 +0000 (12:43 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Fri, 17 Dec 2004 12:43:02 +0000 (12:43 +0000)
src/makefile.dj

index a4d5715f4ad961d978a62c6ae4e97e30aeee168b..9e1287eae83d01ffe0ac69afb68cb7ae6624318c 100644 (file)
@@ -25,6 +25,10 @@ ifeq ($(USE_ZLIB),1)
   CFLAGS  += -DUSE_MANUAL
 endif
 
+ifeq ($(USE_IDNA),1)
+  EX_LIBS += $(LIBIDN_ROOT)/lib/dj_obj/libidn.a -liconv
+endif
+
 EX_LIBS += $(WATT32_ROOT)/lib/libwatt.a
 
 CFLAGS += -DUSE_ENVIRONMENT
@@ -34,6 +38,7 @@ CSOURCES = $(CURL_SOURCES)
 OBJECTS  = $(addprefix $(OBJ_DIR)/, $(CURL_SOURCES:.c=.o))
 
 all: $(OBJ_DIR) config.h $(PROGRAM)
+       @echo Welcome to cURL
 
 $(PROGRAM): $(OBJECTS) ../lib/libcurl.a
        $(CC) -o $@ $^ $(EX_LIBS)
@@ -78,4 +83,4 @@ djgpp/writeenv.o: writeenv.c setup.h config.h ../lib/config.dj ../lib/setup.h \
 djgpp/writeout.o: writeout.c setup.h config.h ../lib/config.dj ../lib/setup.h \
   ../lib/config.h ../include/curl/curl.h ../include/curl/curlver.h \
   ../include/curl/easy.h ../include/curl/multi.h \
-  ../include/curl/mprintf.h writeout.h
\ No newline at end of file
+  ../include/curl/mprintf.h writeout.h