Browse Source

+ Added odbc

michael 23 years ago
parent
commit
e26fdc26ac
2 changed files with 52 additions and 25 deletions
  1. 50 23
      packages/base/Makefile
  2. 2 2
      packages/base/Makefile.fpc

+ 50 - 23
packages/base/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2002/05/01]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2002/03/28]
 #
 default: all
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware
@@ -198,13 +198,13 @@ endif
 PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
 override TARGET_DIRS+=paszlib regexpr
 ifeq ($(OS_TARGET),linux)
-override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
+override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle odbc
 endif
 ifeq ($(OS_TARGET),go32v2)
 override TARGET_DIRS+=gdbint
 endif
 ifeq ($(OS_TARGET),win32)
-override TARGET_DIRS+=inet gdbint mysql ibase
+override TARGET_DIRS+=inet gdbint mysql ibase odbc
 endif
 ifeq ($(OS_TARGET),freebsd)
 override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
@@ -233,9 +233,6 @@ endif
 ifeq ($(OS_TARGET),sunos)
 UNIXINSTALLDIR=1
 endif
-ifeq ($(OS_TARGET),qnx)
-UNIXINSTALLDIR=1
-endif
 else
 ifeq ($(OS_SOURCE),linux)
 UNIXINSTALLDIR=1
@@ -249,9 +246,6 @@ endif
 ifeq ($(OS_TARGET),sunos)
 UNIXINSTALLDIR=1
 endif
-ifeq ($(OS_TARGET),qnx)
-UNIXINSTALLDIR=1
-endif
 endif
 ifndef INSTALL_PREFIX
 ifdef PREFIX
@@ -472,7 +466,7 @@ ECHO=echo
 endif
 ifeq ($(OS_TARGET),amiga)
 EXEEXT=
-PPUEXT=.ppu
+PPUEXT=.ppa
 ASMEXT=.asm
 OEXT=.o
 SMARTEXT=.sl
@@ -481,7 +475,7 @@ SHAREDLIBEXT=.library
 FPCMADE=fpcmade.amg
 endif
 ifeq ($(OS_TARGET),atari)
-PPUEXT=.ppu
+PPUEXT=.ppt
 ASMEXT=.s
 OEXT=.o
 SMARTEXT=.sl
@@ -519,18 +513,6 @@ EXEEXT=
 FPCMADE=fpcmade.qnx
 ZIPSUFFIX=qnx
 endif
-ifeq ($(OS_TARGET),netware)
-STATICLIBPREFIX=
-PPUEXT=.ppn
-OEXT=.on
-ASMEXT=.s
-SMARTEXT=.sl
-STATICLIBEXT=.a
-SHAREDLIBEXT=.nlm
-FPCMADE=fpcmade.nw
-ZIPSUFFIX=nw
-EXEEXT=.nlm
-endif
 ifndef ECHO
 ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
 ifeq ($(ECHO),)
@@ -1022,6 +1004,7 @@ TARGET_DIRS_MYSQL=1
 TARGET_DIRS_IBASE=1
 TARGET_DIRS_POSTGRES=1
 TARGET_DIRS_ORACLE=1
+TARGET_DIRS_ODBC=1
 endif
 ifeq ($(OS_TARGET),go32v2)
 TARGET_DIRS_GDBINT=1
@@ -1031,6 +1014,7 @@ TARGET_DIRS_INET=1
 TARGET_DIRS_GDBINT=1
 TARGET_DIRS_MYSQL=1
 TARGET_DIRS_IBASE=1
+TARGET_DIRS_ODBC=1
 endif
 ifeq ($(OS_TARGET),freebsd)
 TARGET_DIRS_INET=1
@@ -1437,6 +1421,49 @@ oracle:
 	$(MAKE) -C oracle all
 .PHONY: oracle_all oracle_debug oracle_smart oracle_release oracle_examples oracle_shared oracle_install oracle_sourceinstall oracle_exampleinstall oracle_distinstall oracle_zipinstall oracle_zipsourceinstall oracle_zipexampleinstall oracle_zipdistinstall oracle_clean oracle_distclean oracle_cleanall oracle_info oracle_makefiles oracle
 endif
+ifdef TARGET_DIRS_ODBC
+odbc_all:
+	$(MAKE) -C odbc all
+odbc_debug:
+	$(MAKE) -C odbc debug
+odbc_smart:
+	$(MAKE) -C odbc smart
+odbc_release:
+	$(MAKE) -C odbc release
+odbc_examples:
+	$(MAKE) -C odbc examples
+odbc_shared:
+	$(MAKE) -C odbc shared
+odbc_install:
+	$(MAKE) -C odbc install
+odbc_sourceinstall:
+	$(MAKE) -C odbc sourceinstall
+odbc_exampleinstall:
+	$(MAKE) -C odbc exampleinstall
+odbc_distinstall:
+	$(MAKE) -C odbc distinstall
+odbc_zipinstall:
+	$(MAKE) -C odbc zipinstall
+odbc_zipsourceinstall:
+	$(MAKE) -C odbc zipsourceinstall
+odbc_zipexampleinstall:
+	$(MAKE) -C odbc zipexampleinstall
+odbc_zipdistinstall:
+	$(MAKE) -C odbc zipdistinstall
+odbc_clean:
+	$(MAKE) -C odbc clean
+odbc_distclean:
+	$(MAKE) -C odbc distclean
+odbc_cleanall:
+	$(MAKE) -C odbc cleanall
+odbc_info:
+	$(MAKE) -C odbc info
+odbc_makefiles:
+	$(MAKE) -C odbc makefiles
+odbc:
+	$(MAKE) -C odbc all
+.PHONY: odbc_all odbc_debug odbc_smart odbc_release odbc_examples odbc_shared odbc_install odbc_sourceinstall odbc_exampleinstall odbc_distinstall odbc_zipinstall odbc_zipsourceinstall odbc_zipexampleinstall odbc_zipdistinstall odbc_clean odbc_distclean odbc_cleanall odbc_info odbc_makefiles odbc
+endif
 all: $(addsuffix _all,$(TARGET_DIRS))
 debug: $(addsuffix _debug,$(TARGET_DIRS))
 smart: $(addsuffix _smart,$(TARGET_DIRS))

+ 2 - 2
packages/base/Makefile.fpc

@@ -5,9 +5,9 @@
 [target]
 dirs=paszlib regexpr
 dirs_linux=inet gdbint libasync \
-           mysql ibase postgres oracle
+           mysql ibase postgres oracle odbc
 dirs_win32=inet gdbint \
-           mysql ibase
+           mysql ibase odbc
 dirs_go32v2=gdbint
 dirs_netbsd=inet gdbint libasync \
             mysql ibase postgres oracle