Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf27da05

Browse files
author
Michael Meskes
committed
Undo incorrectly committed Makefile.
1 parentdf8789b commitf27da05

File tree

1 file changed

+10
-69
lines changed

1 file changed

+10
-69
lines changed

‎src/interfaces/ecpg/Makefile

Lines changed: 10 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,13 @@
1-
subdir = src/interfaces/ecpg/preproc
2-
top_builddir = ../../../..
1+
subdir = src/interfaces/ecpg
2+
top_builddir = ../../..
33
include$(top_builddir)/src/Makefile.global
44

5-
MAJOR_VERSION=2
6-
MINOR_VERSION=8
7-
PATCHLEVEL=0
5+
allinstallinstalldirsuninstalldepdependdistprep:
6+
$(MAKE) -C include$@
7+
$(MAKE) -C lib$@
8+
$(MAKE) -C preproc$@
89

9-
overrideCPPFLAGS+=-I$(srcdir)/../include -DMAJOR_VERSION=$(MAJOR_VERSION)\
10-
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)\
11-
-DINCLUDE_PATH=\"$(includedir)\"
12-
# -DYYDEBUG -g
13-
14-
OBJS=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
15-
keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
16-
17-
all: ecpg
18-
19-
ifdefSNPRINTF
20-
OBJS+=$(top_builddir)/src/backend/port/snprintf.o
21-
22-
$(top_builddir)/src/backend/port/snprintf.o:
23-
$(MAKE) -C$(top_builddir)/src/backend/port snprintf.o
24-
endif
25-
26-
27-
ecpg:$(OBJS)
28-
$(CC) -o$@$^$(LDFLAGS)
29-
30-
$(srcdir)/preproc.c$(srcdir)/preproc.h: preproc.y
31-
$(YACC) -d$(YFLAGS)$<
32-
mv y.tab.c$(srcdir)/preproc.c
33-
mv y.tab.h$(srcdir)/preproc.h
34-
35-
$(srcdir)/pgc.c: pgc.l
36-
ifdefFLEX
37-
$(FLEX) $(FLEXFLAGS) -o'$@' $<
38-
else
39-
@$(missing) flex $< $@
40-
endif
41-
42-
distprep:$(srcdir)/preproc.c$(srcdir)/preproc.h$(srcdir)/pgc.c
43-
44-
install: all installdirs
45-
$(INSTALL_PROGRAM) ecpg$(X)$(DESTDIR)$(bindir)
46-
47-
installdirs:
48-
$(mkinstalldirs)$(DESTDIR)$(bindir)
49-
50-
uninstall:
51-
rm -f$(DESTDIR)$(bindir)/ecpg$(X)
52-
53-
cleandistclean:
54-
rm -f*.o ecpg$(X)
55-
# garbage from partial builds
56-
@rm -f y.tab.c y.tab.h
57-
# garbage from development
58-
@rm -f core a.out *~ *.output *.tab.c
59-
60-
# `make clean' does not remove preproc.c, preproc.h, or pgc.c since we
61-
# want to ship those files in the distribution for people with
62-
# inadequate tools.
63-
maintainer-clean: distclean
64-
rm -f$(srcdir)/preproc.c$(srcdir)/preproc.h$(srcdir)/pgc.c
65-
66-
67-
dependdep: preproc.c pgc.c
68-
$(CC) -MM$(CFLAGS)*.c>depend
69-
70-
ifeq (depend,$(wildcard depend))
71-
include depend
72-
endif
10+
cleandistcleanmaintainer-clean:
11+
-$(MAKE) -C include$@
12+
-$(MAKE) -C lib$@
13+
-$(MAKE) -C preproc$@

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp