2008-03-12 13:05:33 +00:00
|
|
|
Index: dibbler-0.6.1/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- dibbler-0.6.1.orig/Makefile 2008-03-12 13:27:35.000000000 +0100
|
|
|
|
+++ dibbler-0.6.1/Makefile 2008-03-12 13:27:36.000000000 +0100
|
|
|
|
@@ -39,7 +39,7 @@
|
2007-09-03 16:04:51 +00:00
|
|
|
|
|
|
|
$(CLIENTBIN): libposlib includes commonlibs clntlibs $(MISC)/DHCPClient.o $(CLIENT)
|
|
|
|
@echo "[LINK ] $(SUBDIR)/$@ ($(LINKPRINT))"
|
|
|
|
- $(CXX) $(CLNT_LDFLAGS) $(OPTS) $(CLNTLINKOPTS) -o $@ $(MISC)/DHCPClient.o $(CLIENT) \
|
|
|
|
+ $(CXXLD) $(CLNT_LDFLAGS) $(OPTS) $(CLNTLINKOPTS) -o $@ $(MISC)/DHCPClient.o $(CLIENT) \
|
|
|
|
-L$(MISC) -lMisc \
|
|
|
|
-L$(ADDRMGR) -lAddrMgr \
|
|
|
|
-L$(CLNTADDRMGR) -lClntAddrMgr \
|
2008-03-12 13:05:33 +00:00
|
|
|
@@ -57,7 +57,8 @@
|
2007-09-03 16:04:51 +00:00
|
|
|
-L$(MESSAGES) -lMsg \
|
|
|
|
-lClntOptions -lOptions -lLowLevel \
|
|
|
|
-L$(MISC) -lMisc \
|
|
|
|
- -L$(POSLIB) $(CLNTPOSLIB)
|
|
|
|
+ -L$(POSLIB) $(CLNTPOSLIB) \
|
|
|
|
+ $(CLNT_LIBS)
|
|
|
|
|
|
|
|
ifndef MOD_CLNT_DISABLE_DNSUPDATE
|
|
|
|
CLNTPOSLIB=-lposlib
|
2008-03-12 13:05:33 +00:00
|
|
|
@@ -67,7 +68,7 @@
|
2007-09-03 16:04:51 +00:00
|
|
|
|
|
|
|
$(SERVERBIN): libposlib includes commonlibs srvlibs $(MISC)/DHCPServer.o $(SERVER)
|
|
|
|
@echo "[LINK ] $(SUBDIR)/$@ ($(LINKPRINT))"
|
|
|
|
- $(CXX) $(SRV_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPServer.o $(SERVER) \
|
|
|
|
+ $(CXXLD) $(SRV_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPServer.o $(SERVER) \
|
|
|
|
-L$(SRVADDRMGR) -lSrvAddrMgr \
|
|
|
|
-L$(ADDRMGR) -lAddrMgr \
|
|
|
|
-L$(LOWLEVEL) \
|
2008-03-12 13:05:33 +00:00
|
|
|
@@ -88,7 +89,8 @@
|
2007-09-03 16:04:51 +00:00
|
|
|
-L$(MISC) -lMisc \
|
|
|
|
-L$(LOWLEVEL) -lLowLevel \
|
|
|
|
-L$(IFACEMGR) -lIfaceMgr \
|
|
|
|
- -L$(POSLIB) $(SRVPOSLIB)
|
|
|
|
+ -L$(POSLIB) $(SRVPOSLIB) \
|
|
|
|
+ $(SRV_LIBS)
|
|
|
|
|
|
|
|
ifndef MOD_SRV_DISABLE_DNSUPDATE
|
|
|
|
SRVPOSLIB=-lposlib
|
2008-03-12 13:05:33 +00:00
|
|
|
@@ -98,7 +100,7 @@
|
2007-09-03 16:04:51 +00:00
|
|
|
|
|
|
|
$(RELAYBIN): poslib-configure includes commonlibs relaylibs $(MISC)/DHCPRelay.o $(RELAY)
|
|
|
|
@echo "[LINK ] $(SUBDIR)/$@ ($(LINKPRINT))"
|
|
|
|
- $(CXX) $(REL_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPRelay.o $(RELAY) \
|
|
|
|
+ $(CXXLD) $(REL_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPRelay.o $(RELAY) \
|
|
|
|
-L$(RELTRANSMGR) -lRelTransMgr \
|
|
|
|
-L$(RELCFGMGR) -lRelCfgMgr \
|
|
|
|
-L$(RELIFACEMGR) -lRelIfaceMgr \
|
2008-03-12 13:05:33 +00:00
|
|
|
@@ -111,7 +113,8 @@
|
2007-09-03 16:04:51 +00:00
|
|
|
-L$(MESSAGES) -lMsg \
|
|
|
|
-L$(MISC) -lMisc \
|
|
|
|
-L$(OPTIONS) -lOptions \
|
|
|
|
- -lMisc -lIfaceMgr -lLowLevel -lRelTransMgr -lRelCfgMgr -lRelMsg -lRelOptions -lOptions
|
|
|
|
+ -lMisc -lIfaceMgr -lLowLevel -lRelTransMgr -lRelCfgMgr -lRelMsg -lRelOptions -lOptions \
|
|
|
|
+ $(SRV_LIBS)
|
|
|
|
|
|
|
|
objs: includes
|
|
|
|
@for dir in $(COMMONSUBDIRS); do \
|
2008-03-12 13:05:33 +00:00
|
|
|
Index: dibbler-0.6.1/Makefile.inc
|
|
|
|
===================================================================
|
|
|
|
--- dibbler-0.6.1.orig/Makefile.inc 2008-03-12 13:27:35.000000000 +0100
|
|
|
|
+++ dibbler-0.6.1/Makefile.inc 2008-03-12 13:27:36.000000000 +0100
|
2007-09-03 16:04:51 +00:00
|
|
|
@@ -1,5 +1,6 @@
|
|
|
|
# === used tools ===
|
2008-03-12 13:05:33 +00:00
|
|
|
CXX ?= g++
|
|
|
|
+CXXLD ?= $(CXX)
|
|
|
|
CC ?= gcc
|
2007-09-03 16:04:51 +00:00
|
|
|
FLEX = flex
|
|
|
|
BISONPP = $(PREFIX)/bison++/bison++ -S $(PREFIX)/bison++/bison.cc -H $(PREFIX)/bison++/bison.h
|