added some dhcp packet handling functions
This commit is contained in:
		
							
								
								
									
										5
									
								
								qse/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								qse/configure
									
									
									
									
										vendored
									
									
								
							| @ -23898,7 +23898,7 @@ QSE_PROJECT_AUTHOR="${PACKAGE_BUGREPORT}" | |||||||
| QSE_PROJECT_URL="${PACKAGE_URL}" | QSE_PROJECT_URL="${PACKAGE_URL}" | ||||||
|  |  | ||||||
|  |  | ||||||
| ac_config_files="$ac_config_files Makefile README include/Makefile include/qse/Makefile include/qse/cmn/Makefile include/qse/cry/Makefile include/qse/si/Makefile include/qse/awk/Makefile include/qse/sed/Makefile include/qse/xli/Makefile include/qse/http/Makefile include/qse/rad/Makefile lib/Makefile lib/cmn/Makefile lib/cry/Makefile lib/si/Makefile lib/awk/Makefile lib/sed/Makefile lib/xli/Makefile lib/http/Makefile lib/rad/Makefile lib/qsecmn.pc lib/qsecry.pc lib/qsesi.pc lib/qsesed.pc lib/qseawk.pc lib/qsexli.pc lib/qsehttp.pc lib/qserad.pc cmd/Makefile cmd/awk/Makefile cmd/sed/Makefile cmd/xli/Makefile cmd/http/Makefile samples/Makefile samples/cmn/Makefile samples/cry/Makefile samples/si/Makefile samples/awk/Makefile samples/sed/Makefile samples/http/Makefile samples/rad/Makefile regress/Makefile regress/awk/Makefile regress/awk/regress.sh regress/sed/Makefile regress/sed/regress.sh doc/Makefile doc/Doxyfile tools/Makefile" | ac_config_files="$ac_config_files Makefile README include/Makefile include/qse/Makefile include/qse/cmn/Makefile include/qse/cry/Makefile include/qse/si/Makefile include/qse/awk/Makefile include/qse/sed/Makefile include/qse/xli/Makefile include/qse/http/Makefile include/qse/rad/Makefile include/qse/dhcp/Makefile lib/Makefile lib/cmn/Makefile lib/cry/Makefile lib/si/Makefile lib/awk/Makefile lib/sed/Makefile lib/xli/Makefile lib/http/Makefile lib/rad/Makefile lib/dhcp/Makefile lib/qsecmn.pc lib/qsecry.pc lib/qsesi.pc lib/qsesed.pc lib/qseawk.pc lib/qsexli.pc lib/qsehttp.pc lib/qserad.pc lib/qsedhcp.pc cmd/Makefile cmd/awk/Makefile cmd/sed/Makefile cmd/xli/Makefile cmd/http/Makefile samples/Makefile samples/cmn/Makefile samples/cry/Makefile samples/si/Makefile samples/awk/Makefile samples/sed/Makefile samples/http/Makefile samples/rad/Makefile regress/Makefile regress/awk/Makefile regress/awk/regress.sh regress/sed/Makefile regress/sed/regress.sh doc/Makefile doc/Doxyfile tools/Makefile" | ||||||
|  |  | ||||||
| cat >confcache <<\_ACEOF | cat >confcache <<\_ACEOF | ||||||
| # This file is a shell script that caches the results of configure | # This file is a shell script that caches the results of configure | ||||||
| @ -25088,6 +25088,7 @@ do | |||||||
|     "include/qse/xli/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/xli/Makefile" ;; |     "include/qse/xli/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/xli/Makefile" ;; | ||||||
|     "include/qse/http/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/http/Makefile" ;; |     "include/qse/http/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/http/Makefile" ;; | ||||||
|     "include/qse/rad/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/rad/Makefile" ;; |     "include/qse/rad/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/rad/Makefile" ;; | ||||||
|  |     "include/qse/dhcp/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/dhcp/Makefile" ;; | ||||||
|     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; | ||||||
|     "lib/cmn/Makefile") CONFIG_FILES="$CONFIG_FILES lib/cmn/Makefile" ;; |     "lib/cmn/Makefile") CONFIG_FILES="$CONFIG_FILES lib/cmn/Makefile" ;; | ||||||
|     "lib/cry/Makefile") CONFIG_FILES="$CONFIG_FILES lib/cry/Makefile" ;; |     "lib/cry/Makefile") CONFIG_FILES="$CONFIG_FILES lib/cry/Makefile" ;; | ||||||
| @ -25097,6 +25098,7 @@ do | |||||||
|     "lib/xli/Makefile") CONFIG_FILES="$CONFIG_FILES lib/xli/Makefile" ;; |     "lib/xli/Makefile") CONFIG_FILES="$CONFIG_FILES lib/xli/Makefile" ;; | ||||||
|     "lib/http/Makefile") CONFIG_FILES="$CONFIG_FILES lib/http/Makefile" ;; |     "lib/http/Makefile") CONFIG_FILES="$CONFIG_FILES lib/http/Makefile" ;; | ||||||
|     "lib/rad/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rad/Makefile" ;; |     "lib/rad/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rad/Makefile" ;; | ||||||
|  |     "lib/dhcp/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dhcp/Makefile" ;; | ||||||
|     "lib/qsecmn.pc") CONFIG_FILES="$CONFIG_FILES lib/qsecmn.pc" ;; |     "lib/qsecmn.pc") CONFIG_FILES="$CONFIG_FILES lib/qsecmn.pc" ;; | ||||||
|     "lib/qsecry.pc") CONFIG_FILES="$CONFIG_FILES lib/qsecry.pc" ;; |     "lib/qsecry.pc") CONFIG_FILES="$CONFIG_FILES lib/qsecry.pc" ;; | ||||||
|     "lib/qsesi.pc") CONFIG_FILES="$CONFIG_FILES lib/qsesi.pc" ;; |     "lib/qsesi.pc") CONFIG_FILES="$CONFIG_FILES lib/qsesi.pc" ;; | ||||||
| @ -25105,6 +25107,7 @@ do | |||||||
|     "lib/qsexli.pc") CONFIG_FILES="$CONFIG_FILES lib/qsexli.pc" ;; |     "lib/qsexli.pc") CONFIG_FILES="$CONFIG_FILES lib/qsexli.pc" ;; | ||||||
|     "lib/qsehttp.pc") CONFIG_FILES="$CONFIG_FILES lib/qsehttp.pc" ;; |     "lib/qsehttp.pc") CONFIG_FILES="$CONFIG_FILES lib/qsehttp.pc" ;; | ||||||
|     "lib/qserad.pc") CONFIG_FILES="$CONFIG_FILES lib/qserad.pc" ;; |     "lib/qserad.pc") CONFIG_FILES="$CONFIG_FILES lib/qserad.pc" ;; | ||||||
|  |     "lib/qsedhcp.pc") CONFIG_FILES="$CONFIG_FILES lib/qsedhcp.pc" ;; | ||||||
|     "cmd/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/Makefile" ;; |     "cmd/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/Makefile" ;; | ||||||
|     "cmd/awk/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/awk/Makefile" ;; |     "cmd/awk/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/awk/Makefile" ;; | ||||||
|     "cmd/sed/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/sed/Makefile" ;; |     "cmd/sed/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/sed/Makefile" ;; | ||||||
|  | |||||||
| @ -801,6 +801,7 @@ AC_CONFIG_FILES([ | |||||||
| 	include/qse/xli/Makefile | 	include/qse/xli/Makefile | ||||||
| 	include/qse/http/Makefile | 	include/qse/http/Makefile | ||||||
| 	include/qse/rad/Makefile | 	include/qse/rad/Makefile | ||||||
|  | 	include/qse/dhcp/Makefile | ||||||
| 	lib/Makefile  | 	lib/Makefile  | ||||||
| 	lib/cmn/Makefile  | 	lib/cmn/Makefile  | ||||||
| 	lib/cry/Makefile | 	lib/cry/Makefile | ||||||
| @ -810,6 +811,7 @@ AC_CONFIG_FILES([ | |||||||
| 	lib/xli/Makefile  | 	lib/xli/Makefile  | ||||||
| 	lib/http/Makefile  | 	lib/http/Makefile  | ||||||
| 	lib/rad/Makefile  | 	lib/rad/Makefile  | ||||||
|  | 	lib/dhcp/Makefile  | ||||||
| 	lib/qsecmn.pc | 	lib/qsecmn.pc | ||||||
| 	lib/qsecry.pc | 	lib/qsecry.pc | ||||||
| 	lib/qsesi.pc | 	lib/qsesi.pc | ||||||
| @ -818,6 +820,7 @@ AC_CONFIG_FILES([ | |||||||
| 	lib/qsexli.pc | 	lib/qsexli.pc | ||||||
| 	lib/qsehttp.pc | 	lib/qsehttp.pc | ||||||
| 	lib/qserad.pc | 	lib/qserad.pc | ||||||
|  | 	lib/qsedhcp.pc | ||||||
| 	cmd/Makefile  | 	cmd/Makefile  | ||||||
| 	cmd/awk/Makefile  | 	cmd/awk/Makefile  | ||||||
| 	cmd/sed/Makefile  | 	cmd/sed/Makefile  | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| SUBDIRS = cmn cry si awk sed xli http rad | SUBDIRS = cmn cry si awk sed xli http rad dhcp | ||||||
|  |  | ||||||
| pkgincludedir = $(includedir)/qse | pkgincludedir = $(includedir)/qse | ||||||
|  |  | ||||||
|  | |||||||
| @ -406,7 +406,7 @@ target_alias = @target_alias@ | |||||||
| top_build_prefix = @top_build_prefix@ | top_build_prefix = @top_build_prefix@ | ||||||
| top_builddir = @top_builddir@ | top_builddir = @top_builddir@ | ||||||
| top_srcdir = @top_srcdir@ | top_srcdir = @top_srcdir@ | ||||||
| SUBDIRS = cmn cry si awk sed xli http rad | SUBDIRS = cmn cry si awk sed xli http rad dhcp | ||||||
| pkginclude_HEADERS = conf-msw.h conf-os2.h conf-dos.h conf-vms.h \ | pkginclude_HEADERS = conf-msw.h conf-os2.h conf-dos.h conf-vms.h \ | ||||||
| 	conf-mac.h conf-inf.h types.h macros.h pack1.h unpack.h \ | 	conf-mac.h conf-inf.h types.h macros.h pack1.h unpack.h \ | ||||||
| 	$(am__append_1) | 	$(am__append_1) | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								qse/include/qse/dhcp/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								qse/include/qse/dhcp/Makefile.am
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | pkgincludedir = $(includedir)/qse/dhcp | ||||||
|  |  | ||||||
|  | pkginclude_HEADERS = \ | ||||||
|  | 	dhcpmsg.h  | ||||||
|  |  | ||||||
							
								
								
									
										627
									
								
								qse/include/qse/dhcp/Makefile.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										627
									
								
								qse/include/qse/dhcp/Makefile.in
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,627 @@ | |||||||
|  | # Makefile.in generated by automake 1.15 from Makefile.am. | ||||||
|  | # @configure_input@ | ||||||
|  |  | ||||||
|  | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | ||||||
|  |  | ||||||
|  | # This Makefile.in is free software; the Free Software Foundation | ||||||
|  | # gives unlimited permission to copy and/or distribute it, | ||||||
|  | # with or without modifications, as long as this notice is preserved. | ||||||
|  |  | ||||||
|  | # This program is distributed in the hope that it will be useful, | ||||||
|  | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||||||
|  | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||||||
|  | # PARTICULAR PURPOSE. | ||||||
|  |  | ||||||
|  | @SET_MAKE@ | ||||||
|  |  | ||||||
|  | VPATH = @srcdir@ | ||||||
|  | am__is_gnu_make = { \ | ||||||
|  |   if test -z '$(MAKELEVEL)'; then \ | ||||||
|  |     false; \ | ||||||
|  |   elif test -n '$(MAKE_HOST)'; then \ | ||||||
|  |     true; \ | ||||||
|  |   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||||||
|  |     true; \ | ||||||
|  |   else \ | ||||||
|  |     false; \ | ||||||
|  |   fi; \ | ||||||
|  | } | ||||||
|  | am__make_running_with_option = \ | ||||||
|  |   case $${target_option-} in \ | ||||||
|  |       ?) ;; \ | ||||||
|  |       *) echo "am__make_running_with_option: internal error: invalid" \ | ||||||
|  |               "target option '$${target_option-}' specified" >&2; \ | ||||||
|  |          exit 1;; \ | ||||||
|  |   esac; \ | ||||||
|  |   has_opt=no; \ | ||||||
|  |   sane_makeflags=$$MAKEFLAGS; \ | ||||||
|  |   if $(am__is_gnu_make); then \ | ||||||
|  |     sane_makeflags=$$MFLAGS; \ | ||||||
|  |   else \ | ||||||
|  |     case $$MAKEFLAGS in \ | ||||||
|  |       *\\[\ \	]*) \ | ||||||
|  |         bs=\\; \ | ||||||
|  |         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||||||
|  |           | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \ | ||||||
|  |     esac; \ | ||||||
|  |   fi; \ | ||||||
|  |   skip_next=no; \ | ||||||
|  |   strip_trailopt () \ | ||||||
|  |   { \ | ||||||
|  |     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||||||
|  |   }; \ | ||||||
|  |   for flg in $$sane_makeflags; do \ | ||||||
|  |     test $$skip_next = yes && { skip_next=no; continue; }; \ | ||||||
|  |     case $$flg in \ | ||||||
|  |       *=*|--*) continue;; \ | ||||||
|  |         -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||||||
|  |       -*I?*) strip_trailopt 'I';; \ | ||||||
|  |         -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||||||
|  |       -*O?*) strip_trailopt 'O';; \ | ||||||
|  |         -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||||||
|  |       -*l?*) strip_trailopt 'l';; \ | ||||||
|  |       -[dEDm]) skip_next=yes;; \ | ||||||
|  |       -[JT]) skip_next=yes;; \ | ||||||
|  |     esac; \ | ||||||
|  |     case $$flg in \ | ||||||
|  |       *$$target_option*) has_opt=yes; break;; \ | ||||||
|  |     esac; \ | ||||||
|  |   done; \ | ||||||
|  |   test $$has_opt = yes | ||||||
|  | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||||||
|  | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||||||
|  | pkgdatadir = $(datadir)/@PACKAGE@ | ||||||
|  | pkglibdir = $(libdir)/@PACKAGE@ | ||||||
|  | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||||||
|  | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||||||
|  | install_sh_DATA = $(install_sh) -c -m 644 | ||||||
|  | install_sh_PROGRAM = $(install_sh) -c | ||||||
|  | install_sh_SCRIPT = $(install_sh) -c | ||||||
|  | INSTALL_HEADER = $(INSTALL_DATA) | ||||||
|  | transform = $(program_transform_name) | ||||||
|  | NORMAL_INSTALL = : | ||||||
|  | PRE_INSTALL = : | ||||||
|  | POST_INSTALL = : | ||||||
|  | NORMAL_UNINSTALL = : | ||||||
|  | PRE_UNINSTALL = : | ||||||
|  | POST_UNINSTALL = : | ||||||
|  | build_triplet = @build@ | ||||||
|  | host_triplet = @host@ | ||||||
|  | subdir = include/qse/dhcp | ||||||
|  | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||||||
|  | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_sign.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ax_cxx_namespace.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ax_lib_mysql.m4 $(top_srcdir)/m4/ax_numval.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/libtool.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ltargz.m4 $(top_srcdir)/m4/ltdl.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/lx_find_mpi.m4 $(top_srcdir)/configure.ac | ||||||
|  | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||||||
|  | 	$(ACLOCAL_M4) | ||||||
|  | DIST_COMMON = $(srcdir)/Makefile.am $(pkginclude_HEADERS) \ | ||||||
|  | 	$(am__DIST_COMMON) | ||||||
|  | mkinstalldirs = $(install_sh) -d | ||||||
|  | CONFIG_HEADER = $(top_builddir)/include/qse/config.h | ||||||
|  | CONFIG_CLEAN_FILES = | ||||||
|  | CONFIG_CLEAN_VPATH_FILES = | ||||||
|  | AM_V_P = $(am__v_P_@AM_V@) | ||||||
|  | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||||||
|  | am__v_P_0 = false | ||||||
|  | am__v_P_1 = : | ||||||
|  | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||||||
|  | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||||||
|  | am__v_GEN_0 = @echo "  GEN     " $@; | ||||||
|  | am__v_GEN_1 =  | ||||||
|  | AM_V_at = $(am__v_at_@AM_V@) | ||||||
|  | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||||||
|  | am__v_at_0 = @ | ||||||
|  | am__v_at_1 =  | ||||||
|  | SOURCES = | ||||||
|  | DIST_SOURCES = | ||||||
|  | am__can_run_installinfo = \ | ||||||
|  |   case $$AM_UPDATE_INFO_DIR in \ | ||||||
|  |     n|no|NO) false;; \ | ||||||
|  |     *) (install-info --version) >/dev/null 2>&1;; \ | ||||||
|  |   esac | ||||||
|  | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||||||
|  | am__vpath_adj = case $$p in \ | ||||||
|  |     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||||||
|  |     *) f=$$p;; \ | ||||||
|  |   esac; | ||||||
|  | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||||||
|  | am__install_max = 40 | ||||||
|  | am__nobase_strip_setup = \ | ||||||
|  |   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||||||
|  | am__nobase_strip = \ | ||||||
|  |   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||||||
|  | am__nobase_list = $(am__nobase_strip_setup); \ | ||||||
|  |   for p in $$list; do echo "$$p $$p"; done | \ | ||||||
|  |   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||||||
|  |   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||||||
|  |     if (++n[$$2] == $(am__install_max)) \ | ||||||
|  |       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||||||
|  |     END { for (dir in files) print dir, files[dir] }' | ||||||
|  | am__base_list = \ | ||||||
|  |   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||||||
|  |   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||||||
|  | am__uninstall_files_from_dir = { \ | ||||||
|  |   test -z "$$files" \ | ||||||
|  |     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | ||||||
|  |     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | ||||||
|  |          $(am__cd) "$$dir" && rm -f $$files; }; \ | ||||||
|  |   } | ||||||
|  | am__installdirs = "$(DESTDIR)$(pkgincludedir)" | ||||||
|  | HEADERS = $(pkginclude_HEADERS) | ||||||
|  | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||||||
|  | # Read a list of newline-separated strings from the standard input, | ||||||
|  | # and print each of them once, without duplicates.  Input order is | ||||||
|  | # *not* preserved. | ||||||
|  | am__uniquify_input = $(AWK) '\ | ||||||
|  |   BEGIN { nonempty = 0; } \ | ||||||
|  |   { items[$$0] = 1; nonempty = 1; } \ | ||||||
|  |   END { if (nonempty) { for (i in items) print i; }; } \ | ||||||
|  | ' | ||||||
|  | # Make sure the list of sources is unique.  This is necessary because, | ||||||
|  | # e.g., the same source file might be shared among _SOURCES variables | ||||||
|  | # for different programs/libraries. | ||||||
|  | am__define_uniq_tagged_files = \ | ||||||
|  |   list='$(am__tagged_files)'; \ | ||||||
|  |   unique=`for i in $$list; do \ | ||||||
|  |     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||||||
|  |   done | $(am__uniquify_input)` | ||||||
|  | ETAGS = etags | ||||||
|  | CTAGS = ctags | ||||||
|  | am__DIST_COMMON = $(srcdir)/Makefile.in | ||||||
|  | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||||||
|  | pkgincludedir = $(includedir)/qse/dhcp | ||||||
|  | ACLOCAL = @ACLOCAL@ | ||||||
|  | AMTAR = @AMTAR@ | ||||||
|  | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||||||
|  | AR = @AR@ | ||||||
|  | AUTOCONF = @AUTOCONF@ | ||||||
|  | AUTOHEADER = @AUTOHEADER@ | ||||||
|  | AUTOMAKE = @AUTOMAKE@ | ||||||
|  | AWK = @AWK@ | ||||||
|  | BUILD_MODE = @BUILD_MODE@ | ||||||
|  | CC = @CC@ | ||||||
|  | CCDEPMODE = @CCDEPMODE@ | ||||||
|  | CFLAGS = @CFLAGS@ | ||||||
|  | CHAR_MODE = @CHAR_MODE@ | ||||||
|  | CPP = @CPP@ | ||||||
|  | CPPFLAGS = @CPPFLAGS@ | ||||||
|  | CXX = @CXX@ | ||||||
|  | CXXCPP = @CXXCPP@ | ||||||
|  | CXXDEPMODE = @CXXDEPMODE@ | ||||||
|  | CXXFLAGS = @CXXFLAGS@ | ||||||
|  | CYGPATH_W = @CYGPATH_W@ | ||||||
|  | DEFS = @DEFS@ | ||||||
|  | DEPDIR = @DEPDIR@ | ||||||
|  | DLLTOOL = @DLLTOOL@ | ||||||
|  | DSYMUTIL = @DSYMUTIL@ | ||||||
|  | DUMPBIN = @DUMPBIN@ | ||||||
|  | ECHO = @ECHO@ | ||||||
|  | ECHO_C = @ECHO_C@ | ||||||
|  | ECHO_N = @ECHO_N@ | ||||||
|  | ECHO_T = @ECHO_T@ | ||||||
|  | EGREP = @EGREP@ | ||||||
|  | EXEEXT = @EXEEXT@ | ||||||
|  | FGREP = @FGREP@ | ||||||
|  | GREP = @GREP@ | ||||||
|  | HAVE_CXX = @HAVE_CXX@ | ||||||
|  | INCLTDL = @INCLTDL@ | ||||||
|  | INSTALL = @INSTALL@ | ||||||
|  | INSTALL_DATA = @INSTALL_DATA@ | ||||||
|  | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||||||
|  | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||||||
|  | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||||||
|  | LD = @LD@ | ||||||
|  | LDFLAGS = @LDFLAGS@ | ||||||
|  | LIBADD_DL = @LIBADD_DL@ | ||||||
|  | LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ | ||||||
|  | LIBADD_DLOPEN = @LIBADD_DLOPEN@ | ||||||
|  | LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ | ||||||
|  | LIBLTDL = @LIBLTDL@ | ||||||
|  | LIBM = @LIBM@ | ||||||
|  | LIBOBJS = @LIBOBJS@ | ||||||
|  | LIBS = @LIBS@ | ||||||
|  | LIBTOOL = @LIBTOOL@ | ||||||
|  | LIBTOOL_DEPS = @LIBTOOL_DEPS@ | ||||||
|  | LIPO = @LIPO@ | ||||||
|  | LN_S = @LN_S@ | ||||||
|  | LTDLDEPS = @LTDLDEPS@ | ||||||
|  | LTDLINCL = @LTDLINCL@ | ||||||
|  | LTDLOPEN = @LTDLOPEN@ | ||||||
|  | LTLIBOBJS = @LTLIBOBJS@ | ||||||
|  | LT_ARGZ_H = @LT_ARGZ_H@ | ||||||
|  | LT_CONFIG_H = @LT_CONFIG_H@ | ||||||
|  | LT_DLLOADERS = @LT_DLLOADERS@ | ||||||
|  | LT_DLPREOPEN = @LT_DLPREOPEN@ | ||||||
|  | LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ | ||||||
|  | MAKEINFO = @MAKEINFO@ | ||||||
|  | MANIFEST_TOOL = @MANIFEST_TOOL@ | ||||||
|  | MKDIR_P = @MKDIR_P@ | ||||||
|  | MPICC = @MPICC@ | ||||||
|  | MPI_CFLAGS = @MPI_CFLAGS@ | ||||||
|  | MPI_CLDFLAGS = @MPI_CLDFLAGS@ | ||||||
|  | MYSQL_CFLAGS = @MYSQL_CFLAGS@ | ||||||
|  | MYSQL_CONFIG = @MYSQL_CONFIG@ | ||||||
|  | MYSQL_LDFLAGS = @MYSQL_LDFLAGS@ | ||||||
|  | MYSQL_VERSION = @MYSQL_VERSION@ | ||||||
|  | NM = @NM@ | ||||||
|  | NMEDIT = @NMEDIT@ | ||||||
|  | OBJDUMP = @OBJDUMP@ | ||||||
|  | OBJEXT = @OBJEXT@ | ||||||
|  | OTOOL = @OTOOL@ | ||||||
|  | OTOOL64 = @OTOOL64@ | ||||||
|  | PACKAGE = @PACKAGE@ | ||||||
|  | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||||||
|  | PACKAGE_NAME = @PACKAGE_NAME@ | ||||||
|  | PACKAGE_STRING = @PACKAGE_STRING@ | ||||||
|  | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||||||
|  | PACKAGE_URL = @PACKAGE_URL@ | ||||||
|  | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||||||
|  | PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@ | ||||||
|  | PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@ | ||||||
|  | PACKAGE_VERSION_PATCH = @PACKAGE_VERSION_PATCH@ | ||||||
|  | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||||||
|  | PTHREAD_CC = @PTHREAD_CC@ | ||||||
|  | PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ | ||||||
|  | PTHREAD_LIBS = @PTHREAD_LIBS@ | ||||||
|  | QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ | ||||||
|  | QSE_PROJECT_URL = @QSE_PROJECT_URL@ | ||||||
|  | QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ | ||||||
|  | QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ | ||||||
|  | QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ | ||||||
|  | QSE_SIZEOF_INT = @QSE_SIZEOF_INT@ | ||||||
|  | QSE_SIZEOF_LONG = @QSE_SIZEOF_LONG@ | ||||||
|  | QSE_SIZEOF_LONG_DOUBLE = @QSE_SIZEOF_LONG_DOUBLE@ | ||||||
|  | QSE_SIZEOF_LONG_LONG = @QSE_SIZEOF_LONG_LONG@ | ||||||
|  | QSE_SIZEOF_OFF64_T = @QSE_SIZEOF_OFF64_T@ | ||||||
|  | QSE_SIZEOF_OFF_T = @QSE_SIZEOF_OFF_T@ | ||||||
|  | QSE_SIZEOF_SHORT = @QSE_SIZEOF_SHORT@ | ||||||
|  | QSE_SIZEOF_VOID_P = @QSE_SIZEOF_VOID_P@ | ||||||
|  | QSE_SIZEOF_WCHAR_T = @QSE_SIZEOF_WCHAR_T@ | ||||||
|  | QUADMATH_LIBS = @QUADMATH_LIBS@ | ||||||
|  | RANLIB = @RANLIB@ | ||||||
|  | RM = @RM@ | ||||||
|  | RMDIR = @RMDIR@ | ||||||
|  | SED = @SED@ | ||||||
|  | SENDFILE_LIBS = @SENDFILE_LIBS@ | ||||||
|  | SET_MAKE = @SET_MAKE@ | ||||||
|  | SHELL = @SHELL@ | ||||||
|  | SOCKET_LIBS = @SOCKET_LIBS@ | ||||||
|  | SSL_LIBS = @SSL_LIBS@ | ||||||
|  | STRIP = @STRIP@ | ||||||
|  | TRUE = @TRUE@ | ||||||
|  | UCI_LIBS = @UCI_LIBS@ | ||||||
|  | UNICOWS_LIBS = @UNICOWS_LIBS@ | ||||||
|  | VERSION = @VERSION@ | ||||||
|  | abs_builddir = @abs_builddir@ | ||||||
|  | abs_srcdir = @abs_srcdir@ | ||||||
|  | abs_top_builddir = @abs_top_builddir@ | ||||||
|  | abs_top_srcdir = @abs_top_srcdir@ | ||||||
|  | ac_ct_AR = @ac_ct_AR@ | ||||||
|  | ac_ct_CC = @ac_ct_CC@ | ||||||
|  | ac_ct_CXX = @ac_ct_CXX@ | ||||||
|  | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||||||
|  | am__include = @am__include@ | ||||||
|  | am__leading_dot = @am__leading_dot@ | ||||||
|  | am__quote = @am__quote@ | ||||||
|  | am__tar = @am__tar@ | ||||||
|  | am__untar = @am__untar@ | ||||||
|  | ax_pthread_config = @ax_pthread_config@ | ||||||
|  | bindir = @bindir@ | ||||||
|  | build = @build@ | ||||||
|  | build_alias = @build_alias@ | ||||||
|  | build_cpu = @build_cpu@ | ||||||
|  | build_os = @build_os@ | ||||||
|  | build_vendor = @build_vendor@ | ||||||
|  | builddir = @builddir@ | ||||||
|  | datadir = @datadir@ | ||||||
|  | datarootdir = @datarootdir@ | ||||||
|  | docdir = @docdir@ | ||||||
|  | dvidir = @dvidir@ | ||||||
|  | exec_prefix = @exec_prefix@ | ||||||
|  | host = @host@ | ||||||
|  | host_alias = @host_alias@ | ||||||
|  | host_cpu = @host_cpu@ | ||||||
|  | host_os = @host_os@ | ||||||
|  | host_vendor = @host_vendor@ | ||||||
|  | htmldir = @htmldir@ | ||||||
|  | includedir = @includedir@ | ||||||
|  | infodir = @infodir@ | ||||||
|  | install_sh = @install_sh@ | ||||||
|  | libdir = @libdir@ | ||||||
|  | libexecdir = @libexecdir@ | ||||||
|  | localedir = @localedir@ | ||||||
|  | localstatedir = @localstatedir@ | ||||||
|  | ltdl_LIBOBJS = @ltdl_LIBOBJS@ | ||||||
|  | ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ | ||||||
|  | mandir = @mandir@ | ||||||
|  | mkdir_p = @mkdir_p@ | ||||||
|  | oldincludedir = @oldincludedir@ | ||||||
|  | pdfdir = @pdfdir@ | ||||||
|  | prefix = @prefix@ | ||||||
|  | program_transform_name = @program_transform_name@ | ||||||
|  | psdir = @psdir@ | ||||||
|  | sbindir = @sbindir@ | ||||||
|  | sharedstatedir = @sharedstatedir@ | ||||||
|  | srcdir = @srcdir@ | ||||||
|  | subdirs = @subdirs@ | ||||||
|  | sys_symbol_underscore = @sys_symbol_underscore@ | ||||||
|  | sysconfdir = @sysconfdir@ | ||||||
|  | target_alias = @target_alias@ | ||||||
|  | top_build_prefix = @top_build_prefix@ | ||||||
|  | top_builddir = @top_builddir@ | ||||||
|  | top_srcdir = @top_srcdir@ | ||||||
|  | pkginclude_HEADERS = \ | ||||||
|  | 	dhcpmsg.h  | ||||||
|  |  | ||||||
|  | all: all-am | ||||||
|  |  | ||||||
|  | .SUFFIXES: | ||||||
|  | $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) | ||||||
|  | 	@for dep in $?; do \ | ||||||
|  | 	  case '$(am__configure_deps)' in \ | ||||||
|  | 	    *$$dep*) \ | ||||||
|  | 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||||||
|  | 	        && { if test -f $@; then exit 0; else break; fi; }; \ | ||||||
|  | 	      exit 1;; \ | ||||||
|  | 	  esac; \ | ||||||
|  | 	done; \ | ||||||
|  | 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/qse/dhcp/Makefile'; \ | ||||||
|  | 	$(am__cd) $(top_srcdir) && \ | ||||||
|  | 	  $(AUTOMAKE) --foreign include/qse/dhcp/Makefile | ||||||
|  | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||||||
|  | 	@case '$?' in \ | ||||||
|  | 	  *config.status*) \ | ||||||
|  | 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||||||
|  | 	  *) \ | ||||||
|  | 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||||||
|  | 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||||||
|  | 	esac; | ||||||
|  |  | ||||||
|  | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||||||
|  | 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||||
|  |  | ||||||
|  | $(top_srcdir)/configure:  $(am__configure_deps) | ||||||
|  | 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||||
|  | $(ACLOCAL_M4):  $(am__aclocal_m4_deps) | ||||||
|  | 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||||
|  | $(am__aclocal_m4_deps): | ||||||
|  |  | ||||||
|  | mostlyclean-libtool: | ||||||
|  | 	-rm -f *.lo | ||||||
|  |  | ||||||
|  | clean-libtool: | ||||||
|  | 	-rm -rf .libs _libs | ||||||
|  | install-pkgincludeHEADERS: $(pkginclude_HEADERS) | ||||||
|  | 	@$(NORMAL_INSTALL) | ||||||
|  | 	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ | ||||||
|  | 	if test -n "$$list"; then \ | ||||||
|  | 	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \ | ||||||
|  | 	  $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \ | ||||||
|  | 	fi; \ | ||||||
|  | 	for p in $$list; do \ | ||||||
|  | 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||||||
|  | 	  echo "$$d$$p"; \ | ||||||
|  | 	done | $(am__base_list) | \ | ||||||
|  | 	while read files; do \ | ||||||
|  | 	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \ | ||||||
|  | 	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \ | ||||||
|  | 	done | ||||||
|  |  | ||||||
|  | uninstall-pkgincludeHEADERS: | ||||||
|  | 	@$(NORMAL_UNINSTALL) | ||||||
|  | 	@list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ | ||||||
|  | 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||||||
|  | 	dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir) | ||||||
|  |  | ||||||
|  | ID: $(am__tagged_files) | ||||||
|  | 	$(am__define_uniq_tagged_files); mkid -fID $$unique | ||||||
|  | tags: tags-am | ||||||
|  | TAGS: tags | ||||||
|  |  | ||||||
|  | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||||||
|  | 	set x; \ | ||||||
|  | 	here=`pwd`; \ | ||||||
|  | 	$(am__define_uniq_tagged_files); \ | ||||||
|  | 	shift; \ | ||||||
|  | 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||||||
|  | 	  test -n "$$unique" || unique=$$empty_fix; \ | ||||||
|  | 	  if test $$# -gt 0; then \ | ||||||
|  | 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||||||
|  | 	      "$$@" $$unique; \ | ||||||
|  | 	  else \ | ||||||
|  | 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||||||
|  | 	      $$unique; \ | ||||||
|  | 	  fi; \ | ||||||
|  | 	fi | ||||||
|  | ctags: ctags-am | ||||||
|  |  | ||||||
|  | CTAGS: ctags | ||||||
|  | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||||||
|  | 	$(am__define_uniq_tagged_files); \ | ||||||
|  | 	test -z "$(CTAGS_ARGS)$$unique" \ | ||||||
|  | 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||||||
|  | 	     $$unique | ||||||
|  |  | ||||||
|  | GTAGS: | ||||||
|  | 	here=`$(am__cd) $(top_builddir) && pwd` \ | ||||||
|  | 	  && $(am__cd) $(top_srcdir) \ | ||||||
|  | 	  && gtags -i $(GTAGS_ARGS) "$$here" | ||||||
|  | cscopelist: cscopelist-am | ||||||
|  |  | ||||||
|  | cscopelist-am: $(am__tagged_files) | ||||||
|  | 	list='$(am__tagged_files)'; \ | ||||||
|  | 	case "$(srcdir)" in \ | ||||||
|  | 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||||||
|  | 	  *) sdir=$(subdir)/$(srcdir) ;; \ | ||||||
|  | 	esac; \ | ||||||
|  | 	for i in $$list; do \ | ||||||
|  | 	  if test -f "$$i"; then \ | ||||||
|  | 	    echo "$(subdir)/$$i"; \ | ||||||
|  | 	  else \ | ||||||
|  | 	    echo "$$sdir/$$i"; \ | ||||||
|  | 	  fi; \ | ||||||
|  | 	done >> $(top_builddir)/cscope.files | ||||||
|  |  | ||||||
|  | distclean-tags: | ||||||
|  | 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||||||
|  |  | ||||||
|  | distdir: $(DISTFILES) | ||||||
|  | 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||||
|  | 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||||
|  | 	list='$(DISTFILES)'; \ | ||||||
|  | 	  dist_files=`for file in $$list; do echo $$file; done | \ | ||||||
|  | 	  sed -e "s|^$$srcdirstrip/||;t" \ | ||||||
|  | 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||||||
|  | 	case $$dist_files in \ | ||||||
|  | 	  */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||||||
|  | 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||||||
|  | 			   sort -u` ;; \ | ||||||
|  | 	esac; \ | ||||||
|  | 	for file in $$dist_files; do \ | ||||||
|  | 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||||||
|  | 	  if test -d $$d/$$file; then \ | ||||||
|  | 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||||||
|  | 	    if test -d "$(distdir)/$$file"; then \ | ||||||
|  | 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||||||
|  | 	    fi; \ | ||||||
|  | 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||||||
|  | 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||||||
|  | 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||||||
|  | 	    fi; \ | ||||||
|  | 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||||||
|  | 	  else \ | ||||||
|  | 	    test -f "$(distdir)/$$file" \ | ||||||
|  | 	    || cp -p $$d/$$file "$(distdir)/$$file" \ | ||||||
|  | 	    || exit 1; \ | ||||||
|  | 	  fi; \ | ||||||
|  | 	done | ||||||
|  | check-am: all-am | ||||||
|  | check: check-am | ||||||
|  | all-am: Makefile $(HEADERS) | ||||||
|  | installdirs: | ||||||
|  | 	for dir in "$(DESTDIR)$(pkgincludedir)"; do \ | ||||||
|  | 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||||||
|  | 	done | ||||||
|  | install: install-am | ||||||
|  | install-exec: install-exec-am | ||||||
|  | install-data: install-data-am | ||||||
|  | uninstall: uninstall-am | ||||||
|  |  | ||||||
|  | install-am: all-am | ||||||
|  | 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||||||
|  |  | ||||||
|  | installcheck: installcheck-am | ||||||
|  | install-strip: | ||||||
|  | 	if test -z '$(STRIP)'; then \ | ||||||
|  | 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||||
|  | 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||||
|  | 	      install; \ | ||||||
|  | 	else \ | ||||||
|  | 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||||
|  | 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||||
|  | 	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||||||
|  | 	fi | ||||||
|  | mostlyclean-generic: | ||||||
|  |  | ||||||
|  | clean-generic: | ||||||
|  |  | ||||||
|  | distclean-generic: | ||||||
|  | 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||||||
|  | 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||||||
|  |  | ||||||
|  | maintainer-clean-generic: | ||||||
|  | 	@echo "This command is intended for maintainers to use" | ||||||
|  | 	@echo "it deletes files that may require special tools to rebuild." | ||||||
|  | clean: clean-am | ||||||
|  |  | ||||||
|  | clean-am: clean-generic clean-libtool mostlyclean-am | ||||||
|  |  | ||||||
|  | distclean: distclean-am | ||||||
|  | 	-rm -f Makefile | ||||||
|  | distclean-am: clean-am distclean-generic distclean-tags | ||||||
|  |  | ||||||
|  | dvi: dvi-am | ||||||
|  |  | ||||||
|  | dvi-am: | ||||||
|  |  | ||||||
|  | html: html-am | ||||||
|  |  | ||||||
|  | html-am: | ||||||
|  |  | ||||||
|  | info: info-am | ||||||
|  |  | ||||||
|  | info-am: | ||||||
|  |  | ||||||
|  | install-data-am: install-pkgincludeHEADERS | ||||||
|  |  | ||||||
|  | install-dvi: install-dvi-am | ||||||
|  |  | ||||||
|  | install-dvi-am: | ||||||
|  |  | ||||||
|  | install-exec-am: | ||||||
|  |  | ||||||
|  | install-html: install-html-am | ||||||
|  |  | ||||||
|  | install-html-am: | ||||||
|  |  | ||||||
|  | install-info: install-info-am | ||||||
|  |  | ||||||
|  | install-info-am: | ||||||
|  |  | ||||||
|  | install-man: | ||||||
|  |  | ||||||
|  | install-pdf: install-pdf-am | ||||||
|  |  | ||||||
|  | install-pdf-am: | ||||||
|  |  | ||||||
|  | install-ps: install-ps-am | ||||||
|  |  | ||||||
|  | install-ps-am: | ||||||
|  |  | ||||||
|  | installcheck-am: | ||||||
|  |  | ||||||
|  | maintainer-clean: maintainer-clean-am | ||||||
|  | 	-rm -f Makefile | ||||||
|  | maintainer-clean-am: distclean-am maintainer-clean-generic | ||||||
|  |  | ||||||
|  | mostlyclean: mostlyclean-am | ||||||
|  |  | ||||||
|  | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||||||
|  |  | ||||||
|  | pdf: pdf-am | ||||||
|  |  | ||||||
|  | pdf-am: | ||||||
|  |  | ||||||
|  | ps: ps-am | ||||||
|  |  | ||||||
|  | ps-am: | ||||||
|  |  | ||||||
|  | uninstall-am: uninstall-pkgincludeHEADERS | ||||||
|  |  | ||||||
|  | .MAKE: install-am install-strip | ||||||
|  |  | ||||||
|  | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | ||||||
|  | 	clean-libtool cscopelist-am ctags ctags-am distclean \ | ||||||
|  | 	distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||||||
|  | 	dvi-am html html-am info info-am install install-am \ | ||||||
|  | 	install-data install-data-am install-dvi install-dvi-am \ | ||||||
|  | 	install-exec install-exec-am install-html install-html-am \ | ||||||
|  | 	install-info install-info-am install-man install-pdf \ | ||||||
|  | 	install-pdf-am install-pkgincludeHEADERS install-ps \ | ||||||
|  | 	install-ps-am install-strip installcheck installcheck-am \ | ||||||
|  | 	installdirs maintainer-clean maintainer-clean-generic \ | ||||||
|  | 	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ | ||||||
|  | 	ps ps-am tags tags-am uninstall uninstall-am \ | ||||||
|  | 	uninstall-pkgincludeHEADERS | ||||||
|  |  | ||||||
|  | .PRECIOUS: Makefile | ||||||
|  |  | ||||||
|  |  | ||||||
|  | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||||||
|  | # Otherwise a system limit (for SysV at least) may be exceeded. | ||||||
|  | .NOEXPORT: | ||||||
							
								
								
									
										146
									
								
								qse/include/qse/dhcp/dhcpmsg.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										146
									
								
								qse/include/qse/dhcp/dhcpmsg.h
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,146 @@ | |||||||
|  | #ifndef _QSE_DHCP_DHCPMSG_H_ | ||||||
|  | #define _QSE_DHCP_DHCPMSG_H_ | ||||||
|  |  | ||||||
|  | #include <qse/types.h> | ||||||
|  | #include <qse/macros.h> | ||||||
|  |  | ||||||
|  | #define QSE_DHCP4_SERVER_PORT   67 | ||||||
|  | #define QSE_DHCP4_CLIENT_PORT   68 | ||||||
|  | #define QSE_DHCP4_MAGIC_COOKIE  0x63825363 | ||||||
|  |  | ||||||
|  | /* operation code */ | ||||||
|  | enum qse_dhcp4_op_t | ||||||
|  | { | ||||||
|  | 	QSE_DHCP4OP_BOOTREQUEST = 1, | ||||||
|  | 	QSE_DHCP4OP_BOOTREPLY   = 2 | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | /* option codes (partial) */ | ||||||
|  | enum qse_dhcp4_opt_t | ||||||
|  | { | ||||||
|  | 	QSE_DHCP4_OPT_PADDING        = 0x00, | ||||||
|  | 	QSE_DHCP4_OPT_SUBNET         = 0x01, | ||||||
|  | 	QSE_DHCP4_OPT_TIME_OFFSET    = 0x02, | ||||||
|  | 	QSE_DHCP4_OPT_ROUTER         = 0x03, | ||||||
|  | 	QSE_DHCP4_OPT_TIME_SERVER    = 0x04, | ||||||
|  | 	QSE_DHCP4_OPT_NAME_SERVER    = 0x05, | ||||||
|  | 	QSE_DHCP4_OPT_DNS_SERVER     = 0x06, | ||||||
|  | 	QSE_DHCP4_OPT_LOG_SERVER     = 0x07, | ||||||
|  | 	QSE_DHCP4_OPT_COOKIE_SERVER  = 0x08, | ||||||
|  | 	QSE_DHCP4_OPT_LPR_SERVER     = 0x09, | ||||||
|  | 	QSE_DHCP4_OPT_HOST_NAME      = 0x0c, | ||||||
|  | 	QSE_DHCP4_OPT_BOOT_SIZE      = 0x0d, | ||||||
|  | 	QSE_DHCP4_OPT_DOMAIN_NAME    = 0x0f, | ||||||
|  | 	QSE_DHCP4_OPT_SWAP_SERVER    = 0x10, | ||||||
|  | 	QSE_DHCP4_OPT_ROOT_PATH      = 0x11, | ||||||
|  | 	QSE_DHCP4_OPT_IP_TTL         = 0x17, | ||||||
|  | 	QSE_DHCP4_OPT_MTU            = 0x1a, | ||||||
|  | 	QSE_DHCP4_OPT_BROADCAST      = 0x1c, | ||||||
|  | 	QSE_DHCP4_OPT_NTP_SERVER     = 0x2a, | ||||||
|  | 	QSE_DHCP4_OPT_WINS_SERVER    = 0x2c, | ||||||
|  | 	QSE_DHCP4_OPT_REQUESTED_IP   = 0x32, | ||||||
|  | 	QSE_DHCP4_OPT_LEASE_TIME     = 0x33, | ||||||
|  | 	QSE_DHCP4_OPT_OVERLOAD       = 0x34, /* overload sname or file */ | ||||||
|  | 	QSE_DHCP4_OPT_MESSAGE_TYPE   = 0x35, | ||||||
|  | 	QSE_DHCP4_OPT_SERVER_ID      = 0x36, | ||||||
|  | 	QSE_DHCP4_OPT_PARAM_REQ      = 0x37, | ||||||
|  | 	QSE_DHCP4_OPT_MESSAGE        = 0x38, | ||||||
|  | 	QSE_DHCP4_OPT_MAX_SIZE       = 0x39, | ||||||
|  | 	QSE_DHCP4_OPT_T1             = 0x3a, | ||||||
|  | 	QSE_DHCP4_OPT_T2             = 0x3b, | ||||||
|  | 	QSE_DHCP4_OPT_VENDOR         = 0x3c, | ||||||
|  | 	QSE_DHCP4_OPT_CLIENT_ID      = 0x3d, | ||||||
|  | 	QSE_DHCP4_OPT_RELAY          = 0x52, | ||||||
|  | 	QSE_DHCP4_OPT_END            = 0xFF | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | /* flags for QSE_DHCP4_OPT_OVERLOAD */ | ||||||
|  | enum qse_dhcp4_opt_overload_t | ||||||
|  | { | ||||||
|  | 	QSE_DHCP4_OPT_OVERLOAD_FILE  = (1 << 0), | ||||||
|  | 	QSE_DHCP4_OPT_OVERLOAD_SNAME = (1 << 1) | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | /* flags for QSE_DHCP4_OPT_OVERLOAD */ | ||||||
|  | enum qse_dhcp4_opt_relay_t | ||||||
|  | { | ||||||
|  | 	QSE_DHCP4_OPT_RELAY_CIRCUIT_ID  = 1, | ||||||
|  | 	QSE_DHCP4_OPT_RELAY_REMOTE_ID   = 2 | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | /* message type */ | ||||||
|  | enum qse_dhcp4_msg_t | ||||||
|  | { | ||||||
|  | 	QSE_DHCP4MSG_DISCOVER = 1, | ||||||
|  | 	QSE_DHCP4MSG_OFFER    = 2, | ||||||
|  | 	QSE_DHCP4MSG_REQUEST  = 3, | ||||||
|  | 	QSE_DHCP4MSG_DECLINE  = 4, | ||||||
|  | 	QSE_DHCP4MSG_ACK      = 5, | ||||||
|  | 	QSE_DHCP4MSG_NAK      = 6, | ||||||
|  | 	QSE_DHCP4MSG_RELEASE  = 7, | ||||||
|  | 	QSE_DHCP4MSG_INFORM   = 8 | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | struct qse_dhcp4_pkt_t | ||||||
|  | { | ||||||
|  | 	qse_uint8_t  op;  | ||||||
|  | 	qse_uint8_t  htype;  | ||||||
|  | 	qse_uint8_t  hlen;  | ||||||
|  | 	qse_uint8_t  hops; | ||||||
|  | 	qse_uint32_t xid;        /* transaction id */ | ||||||
|  | 	qse_uint16_t secs;       /* seconds elapsed */ | ||||||
|  | 	qse_uint16_t flags;      /* bootp flags */ | ||||||
|  | 	qse_uint32_t ciaddr;     /* client ip */ | ||||||
|  | 	qse_uint32_t yiaddr;     /* your ip */ | ||||||
|  | 	qse_uint32_t siaddr;     /* next server ip */ | ||||||
|  | 	qse_uint32_t giaddr;     /* relay agent ip */ | ||||||
|  | 	qse_uint8_t  chaddr[16]; /* client mac */ | ||||||
|  |  | ||||||
|  | 	char     sname[64];      /* server host name */ | ||||||
|  | 	char     file[128];      /* boot file name */ | ||||||
|  |  | ||||||
|  | 	/* options are placed after the header. | ||||||
|  | 	 * the first four bytes of the options compose a magic cookie   | ||||||
|  | 	 * 0x63 0x82 0x53 0x63 */ | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | typedef struct qse_dhcp4_pkt_t qse_dhcp4_pkt_t; | ||||||
|  |  | ||||||
|  | #ifdef __cplusplus | ||||||
|  | extern "C" { | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  | QSE_EXPORT qse_uint8_t* qse_dhcp4_get_options ( | ||||||
|  | 	const qse_dhcp4_pkt_t* pkt, | ||||||
|  | 	qse_size_t             len, | ||||||
|  | 	qse_size_t*            olen /* option area length */ | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | QSE_EXPORT qse_uint8_t* qse_dhcp4_get_option ( | ||||||
|  | 	const qse_dhcp4_pkt_t* pkt, | ||||||
|  | 	qse_size_t             len, | ||||||
|  | 	int                    code, | ||||||
|  | 	qse_uint8_t*           olen | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | QSE_EXPORT qse_uint8_t* qse_dhcp4_get_relay_suboption ( | ||||||
|  | 	const qse_uint8_t* ptr,  | ||||||
|  | 	qse_uint8_t        len, | ||||||
|  | 	int                code, | ||||||
|  | 	qse_uint8_t*       olen | ||||||
|  | ); | ||||||
|  |  | ||||||
|  |  | ||||||
|  | QSE_EXPORT int qse_dhcp4_add_option ( | ||||||
|  | 	qse_dhcp4_pkt_t* pkt, | ||||||
|  | 	qse_size_t       len, | ||||||
|  | 	qse_size_t       max, | ||||||
|  | 	int              code, | ||||||
|  | 	qse_uint8_t*     optr, /* option data */ | ||||||
|  | 	qse_uint8_t      olen  /* option length */ | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | #ifdef __cplusplus | ||||||
|  | } | ||||||
|  | #endif | ||||||
|  | #endif | ||||||
| @ -1,5 +1,5 @@ | |||||||
| SUBDIRS = cmn cry si sed awk xli http rad | SUBDIRS = cmn cry si sed awk xli http rad dhcp | ||||||
| DIST_SUBDIRS = $(SUBDIRS)  | DIST_SUBDIRS = $(SUBDIRS)  | ||||||
|  |  | ||||||
| pkgconfigdir = $(libdir)/pkgconfig | pkgconfigdir = $(libdir)/pkgconfig | ||||||
| pkgconfig_DATA = qsecmn.pc qsecry.pc qsesi.pc qsesed.pc qseawk.pc qsexli.pc qsehttp.pc qserad.pc | pkgconfig_DATA = qsecmn.pc qsecry.pc qsesi.pc qsesed.pc qseawk.pc qsexli.pc qsehttp.pc qserad.pc qsedhcp.pc | ||||||
|  | |||||||
| @ -104,7 +104,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | |||||||
| mkinstalldirs = $(install_sh) -d | mkinstalldirs = $(install_sh) -d | ||||||
| CONFIG_HEADER = $(top_builddir)/include/qse/config.h | CONFIG_HEADER = $(top_builddir)/include/qse/config.h | ||||||
| CONFIG_CLEAN_FILES = qsecmn.pc qsecry.pc qsesi.pc qsesed.pc qseawk.pc \ | CONFIG_CLEAN_FILES = qsecmn.pc qsecry.pc qsesi.pc qsesed.pc qseawk.pc \ | ||||||
| 	qsexli.pc qsehttp.pc qserad.pc | 	qsexli.pc qsehttp.pc qserad.pc qsedhcp.pc | ||||||
| CONFIG_CLEAN_VPATH_FILES = | CONFIG_CLEAN_VPATH_FILES = | ||||||
| AM_V_P = $(am__v_P_@AM_V@) | AM_V_P = $(am__v_P_@AM_V@) | ||||||
| am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||||||
| @ -191,9 +191,9 @@ ETAGS = etags | |||||||
| CTAGS = ctags | CTAGS = ctags | ||||||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/qseawk.pc.in \ | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/qseawk.pc.in \ | ||||||
| 	$(srcdir)/qsecmn.pc.in $(srcdir)/qsecry.pc.in \ | 	$(srcdir)/qsecmn.pc.in $(srcdir)/qsecry.pc.in \ | ||||||
| 	$(srcdir)/qsehttp.pc.in $(srcdir)/qserad.pc.in \ | 	$(srcdir)/qsedhcp.pc.in $(srcdir)/qsehttp.pc.in \ | ||||||
| 	$(srcdir)/qsesed.pc.in $(srcdir)/qsesi.pc.in \ | 	$(srcdir)/qserad.pc.in $(srcdir)/qsesed.pc.in \ | ||||||
| 	$(srcdir)/qsexli.pc.in | 	$(srcdir)/qsesi.pc.in $(srcdir)/qsexli.pc.in | ||||||
| DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||||||
| am__relativize = \ | am__relativize = \ | ||||||
|   dir0=`pwd`; \ |   dir0=`pwd`; \ | ||||||
| @ -400,10 +400,10 @@ target_alias = @target_alias@ | |||||||
| top_build_prefix = @top_build_prefix@ | top_build_prefix = @top_build_prefix@ | ||||||
| top_builddir = @top_builddir@ | top_builddir = @top_builddir@ | ||||||
| top_srcdir = @top_srcdir@ | top_srcdir = @top_srcdir@ | ||||||
| SUBDIRS = cmn cry si sed awk xli http rad | SUBDIRS = cmn cry si sed awk xli http rad dhcp | ||||||
| DIST_SUBDIRS = $(SUBDIRS)  | DIST_SUBDIRS = $(SUBDIRS)  | ||||||
| pkgconfigdir = $(libdir)/pkgconfig | pkgconfigdir = $(libdir)/pkgconfig | ||||||
| pkgconfig_DATA = qsecmn.pc qsecry.pc qsesi.pc qsesed.pc qseawk.pc qsexli.pc qsehttp.pc qserad.pc | pkgconfig_DATA = qsecmn.pc qsecry.pc qsesi.pc qsesed.pc qseawk.pc qsexli.pc qsehttp.pc qserad.pc qsedhcp.pc | ||||||
| all: all-recursive | all: all-recursive | ||||||
|  |  | ||||||
| .SUFFIXES: | .SUFFIXES: | ||||||
| @ -452,6 +452,8 @@ qsehttp.pc: $(top_builddir)/config.status $(srcdir)/qsehttp.pc.in | |||||||
| 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||||||
| qserad.pc: $(top_builddir)/config.status $(srcdir)/qserad.pc.in | qserad.pc: $(top_builddir)/config.status $(srcdir)/qserad.pc.in | ||||||
| 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||||||
|  | qsedhcp.pc: $(top_builddir)/config.status $(srcdir)/qsedhcp.pc.in | ||||||
|  | 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||||||
|  |  | ||||||
| mostlyclean-libtool: | mostlyclean-libtool: | ||||||
| 	-rm -f *.lo | 	-rm -f *.lo | ||||||
|  | |||||||
							
								
								
									
										16
									
								
								qse/lib/dhcp/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								qse/lib/dhcp/Makefile.am
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | |||||||
|  | AUTOMAKE_OPTIONS = nostdinc | ||||||
|  |  | ||||||
|  | AM_CPPFLAGS = \ | ||||||
|  | 	-I$(top_builddir)/include \ | ||||||
|  | 	-I$(top_srcdir)/include | ||||||
|  |  | ||||||
|  | #noinst_HEADERS = | ||||||
|  |  | ||||||
|  | lib_LTLIBRARIES = libqsedhcp.la | ||||||
|  | libqsedhcp_la_SOURCES =  \ | ||||||
|  | 	dhcpmsg.c | ||||||
|  |  | ||||||
|  | libqsedhcp_la_CFLAGS =  | ||||||
|  | libqsedhcp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined | ||||||
|  | libqsedhcp_la_LIBADD = -lqsecmn | ||||||
|  |  | ||||||
							
								
								
									
										728
									
								
								qse/lib/dhcp/Makefile.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										728
									
								
								qse/lib/dhcp/Makefile.in
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,728 @@ | |||||||
|  | # Makefile.in generated by automake 1.15 from Makefile.am. | ||||||
|  | # @configure_input@ | ||||||
|  |  | ||||||
|  | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | ||||||
|  |  | ||||||
|  | # This Makefile.in is free software; the Free Software Foundation | ||||||
|  | # gives unlimited permission to copy and/or distribute it, | ||||||
|  | # with or without modifications, as long as this notice is preserved. | ||||||
|  |  | ||||||
|  | # This program is distributed in the hope that it will be useful, | ||||||
|  | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||||||
|  | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||||||
|  | # PARTICULAR PURPOSE. | ||||||
|  |  | ||||||
|  | @SET_MAKE@ | ||||||
|  |  | ||||||
|  | VPATH = @srcdir@ | ||||||
|  | am__is_gnu_make = { \ | ||||||
|  |   if test -z '$(MAKELEVEL)'; then \ | ||||||
|  |     false; \ | ||||||
|  |   elif test -n '$(MAKE_HOST)'; then \ | ||||||
|  |     true; \ | ||||||
|  |   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||||||
|  |     true; \ | ||||||
|  |   else \ | ||||||
|  |     false; \ | ||||||
|  |   fi; \ | ||||||
|  | } | ||||||
|  | am__make_running_with_option = \ | ||||||
|  |   case $${target_option-} in \ | ||||||
|  |       ?) ;; \ | ||||||
|  |       *) echo "am__make_running_with_option: internal error: invalid" \ | ||||||
|  |               "target option '$${target_option-}' specified" >&2; \ | ||||||
|  |          exit 1;; \ | ||||||
|  |   esac; \ | ||||||
|  |   has_opt=no; \ | ||||||
|  |   sane_makeflags=$$MAKEFLAGS; \ | ||||||
|  |   if $(am__is_gnu_make); then \ | ||||||
|  |     sane_makeflags=$$MFLAGS; \ | ||||||
|  |   else \ | ||||||
|  |     case $$MAKEFLAGS in \ | ||||||
|  |       *\\[\ \	]*) \ | ||||||
|  |         bs=\\; \ | ||||||
|  |         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||||||
|  |           | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \ | ||||||
|  |     esac; \ | ||||||
|  |   fi; \ | ||||||
|  |   skip_next=no; \ | ||||||
|  |   strip_trailopt () \ | ||||||
|  |   { \ | ||||||
|  |     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||||||
|  |   }; \ | ||||||
|  |   for flg in $$sane_makeflags; do \ | ||||||
|  |     test $$skip_next = yes && { skip_next=no; continue; }; \ | ||||||
|  |     case $$flg in \ | ||||||
|  |       *=*|--*) continue;; \ | ||||||
|  |         -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||||||
|  |       -*I?*) strip_trailopt 'I';; \ | ||||||
|  |         -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||||||
|  |       -*O?*) strip_trailopt 'O';; \ | ||||||
|  |         -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||||||
|  |       -*l?*) strip_trailopt 'l';; \ | ||||||
|  |       -[dEDm]) skip_next=yes;; \ | ||||||
|  |       -[JT]) skip_next=yes;; \ | ||||||
|  |     esac; \ | ||||||
|  |     case $$flg in \ | ||||||
|  |       *$$target_option*) has_opt=yes; break;; \ | ||||||
|  |     esac; \ | ||||||
|  |   done; \ | ||||||
|  |   test $$has_opt = yes | ||||||
|  | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||||||
|  | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||||||
|  | pkgdatadir = $(datadir)/@PACKAGE@ | ||||||
|  | pkgincludedir = $(includedir)/@PACKAGE@ | ||||||
|  | pkglibdir = $(libdir)/@PACKAGE@ | ||||||
|  | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||||||
|  | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||||||
|  | install_sh_DATA = $(install_sh) -c -m 644 | ||||||
|  | install_sh_PROGRAM = $(install_sh) -c | ||||||
|  | install_sh_SCRIPT = $(install_sh) -c | ||||||
|  | INSTALL_HEADER = $(INSTALL_DATA) | ||||||
|  | transform = $(program_transform_name) | ||||||
|  | NORMAL_INSTALL = : | ||||||
|  | PRE_INSTALL = : | ||||||
|  | POST_INSTALL = : | ||||||
|  | NORMAL_UNINSTALL = : | ||||||
|  | PRE_UNINSTALL = : | ||||||
|  | POST_UNINSTALL = : | ||||||
|  | build_triplet = @build@ | ||||||
|  | host_triplet = @host@ | ||||||
|  | subdir = lib/dhcp | ||||||
|  | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||||||
|  | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_sign.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ax_cxx_namespace.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ax_lib_mysql.m4 $(top_srcdir)/m4/ax_numval.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/libtool.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ltargz.m4 $(top_srcdir)/m4/ltdl.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||||||
|  | 	$(top_srcdir)/m4/lx_find_mpi.m4 $(top_srcdir)/configure.ac | ||||||
|  | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||||||
|  | 	$(ACLOCAL_M4) | ||||||
|  | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | ||||||
|  | mkinstalldirs = $(install_sh) -d | ||||||
|  | CONFIG_HEADER = $(top_builddir)/include/qse/config.h | ||||||
|  | CONFIG_CLEAN_FILES = | ||||||
|  | CONFIG_CLEAN_VPATH_FILES = | ||||||
|  | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||||||
|  | am__vpath_adj = case $$p in \ | ||||||
|  |     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||||||
|  |     *) f=$$p;; \ | ||||||
|  |   esac; | ||||||
|  | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||||||
|  | am__install_max = 40 | ||||||
|  | am__nobase_strip_setup = \ | ||||||
|  |   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||||||
|  | am__nobase_strip = \ | ||||||
|  |   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||||||
|  | am__nobase_list = $(am__nobase_strip_setup); \ | ||||||
|  |   for p in $$list; do echo "$$p $$p"; done | \ | ||||||
|  |   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||||||
|  |   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||||||
|  |     if (++n[$$2] == $(am__install_max)) \ | ||||||
|  |       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||||||
|  |     END { for (dir in files) print dir, files[dir] }' | ||||||
|  | am__base_list = \ | ||||||
|  |   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||||||
|  |   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||||||
|  | am__uninstall_files_from_dir = { \ | ||||||
|  |   test -z "$$files" \ | ||||||
|  |     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | ||||||
|  |     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | ||||||
|  |          $(am__cd) "$$dir" && rm -f $$files; }; \ | ||||||
|  |   } | ||||||
|  | am__installdirs = "$(DESTDIR)$(libdir)" | ||||||
|  | LTLIBRARIES = $(lib_LTLIBRARIES) | ||||||
|  | libqsedhcp_la_DEPENDENCIES = | ||||||
|  | am_libqsedhcp_la_OBJECTS = libqsedhcp_la-dhcpmsg.lo | ||||||
|  | libqsedhcp_la_OBJECTS = $(am_libqsedhcp_la_OBJECTS) | ||||||
|  | AM_V_lt = $(am__v_lt_@AM_V@) | ||||||
|  | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | ||||||
|  | am__v_lt_0 = --silent | ||||||
|  | am__v_lt_1 =  | ||||||
|  | libqsedhcp_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||||||
|  | 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libqsedhcp_la_CFLAGS) \ | ||||||
|  | 	$(CFLAGS) $(libqsedhcp_la_LDFLAGS) $(LDFLAGS) -o $@ | ||||||
|  | AM_V_P = $(am__v_P_@AM_V@) | ||||||
|  | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||||||
|  | am__v_P_0 = false | ||||||
|  | am__v_P_1 = : | ||||||
|  | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||||||
|  | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||||||
|  | am__v_GEN_0 = @echo "  GEN     " $@; | ||||||
|  | am__v_GEN_1 =  | ||||||
|  | AM_V_at = $(am__v_at_@AM_V@) | ||||||
|  | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||||||
|  | am__v_at_0 = @ | ||||||
|  | am__v_at_1 =  | ||||||
|  | DEFAULT_INCLUDES =  | ||||||
|  | depcomp = $(SHELL) $(top_srcdir)/ac/depcomp | ||||||
|  | am__depfiles_maybe = depfiles | ||||||
|  | am__mv = mv -f | ||||||
|  | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||||||
|  | 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||||||
|  | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||||||
|  | 	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||||||
|  | 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||||||
|  | 	$(AM_CFLAGS) $(CFLAGS) | ||||||
|  | AM_V_CC = $(am__v_CC_@AM_V@) | ||||||
|  | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | ||||||
|  | am__v_CC_0 = @echo "  CC      " $@; | ||||||
|  | am__v_CC_1 =  | ||||||
|  | CCLD = $(CC) | ||||||
|  | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||||||
|  | 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||||||
|  | 	$(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||||||
|  | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | ||||||
|  | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | ||||||
|  | am__v_CCLD_0 = @echo "  CCLD    " $@; | ||||||
|  | am__v_CCLD_1 =  | ||||||
|  | SOURCES = $(libqsedhcp_la_SOURCES) | ||||||
|  | DIST_SOURCES = $(libqsedhcp_la_SOURCES) | ||||||
|  | am__can_run_installinfo = \ | ||||||
|  |   case $$AM_UPDATE_INFO_DIR in \ | ||||||
|  |     n|no|NO) false;; \ | ||||||
|  |     *) (install-info --version) >/dev/null 2>&1;; \ | ||||||
|  |   esac | ||||||
|  | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||||||
|  | # Read a list of newline-separated strings from the standard input, | ||||||
|  | # and print each of them once, without duplicates.  Input order is | ||||||
|  | # *not* preserved. | ||||||
|  | am__uniquify_input = $(AWK) '\ | ||||||
|  |   BEGIN { nonempty = 0; } \ | ||||||
|  |   { items[$$0] = 1; nonempty = 1; } \ | ||||||
|  |   END { if (nonempty) { for (i in items) print i; }; } \ | ||||||
|  | ' | ||||||
|  | # Make sure the list of sources is unique.  This is necessary because, | ||||||
|  | # e.g., the same source file might be shared among _SOURCES variables | ||||||
|  | # for different programs/libraries. | ||||||
|  | am__define_uniq_tagged_files = \ | ||||||
|  |   list='$(am__tagged_files)'; \ | ||||||
|  |   unique=`for i in $$list; do \ | ||||||
|  |     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||||||
|  |   done | $(am__uniquify_input)` | ||||||
|  | ETAGS = etags | ||||||
|  | CTAGS = ctags | ||||||
|  | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/depcomp | ||||||
|  | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||||||
|  | ACLOCAL = @ACLOCAL@ | ||||||
|  | AMTAR = @AMTAR@ | ||||||
|  | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||||||
|  | AR = @AR@ | ||||||
|  | AUTOCONF = @AUTOCONF@ | ||||||
|  | AUTOHEADER = @AUTOHEADER@ | ||||||
|  | AUTOMAKE = @AUTOMAKE@ | ||||||
|  | AWK = @AWK@ | ||||||
|  | BUILD_MODE = @BUILD_MODE@ | ||||||
|  | CC = @CC@ | ||||||
|  | CCDEPMODE = @CCDEPMODE@ | ||||||
|  | CFLAGS = @CFLAGS@ | ||||||
|  | CHAR_MODE = @CHAR_MODE@ | ||||||
|  | CPP = @CPP@ | ||||||
|  | CPPFLAGS = @CPPFLAGS@ | ||||||
|  | CXX = @CXX@ | ||||||
|  | CXXCPP = @CXXCPP@ | ||||||
|  | CXXDEPMODE = @CXXDEPMODE@ | ||||||
|  | CXXFLAGS = @CXXFLAGS@ | ||||||
|  | CYGPATH_W = @CYGPATH_W@ | ||||||
|  | DEFS = @DEFS@ | ||||||
|  | DEPDIR = @DEPDIR@ | ||||||
|  | DLLTOOL = @DLLTOOL@ | ||||||
|  | DSYMUTIL = @DSYMUTIL@ | ||||||
|  | DUMPBIN = @DUMPBIN@ | ||||||
|  | ECHO = @ECHO@ | ||||||
|  | ECHO_C = @ECHO_C@ | ||||||
|  | ECHO_N = @ECHO_N@ | ||||||
|  | ECHO_T = @ECHO_T@ | ||||||
|  | EGREP = @EGREP@ | ||||||
|  | EXEEXT = @EXEEXT@ | ||||||
|  | FGREP = @FGREP@ | ||||||
|  | GREP = @GREP@ | ||||||
|  | HAVE_CXX = @HAVE_CXX@ | ||||||
|  | INCLTDL = @INCLTDL@ | ||||||
|  | INSTALL = @INSTALL@ | ||||||
|  | INSTALL_DATA = @INSTALL_DATA@ | ||||||
|  | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||||||
|  | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||||||
|  | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||||||
|  | LD = @LD@ | ||||||
|  | LDFLAGS = @LDFLAGS@ | ||||||
|  | LIBADD_DL = @LIBADD_DL@ | ||||||
|  | LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ | ||||||
|  | LIBADD_DLOPEN = @LIBADD_DLOPEN@ | ||||||
|  | LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ | ||||||
|  | LIBLTDL = @LIBLTDL@ | ||||||
|  | LIBM = @LIBM@ | ||||||
|  | LIBOBJS = @LIBOBJS@ | ||||||
|  | LIBS = @LIBS@ | ||||||
|  | LIBTOOL = @LIBTOOL@ | ||||||
|  | LIBTOOL_DEPS = @LIBTOOL_DEPS@ | ||||||
|  | LIPO = @LIPO@ | ||||||
|  | LN_S = @LN_S@ | ||||||
|  | LTDLDEPS = @LTDLDEPS@ | ||||||
|  | LTDLINCL = @LTDLINCL@ | ||||||
|  | LTDLOPEN = @LTDLOPEN@ | ||||||
|  | LTLIBOBJS = @LTLIBOBJS@ | ||||||
|  | LT_ARGZ_H = @LT_ARGZ_H@ | ||||||
|  | LT_CONFIG_H = @LT_CONFIG_H@ | ||||||
|  | LT_DLLOADERS = @LT_DLLOADERS@ | ||||||
|  | LT_DLPREOPEN = @LT_DLPREOPEN@ | ||||||
|  | LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ | ||||||
|  | MAKEINFO = @MAKEINFO@ | ||||||
|  | MANIFEST_TOOL = @MANIFEST_TOOL@ | ||||||
|  | MKDIR_P = @MKDIR_P@ | ||||||
|  | MPICC = @MPICC@ | ||||||
|  | MPI_CFLAGS = @MPI_CFLAGS@ | ||||||
|  | MPI_CLDFLAGS = @MPI_CLDFLAGS@ | ||||||
|  | MYSQL_CFLAGS = @MYSQL_CFLAGS@ | ||||||
|  | MYSQL_CONFIG = @MYSQL_CONFIG@ | ||||||
|  | MYSQL_LDFLAGS = @MYSQL_LDFLAGS@ | ||||||
|  | MYSQL_VERSION = @MYSQL_VERSION@ | ||||||
|  | NM = @NM@ | ||||||
|  | NMEDIT = @NMEDIT@ | ||||||
|  | OBJDUMP = @OBJDUMP@ | ||||||
|  | OBJEXT = @OBJEXT@ | ||||||
|  | OTOOL = @OTOOL@ | ||||||
|  | OTOOL64 = @OTOOL64@ | ||||||
|  | PACKAGE = @PACKAGE@ | ||||||
|  | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||||||
|  | PACKAGE_NAME = @PACKAGE_NAME@ | ||||||
|  | PACKAGE_STRING = @PACKAGE_STRING@ | ||||||
|  | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||||||
|  | PACKAGE_URL = @PACKAGE_URL@ | ||||||
|  | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||||||
|  | PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@ | ||||||
|  | PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@ | ||||||
|  | PACKAGE_VERSION_PATCH = @PACKAGE_VERSION_PATCH@ | ||||||
|  | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||||||
|  | PTHREAD_CC = @PTHREAD_CC@ | ||||||
|  | PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ | ||||||
|  | PTHREAD_LIBS = @PTHREAD_LIBS@ | ||||||
|  | QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ | ||||||
|  | QSE_PROJECT_URL = @QSE_PROJECT_URL@ | ||||||
|  | QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ | ||||||
|  | QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ | ||||||
|  | QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ | ||||||
|  | QSE_SIZEOF_INT = @QSE_SIZEOF_INT@ | ||||||
|  | QSE_SIZEOF_LONG = @QSE_SIZEOF_LONG@ | ||||||
|  | QSE_SIZEOF_LONG_DOUBLE = @QSE_SIZEOF_LONG_DOUBLE@ | ||||||
|  | QSE_SIZEOF_LONG_LONG = @QSE_SIZEOF_LONG_LONG@ | ||||||
|  | QSE_SIZEOF_OFF64_T = @QSE_SIZEOF_OFF64_T@ | ||||||
|  | QSE_SIZEOF_OFF_T = @QSE_SIZEOF_OFF_T@ | ||||||
|  | QSE_SIZEOF_SHORT = @QSE_SIZEOF_SHORT@ | ||||||
|  | QSE_SIZEOF_VOID_P = @QSE_SIZEOF_VOID_P@ | ||||||
|  | QSE_SIZEOF_WCHAR_T = @QSE_SIZEOF_WCHAR_T@ | ||||||
|  | QUADMATH_LIBS = @QUADMATH_LIBS@ | ||||||
|  | RANLIB = @RANLIB@ | ||||||
|  | RM = @RM@ | ||||||
|  | RMDIR = @RMDIR@ | ||||||
|  | SED = @SED@ | ||||||
|  | SENDFILE_LIBS = @SENDFILE_LIBS@ | ||||||
|  | SET_MAKE = @SET_MAKE@ | ||||||
|  | SHELL = @SHELL@ | ||||||
|  | SOCKET_LIBS = @SOCKET_LIBS@ | ||||||
|  | SSL_LIBS = @SSL_LIBS@ | ||||||
|  | STRIP = @STRIP@ | ||||||
|  | TRUE = @TRUE@ | ||||||
|  | UCI_LIBS = @UCI_LIBS@ | ||||||
|  | UNICOWS_LIBS = @UNICOWS_LIBS@ | ||||||
|  | VERSION = @VERSION@ | ||||||
|  | abs_builddir = @abs_builddir@ | ||||||
|  | abs_srcdir = @abs_srcdir@ | ||||||
|  | abs_top_builddir = @abs_top_builddir@ | ||||||
|  | abs_top_srcdir = @abs_top_srcdir@ | ||||||
|  | ac_ct_AR = @ac_ct_AR@ | ||||||
|  | ac_ct_CC = @ac_ct_CC@ | ||||||
|  | ac_ct_CXX = @ac_ct_CXX@ | ||||||
|  | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||||||
|  | am__include = @am__include@ | ||||||
|  | am__leading_dot = @am__leading_dot@ | ||||||
|  | am__quote = @am__quote@ | ||||||
|  | am__tar = @am__tar@ | ||||||
|  | am__untar = @am__untar@ | ||||||
|  | ax_pthread_config = @ax_pthread_config@ | ||||||
|  | bindir = @bindir@ | ||||||
|  | build = @build@ | ||||||
|  | build_alias = @build_alias@ | ||||||
|  | build_cpu = @build_cpu@ | ||||||
|  | build_os = @build_os@ | ||||||
|  | build_vendor = @build_vendor@ | ||||||
|  | builddir = @builddir@ | ||||||
|  | datadir = @datadir@ | ||||||
|  | datarootdir = @datarootdir@ | ||||||
|  | docdir = @docdir@ | ||||||
|  | dvidir = @dvidir@ | ||||||
|  | exec_prefix = @exec_prefix@ | ||||||
|  | host = @host@ | ||||||
|  | host_alias = @host_alias@ | ||||||
|  | host_cpu = @host_cpu@ | ||||||
|  | host_os = @host_os@ | ||||||
|  | host_vendor = @host_vendor@ | ||||||
|  | htmldir = @htmldir@ | ||||||
|  | includedir = @includedir@ | ||||||
|  | infodir = @infodir@ | ||||||
|  | install_sh = @install_sh@ | ||||||
|  | libdir = @libdir@ | ||||||
|  | libexecdir = @libexecdir@ | ||||||
|  | localedir = @localedir@ | ||||||
|  | localstatedir = @localstatedir@ | ||||||
|  | ltdl_LIBOBJS = @ltdl_LIBOBJS@ | ||||||
|  | ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ | ||||||
|  | mandir = @mandir@ | ||||||
|  | mkdir_p = @mkdir_p@ | ||||||
|  | oldincludedir = @oldincludedir@ | ||||||
|  | pdfdir = @pdfdir@ | ||||||
|  | prefix = @prefix@ | ||||||
|  | program_transform_name = @program_transform_name@ | ||||||
|  | psdir = @psdir@ | ||||||
|  | sbindir = @sbindir@ | ||||||
|  | sharedstatedir = @sharedstatedir@ | ||||||
|  | srcdir = @srcdir@ | ||||||
|  | subdirs = @subdirs@ | ||||||
|  | sys_symbol_underscore = @sys_symbol_underscore@ | ||||||
|  | sysconfdir = @sysconfdir@ | ||||||
|  | target_alias = @target_alias@ | ||||||
|  | top_build_prefix = @top_build_prefix@ | ||||||
|  | top_builddir = @top_builddir@ | ||||||
|  | top_srcdir = @top_srcdir@ | ||||||
|  | AUTOMAKE_OPTIONS = nostdinc | ||||||
|  | AM_CPPFLAGS = \ | ||||||
|  | 	-I$(top_builddir)/include \ | ||||||
|  | 	-I$(top_srcdir)/include | ||||||
|  |  | ||||||
|  |  | ||||||
|  | #noinst_HEADERS = | ||||||
|  | lib_LTLIBRARIES = libqsedhcp.la | ||||||
|  | libqsedhcp_la_SOURCES = \ | ||||||
|  | 	dhcpmsg.c | ||||||
|  |  | ||||||
|  | libqsedhcp_la_CFLAGS =  | ||||||
|  | libqsedhcp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined | ||||||
|  | libqsedhcp_la_LIBADD = -lqsecmn | ||||||
|  | all: all-am | ||||||
|  |  | ||||||
|  | .SUFFIXES: | ||||||
|  | .SUFFIXES: .c .lo .o .obj | ||||||
|  | $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) | ||||||
|  | 	@for dep in $?; do \ | ||||||
|  | 	  case '$(am__configure_deps)' in \ | ||||||
|  | 	    *$$dep*) \ | ||||||
|  | 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||||||
|  | 	        && { if test -f $@; then exit 0; else break; fi; }; \ | ||||||
|  | 	      exit 1;; \ | ||||||
|  | 	  esac; \ | ||||||
|  | 	done; \ | ||||||
|  | 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/dhcp/Makefile'; \ | ||||||
|  | 	$(am__cd) $(top_srcdir) && \ | ||||||
|  | 	  $(AUTOMAKE) --foreign lib/dhcp/Makefile | ||||||
|  | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||||||
|  | 	@case '$?' in \ | ||||||
|  | 	  *config.status*) \ | ||||||
|  | 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||||||
|  | 	  *) \ | ||||||
|  | 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||||||
|  | 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||||||
|  | 	esac; | ||||||
|  |  | ||||||
|  | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||||||
|  | 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||||
|  |  | ||||||
|  | $(top_srcdir)/configure:  $(am__configure_deps) | ||||||
|  | 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||||
|  | $(ACLOCAL_M4):  $(am__aclocal_m4_deps) | ||||||
|  | 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||||
|  | $(am__aclocal_m4_deps): | ||||||
|  |  | ||||||
|  | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | ||||||
|  | 	@$(NORMAL_INSTALL) | ||||||
|  | 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | ||||||
|  | 	list2=; for p in $$list; do \ | ||||||
|  | 	  if test -f $$p; then \ | ||||||
|  | 	    list2="$$list2 $$p"; \ | ||||||
|  | 	  else :; fi; \ | ||||||
|  | 	done; \ | ||||||
|  | 	test -z "$$list2" || { \ | ||||||
|  | 	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ | ||||||
|  | 	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ | ||||||
|  | 	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | ||||||
|  | 	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | ||||||
|  | 	} | ||||||
|  |  | ||||||
|  | uninstall-libLTLIBRARIES: | ||||||
|  | 	@$(NORMAL_UNINSTALL) | ||||||
|  | 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | ||||||
|  | 	for p in $$list; do \ | ||||||
|  | 	  $(am__strip_dir) \ | ||||||
|  | 	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | ||||||
|  | 	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | ||||||
|  | 	done | ||||||
|  |  | ||||||
|  | clean-libLTLIBRARIES: | ||||||
|  | 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | ||||||
|  | 	@list='$(lib_LTLIBRARIES)'; \ | ||||||
|  | 	locs=`for p in $$list; do echo $$p; done | \ | ||||||
|  | 	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | ||||||
|  | 	      sort -u`; \ | ||||||
|  | 	test -z "$$locs" || { \ | ||||||
|  | 	  echo rm -f $${locs}; \ | ||||||
|  | 	  rm -f $${locs}; \ | ||||||
|  | 	} | ||||||
|  |  | ||||||
|  | libqsedhcp.la: $(libqsedhcp_la_OBJECTS) $(libqsedhcp_la_DEPENDENCIES) $(EXTRA_libqsedhcp_la_DEPENDENCIES)  | ||||||
|  | 	$(AM_V_CCLD)$(libqsedhcp_la_LINK) -rpath $(libdir) $(libqsedhcp_la_OBJECTS) $(libqsedhcp_la_LIBADD) $(LIBS) | ||||||
|  |  | ||||||
|  | mostlyclean-compile: | ||||||
|  | 	-rm -f *.$(OBJEXT) | ||||||
|  |  | ||||||
|  | distclean-compile: | ||||||
|  | 	-rm -f *.tab.c | ||||||
|  |  | ||||||
|  | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libqsedhcp_la-dhcpmsg.Plo@am__quote@ | ||||||
|  |  | ||||||
|  | .c.o: | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||||||
|  | @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | ||||||
|  |  | ||||||
|  | .c.obj: | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||||||
|  | @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||||||
|  |  | ||||||
|  | .c.lo: | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||||||
|  | @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< | ||||||
|  |  | ||||||
|  | libqsedhcp_la-dhcpmsg.lo: dhcpmsg.c | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libqsedhcp_la_CFLAGS) $(CFLAGS) -MT libqsedhcp_la-dhcpmsg.lo -MD -MP -MF $(DEPDIR)/libqsedhcp_la-dhcpmsg.Tpo -c -o libqsedhcp_la-dhcpmsg.lo `test -f 'dhcpmsg.c' || echo '$(srcdir)/'`dhcpmsg.c | ||||||
|  | @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/libqsedhcp_la-dhcpmsg.Tpo $(DEPDIR)/libqsedhcp_la-dhcpmsg.Plo | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='dhcpmsg.c' object='libqsedhcp_la-dhcpmsg.lo' libtool=yes @AMDEPBACKSLASH@ | ||||||
|  | @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||||||
|  | @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libqsedhcp_la_CFLAGS) $(CFLAGS) -c -o libqsedhcp_la-dhcpmsg.lo `test -f 'dhcpmsg.c' || echo '$(srcdir)/'`dhcpmsg.c | ||||||
|  |  | ||||||
|  | mostlyclean-libtool: | ||||||
|  | 	-rm -f *.lo | ||||||
|  |  | ||||||
|  | clean-libtool: | ||||||
|  | 	-rm -rf .libs _libs | ||||||
|  |  | ||||||
|  | ID: $(am__tagged_files) | ||||||
|  | 	$(am__define_uniq_tagged_files); mkid -fID $$unique | ||||||
|  | tags: tags-am | ||||||
|  | TAGS: tags | ||||||
|  |  | ||||||
|  | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||||||
|  | 	set x; \ | ||||||
|  | 	here=`pwd`; \ | ||||||
|  | 	$(am__define_uniq_tagged_files); \ | ||||||
|  | 	shift; \ | ||||||
|  | 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||||||
|  | 	  test -n "$$unique" || unique=$$empty_fix; \ | ||||||
|  | 	  if test $$# -gt 0; then \ | ||||||
|  | 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||||||
|  | 	      "$$@" $$unique; \ | ||||||
|  | 	  else \ | ||||||
|  | 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||||||
|  | 	      $$unique; \ | ||||||
|  | 	  fi; \ | ||||||
|  | 	fi | ||||||
|  | ctags: ctags-am | ||||||
|  |  | ||||||
|  | CTAGS: ctags | ||||||
|  | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||||||
|  | 	$(am__define_uniq_tagged_files); \ | ||||||
|  | 	test -z "$(CTAGS_ARGS)$$unique" \ | ||||||
|  | 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||||||
|  | 	     $$unique | ||||||
|  |  | ||||||
|  | GTAGS: | ||||||
|  | 	here=`$(am__cd) $(top_builddir) && pwd` \ | ||||||
|  | 	  && $(am__cd) $(top_srcdir) \ | ||||||
|  | 	  && gtags -i $(GTAGS_ARGS) "$$here" | ||||||
|  | cscopelist: cscopelist-am | ||||||
|  |  | ||||||
|  | cscopelist-am: $(am__tagged_files) | ||||||
|  | 	list='$(am__tagged_files)'; \ | ||||||
|  | 	case "$(srcdir)" in \ | ||||||
|  | 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||||||
|  | 	  *) sdir=$(subdir)/$(srcdir) ;; \ | ||||||
|  | 	esac; \ | ||||||
|  | 	for i in $$list; do \ | ||||||
|  | 	  if test -f "$$i"; then \ | ||||||
|  | 	    echo "$(subdir)/$$i"; \ | ||||||
|  | 	  else \ | ||||||
|  | 	    echo "$$sdir/$$i"; \ | ||||||
|  | 	  fi; \ | ||||||
|  | 	done >> $(top_builddir)/cscope.files | ||||||
|  |  | ||||||
|  | distclean-tags: | ||||||
|  | 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||||||
|  |  | ||||||
|  | distdir: $(DISTFILES) | ||||||
|  | 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||||
|  | 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||||
|  | 	list='$(DISTFILES)'; \ | ||||||
|  | 	  dist_files=`for file in $$list; do echo $$file; done | \ | ||||||
|  | 	  sed -e "s|^$$srcdirstrip/||;t" \ | ||||||
|  | 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||||||
|  | 	case $$dist_files in \ | ||||||
|  | 	  */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||||||
|  | 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||||||
|  | 			   sort -u` ;; \ | ||||||
|  | 	esac; \ | ||||||
|  | 	for file in $$dist_files; do \ | ||||||
|  | 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||||||
|  | 	  if test -d $$d/$$file; then \ | ||||||
|  | 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||||||
|  | 	    if test -d "$(distdir)/$$file"; then \ | ||||||
|  | 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||||||
|  | 	    fi; \ | ||||||
|  | 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||||||
|  | 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||||||
|  | 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||||||
|  | 	    fi; \ | ||||||
|  | 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||||||
|  | 	  else \ | ||||||
|  | 	    test -f "$(distdir)/$$file" \ | ||||||
|  | 	    || cp -p $$d/$$file "$(distdir)/$$file" \ | ||||||
|  | 	    || exit 1; \ | ||||||
|  | 	  fi; \ | ||||||
|  | 	done | ||||||
|  | check-am: all-am | ||||||
|  | check: check-am | ||||||
|  | all-am: Makefile $(LTLIBRARIES) | ||||||
|  | installdirs: | ||||||
|  | 	for dir in "$(DESTDIR)$(libdir)"; do \ | ||||||
|  | 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||||||
|  | 	done | ||||||
|  | install: install-am | ||||||
|  | install-exec: install-exec-am | ||||||
|  | install-data: install-data-am | ||||||
|  | uninstall: uninstall-am | ||||||
|  |  | ||||||
|  | install-am: all-am | ||||||
|  | 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||||||
|  |  | ||||||
|  | installcheck: installcheck-am | ||||||
|  | install-strip: | ||||||
|  | 	if test -z '$(STRIP)'; then \ | ||||||
|  | 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||||
|  | 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||||
|  | 	      install; \ | ||||||
|  | 	else \ | ||||||
|  | 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||||
|  | 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||||
|  | 	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||||||
|  | 	fi | ||||||
|  | mostlyclean-generic: | ||||||
|  |  | ||||||
|  | clean-generic: | ||||||
|  |  | ||||||
|  | distclean-generic: | ||||||
|  | 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||||||
|  | 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||||||
|  |  | ||||||
|  | maintainer-clean-generic: | ||||||
|  | 	@echo "This command is intended for maintainers to use" | ||||||
|  | 	@echo "it deletes files that may require special tools to rebuild." | ||||||
|  | clean: clean-am | ||||||
|  |  | ||||||
|  | clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ | ||||||
|  | 	mostlyclean-am | ||||||
|  |  | ||||||
|  | distclean: distclean-am | ||||||
|  | 	-rm -rf ./$(DEPDIR) | ||||||
|  | 	-rm -f Makefile | ||||||
|  | distclean-am: clean-am distclean-compile distclean-generic \ | ||||||
|  | 	distclean-tags | ||||||
|  |  | ||||||
|  | dvi: dvi-am | ||||||
|  |  | ||||||
|  | dvi-am: | ||||||
|  |  | ||||||
|  | html: html-am | ||||||
|  |  | ||||||
|  | html-am: | ||||||
|  |  | ||||||
|  | info: info-am | ||||||
|  |  | ||||||
|  | info-am: | ||||||
|  |  | ||||||
|  | install-data-am: | ||||||
|  |  | ||||||
|  | install-dvi: install-dvi-am | ||||||
|  |  | ||||||
|  | install-dvi-am: | ||||||
|  |  | ||||||
|  | install-exec-am: install-libLTLIBRARIES | ||||||
|  |  | ||||||
|  | install-html: install-html-am | ||||||
|  |  | ||||||
|  | install-html-am: | ||||||
|  |  | ||||||
|  | install-info: install-info-am | ||||||
|  |  | ||||||
|  | install-info-am: | ||||||
|  |  | ||||||
|  | install-man: | ||||||
|  |  | ||||||
|  | install-pdf: install-pdf-am | ||||||
|  |  | ||||||
|  | install-pdf-am: | ||||||
|  |  | ||||||
|  | install-ps: install-ps-am | ||||||
|  |  | ||||||
|  | install-ps-am: | ||||||
|  |  | ||||||
|  | installcheck-am: | ||||||
|  |  | ||||||
|  | maintainer-clean: maintainer-clean-am | ||||||
|  | 	-rm -rf ./$(DEPDIR) | ||||||
|  | 	-rm -f Makefile | ||||||
|  | maintainer-clean-am: distclean-am maintainer-clean-generic | ||||||
|  |  | ||||||
|  | mostlyclean: mostlyclean-am | ||||||
|  |  | ||||||
|  | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||||||
|  | 	mostlyclean-libtool | ||||||
|  |  | ||||||
|  | pdf: pdf-am | ||||||
|  |  | ||||||
|  | pdf-am: | ||||||
|  |  | ||||||
|  | ps: ps-am | ||||||
|  |  | ||||||
|  | ps-am: | ||||||
|  |  | ||||||
|  | uninstall-am: uninstall-libLTLIBRARIES | ||||||
|  |  | ||||||
|  | .MAKE: install-am install-strip | ||||||
|  |  | ||||||
|  | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | ||||||
|  | 	clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ | ||||||
|  | 	ctags-am distclean distclean-compile distclean-generic \ | ||||||
|  | 	distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||||||
|  | 	html-am info info-am install install-am install-data \ | ||||||
|  | 	install-data-am install-dvi install-dvi-am install-exec \ | ||||||
|  | 	install-exec-am install-html install-html-am install-info \ | ||||||
|  | 	install-info-am install-libLTLIBRARIES install-man install-pdf \ | ||||||
|  | 	install-pdf-am install-ps install-ps-am install-strip \ | ||||||
|  | 	installcheck installcheck-am installdirs maintainer-clean \ | ||||||
|  | 	maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||||||
|  | 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||||||
|  | 	tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES | ||||||
|  |  | ||||||
|  | .PRECIOUS: Makefile | ||||||
|  |  | ||||||
|  |  | ||||||
|  | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||||||
|  | # Otherwise a system limit (for SysV at least) may be exceeded. | ||||||
|  | .NOEXPORT: | ||||||
							
								
								
									
										157
									
								
								qse/lib/dhcp/dhcpmsg.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										157
									
								
								qse/lib/dhcp/dhcpmsg.c
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,157 @@ | |||||||
|  | #include <qse/dhcp/dhcpmsg.h> | ||||||
|  | #include <qse/cmn/hton.h> | ||||||
|  | #include "../cmn/mem-prv.h" | ||||||
|  |  | ||||||
|  | qse_uint8_t* qse_dhcp4_get_options (const qse_dhcp4_pkt_t* pkt, qse_size_t len, qse_size_t* olen) | ||||||
|  | { | ||||||
|  | 	qse_uint32_t cookie; | ||||||
|  | 	qse_size_t optlen; | ||||||
|  | 	qse_uint8_t* opt; | ||||||
|  |  | ||||||
|  | 	/* check if a packet is large enough to hold the known header */ | ||||||
|  | 	if (len < QSE_SIZEOF(qse_dhcp4_pkt_t)) return QSE_NULL;  | ||||||
|  |  | ||||||
|  | 	/* get the length of option fields */ | ||||||
|  | 	optlen = len - QSE_SIZEOF(qse_dhcp4_pkt_t); | ||||||
|  |  | ||||||
|  | 	/* check if a packet is large enough to have a magic cookie */ | ||||||
|  | 	if (optlen < QSE_SIZEOF(cookie)) return QSE_NULL;  | ||||||
|  |  | ||||||
|  | 	/* get the pointer to the beginning of options */ | ||||||
|  | 	opt = (qse_uint8_t*)(pkt + 1); | ||||||
|  |  | ||||||
|  | 	/* use QSE_MEMCPY to prevent any alignment issues */ | ||||||
|  | 	QSE_MEMCPY (&cookie, opt, QSE_SIZEOF(cookie)); | ||||||
|  | 	/* check if the packet contains the right magic cookie */ | ||||||
|  | 	if (cookie != qse_hton32(QSE_DHCP4_MAGIC_COOKIE)) return QSE_NULL; | ||||||
|  |  | ||||||
|  | 	*olen = optlen - QSE_SIZEOF(cookie); | ||||||
|  | 	return (qse_uint8_t*)(opt + QSE_SIZEOF(cookie)); | ||||||
|  | } | ||||||
|  |  | ||||||
|  | qse_uint8_t* qse_dhcp4_get_option (const qse_dhcp4_pkt_t* pkt, qse_size_t len, int code, qse_uint8_t* olen) | ||||||
|  | { | ||||||
|  | 	const qse_uint8_t* optptr[3]; | ||||||
|  | 	qse_size_t optlen[3]; | ||||||
|  | 	int i; | ||||||
|  |  | ||||||
|  | 	optptr[0] = qse_dhcp4_get_options (pkt, len, &optlen[0]); | ||||||
|  | 	if (optptr[0] == QSE_NULL) return QSE_NULL; | ||||||
|  |  | ||||||
|  | 	optptr[1] = (const qse_uint8_t*)pkt->file; | ||||||
|  | 	optptr[2] = (const qse_uint8_t*)pkt->sname; | ||||||
|  | 	optlen[1] = 0; | ||||||
|  | 	optlen[2] = 0; | ||||||
|  |  | ||||||
|  | 	for (i = 0; i < 3; i++) | ||||||
|  | 	{ | ||||||
|  | 		const qse_uint8_t* opt = optptr[i]; | ||||||
|  | 		const qse_uint8_t* end = opt + optlen[i]; | ||||||
|  |  | ||||||
|  | 		while (opt < end) | ||||||
|  | 		{ | ||||||
|  | 			/* option code */ | ||||||
|  | 			qse_uint8_t oc, ol; | ||||||
|  |  | ||||||
|  | 			oc = *opt++; | ||||||
|  |  | ||||||
|  | 			if (oc == QSE_DHCP4_OPT_PADDING) continue; | ||||||
|  | 			if (oc == QSE_DHCP4_OPT_END) break; | ||||||
|  | 		 | ||||||
|  | 			if (opt >= end)  | ||||||
|  | 			{ | ||||||
|  | 				/*return QSE_NULL; */ | ||||||
|  | 				break; | ||||||
|  | 			} | ||||||
|  |  | ||||||
|  | 			/* option length */ | ||||||
|  | 			ol = *opt++; | ||||||
|  |  | ||||||
|  | 			if (oc == code) | ||||||
|  | 			{ | ||||||
|  | 				if (opt + ol >= end)  | ||||||
|  | 				{ | ||||||
|  | 					/*return QSE_NULL; */ | ||||||
|  | 					break; | ||||||
|  | 				} | ||||||
|  |  | ||||||
|  | 				*olen = ol; | ||||||
|  | 				return (qse_uint8_t*)opt; | ||||||
|  | 			} | ||||||
|  |  | ||||||
|  | 			if (oc == QSE_DHCP4_OPT_OVERLOAD) | ||||||
|  | 			{ | ||||||
|  | 				if (ol != 1)  | ||||||
|  | 				{ | ||||||
|  | 					/*return QSE_NULL; */ | ||||||
|  | 					break; | ||||||
|  | 				} | ||||||
|  |  | ||||||
|  | 				if (*opt & QSE_DHCP4_OPT_OVERLOAD_FILE)  | ||||||
|  | 					optlen[1] = QSE_SIZEOF(pkt->file); | ||||||
|  | 				if (*opt & QSE_DHCP4_OPT_OVERLOAD_SNAME)  | ||||||
|  | 					optlen[2] = QSE_SIZEOF(pkt->sname); | ||||||
|  | 			} | ||||||
|  |  | ||||||
|  | 			opt += ol; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  |  | ||||||
|  | 	return QSE_NULL; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | qse_uint8_t* qse_dhcp4_get_relay_suboption (const qse_uint8_t* ptr, qse_uint8_t len, int code, qse_uint8_t* olen) | ||||||
|  | { | ||||||
|  | 	const qse_uint8_t* end = ptr + len; | ||||||
|  |  | ||||||
|  | 	while (ptr < end) | ||||||
|  | 	{ | ||||||
|  | 		qse_uint8_t oc, ol; | ||||||
|  |  | ||||||
|  | 		oc = *ptr++; | ||||||
|  |  | ||||||
|  | 		if (ptr >= end) break; | ||||||
|  | 		ol = *ptr++; | ||||||
|  |  | ||||||
|  | 		if (oc == code) | ||||||
|  | 		{ | ||||||
|  | 			*olen = ol; | ||||||
|  | 			return (qse_uint8_t*)ptr; | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		ptr += ol; | ||||||
|  | 	} | ||||||
|  |  | ||||||
|  | 	return QSE_NULL; | ||||||
|  | } | ||||||
|  |  | ||||||
|  |  | ||||||
|  | int qse_dhcp4_add_option (qse_dhcp4_pkt_t* pkt, qse_size_t len, qse_size_t max, int code, qse_uint8_t* optr, qse_uint8_t olen) | ||||||
|  | { | ||||||
|  | 	qse_size_t optlen; | ||||||
|  |  | ||||||
|  | #if 0 | ||||||
|  | 	/* check if a packet is large enough to hold the known header */ | ||||||
|  | 	if (len < QSE_SIZEOF(qse_dhcp4_pkt_t)) return -1;  | ||||||
|  |  | ||||||
|  | 	/* get the length of option fields */ | ||||||
|  | 	optlen = len - QSE_SIZEOF(qse_dhcp4_pkt_t); | ||||||
|  |  | ||||||
|  | 	/* check if a packet is large enough to have a magic cookie */ | ||||||
|  | 	if (optlen < QSE_SIZEOF(cookie)) return QSE_NULL;  | ||||||
|  |  | ||||||
|  | 	/* get the pointer to the beginning of options */ | ||||||
|  | 	opt = (qse_uint8_t*)(pkt + 1); | ||||||
|  |  | ||||||
|  | 	/* use QSE_MEMCPY to prevent any alignment issues */ | ||||||
|  | 	QSE_MEMCPY (&cookie, opt, QSE_SIZEOF(cookie)); | ||||||
|  | 	/* check if the packet contains the right magic cookie */ | ||||||
|  | 	if (cookie != qse_hton32(QSE_DHCP4_MAGIC_COOKIE)) return QSE_NULL; | ||||||
|  |  | ||||||
|  | 	*olen = optlen - QSE_SIZEOF(cookie); | ||||||
|  | 	optr = (qse_uint8_t*)(opt + QSE_SIZEOF(cookie)); | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  | 	return -1; | ||||||
|  | } | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								qse/lib/qsedhcp.pc.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								qse/lib/qsedhcp.pc.in
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | |||||||
|  | prefix=@prefix@ | ||||||
|  | exec_prefix=${prefix} | ||||||
|  | includedir=${prefix}/include | ||||||
|  | libdir=${exec_prefix}/lib | ||||||
|  |  | ||||||
|  | Name: QSEDHCP Library | ||||||
|  | Description: QSEDHCP Library | ||||||
|  | Version: @VERSION@ | ||||||
|  | Cflags: -I${includedir} | ||||||
|  | Libs: -L${libdir} -lqsedhcp  | ||||||
|  | Requires: qsecmn  | ||||||
|  | #Requires.private: qsecmn | ||||||
		Reference in New Issue
	
	Block a user