Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f27da05c
Commit
f27da05c
authored
Nov 07, 2000
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo incorrectly committed Makefile.
parent
df8789bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
69 deletions
+10
-69
src/interfaces/ecpg/Makefile
src/interfaces/ecpg/Makefile
+10
-69
No files found.
src/interfaces/ecpg/Makefile
View file @
f27da05c
subdir
=
src/interfaces/ecpg
/preproc
subdir
=
src/interfaces/ecpg
top_builddir
=
../../..
/..
top_builddir
=
../../..
include
$(top_builddir)/src/Makefile.global
include
$(top_builddir)/src/Makefile.global
MAJOR_VERSION
=
2
all install installdirs uninstall dep depend distprep
:
MINOR_VERSION
=
8
$(MAKE)
-C
include
$@
PATCHLEVEL
=
0
$(MAKE)
-C
lib
$@
$(MAKE)
-C
preproc
$@
override
CPPFLAGS
+=
-I
$(srcdir)
/../include
-DMAJOR_VERSION
=
$(MAJOR_VERSION)
\
clean distclean maintainer-clean
:
-DMINOR_VERSION
=
$(MINOR_VERSION)
-DPATCHLEVEL
=
$(PATCHLEVEL)
\
-
$(MAKE)
-C
include
$@
-DINCLUDE_PATH
=
\"
$(includedir)
\"
-
$(MAKE)
-C
lib
$@
# -DYYDEBUG -g
-
$(MAKE)
-C
preproc
$@
OBJS
=
preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o
\
keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
all
:
ecpg
ifdef
SNPRINTF
OBJS
+=
$(top_builddir)
/src/backend/port/snprintf.o
$(top_builddir)/src/backend/port/snprintf.o
:
$(MAKE)
-C
$(top_builddir)
/src/backend/port snprintf.o
endif
ecpg
:
$(OBJS)
$(CC)
-o
$@
$^
$(LDFLAGS)
$(srcdir)/preproc.c $(srcdir)/preproc.h
:
preproc.y
$(YACC)
-d
$(YFLAGS)
$<
mv
y.tab.c
$(srcdir)
/preproc.c
mv
y.tab.h
$(srcdir)
/preproc.h
$(srcdir)/pgc.c
:
pgc.l
ifdef
FLEX
$(FLEX)
$(FLEXFLAGS)
-o
'$@'
$<
else
@
$(missing)
flex
$<
$@
endif
distprep
:
$(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
install
:
all installdirs
$(INSTALL_PROGRAM)
ecpg
$(X)
$(DESTDIR)$(bindir)
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/ecpg
$(X)
clean distclean
:
rm
-f
*
.o ecpg
$(X)
# garbage from partial builds
@rm
-f
y.tab.c
y.tab.h
# garbage from development
@rm
-f
core
a.out
*~
*.output
*.tab.c
# `make clean' does not remove preproc.c, preproc.h, or pgc.c since we
# want to ship those files in the distribution for people with
# inadequate tools.
maintainer-clean
:
distclean
rm
-f
$(srcdir)
/preproc.c
$(srcdir)
/preproc.h
$(srcdir)
/pgc.c
depend dep
:
preproc.c pgc.c
$(CC)
-MM
$(CFLAGS)
*
.c
>
depend
ifeq
(depend,$(wildcard depend))
include
depend
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment