Changeset 2881
- Timestamp:
- 06/25/07 15:22:20 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/aiccu/Makefile
r2678 r2881 9 9 PKG_NAME:= aiccu 10 10 PKG_VERSION:= 20070115 11 PKG_RELEASE:= 511 PKG_RELEASE:= 6 12 12 PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350 13 13 … … 21 21 $(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 22 22 23 do-configure: 24 $(SED) "s,strip,$(STRIP)," $(WRKBUILD)/unix-console/Makefile 25 26 do-build: 27 $(MAKE) -C $(WRKBUILD) \ 28 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ 23 TCFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \ 24 -D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\" 25 TLDFLAGS+= -lpthread -lresolv 26 BUILD_STYLE= auto 27 MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' LDFLAGS='${TLDFLAGS}' \ 29 28 DEBUG=0 30 29 trunk/freewrt/package/aiccu/patches/patch-unix-console_Makefile
r1967 r2881 1 1 $FreeWRT$ 2 3 * disable SSL 4 * remove unportable uname check and use Linux flags by default 5 * add needed dns functions 6 * remove strange call to aiccu, if CFLAGS contains the string DEBUG 7 8 --- aiccu.orig/unix-console/Makefile 2007-01-15 12:04:27.000000000 +0100 9 +++ aiccu/unix-console/Makefile 2007-02-13 22:22:15.000000000 +0100 2 --- aiccu.orig/unix-console/Makefile Mon Jan 15 11:04:04 2007 3 +++ aiccu/unix-console/Makefile Mon Jun 25 13:19:42 2007 10 4 @@ -10,9 +10,9 @@ 11 5 # $Date: 2007-01-15 11:04:27 $ … … 20 14 # New features not fully implemented and thus disabled for now 21 15 #CFLAGS += -D NEWSTUFF_TSP -D NEWSTUFF_TEEPEE 22 @@ -40,18 +40,18 @@ CFLAGS += -D AICCU_CONSOLE23 # GnuTLS Support ?24 # Used by TIC to secure that communication25 # Currently defaultly builds only on Linux, but other platforms might easily also support it26 -ifeq ($(shell uname | grep -c "Linux"),1)27 -CFLAGS += -D AICCU_GNUTLS28 -LDFLAGS += -lgnutls29 -endif30 +#ifeq ($(shell uname | grep -c "Linux"),1)31 +#CFLAGS += -D AICCU_GNUTLS32 +#LDFLAGS += -lgnutls33 +#endif34 35 # Linux36 -ifeq ($(shell uname | grep -c "Linux"),1)37 +#ifeq ($(shell uname | grep -c "Linux"),1)38 CFLAGS += -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\""39 SRCS += ../common/aiccu_linux.c40 OBJS += ../common/aiccu_linux.o41 LDFLAGS += -lpthread -lresolv42 -endif43 +#endif44 45 # FreeBSD46 ifeq ($(shell uname | grep -c "FreeBSD"),1)47 16 @@ -145,11 +145,6 @@ all: aiccu 48 17


