Diff

Differences From Artifact [7eaddc5372]:

To Artifact [d1aff0f5a4]:


70
71
72
73
74
75
76



77
78
79
80
81
82
83
...
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# to -g, change the following line:
CFLAGS = @CFLAGS@

# Linker options (-L/.../lib) necessary to find the TCL
# and curses libraries (if any).  It is (hopefully) filled in
# properly by the configure script.
LDFLAGS =		@LDFLAGS@




# Preprocessor options (-I/.../include) necessary to find the TCL
# and curses header files (if any).  It is (hopefully) filled in
# properly by the configure script.
CPPFLAGS =		@CPPFLAGS@

# Preprocessor definitions.  It should be filled in properly by the
................................................................................
all: @TARGETS@

libctk.a: $(OBJS)
	rm -f libctk.a
	ar cr libctk.a $(OBJS)
	$(RANLIB) libctk.a

libctk.so: $(OBJS)
	rm -f libctk.so
	gcc -rdynamic -shared $(CFLAGS) $(LDFLAGS) -o libctk.so $(OBJS) $(LIBS)

configInfo: Makefile
	@rm -f configInfo
	@echo "# Definitions and libraries needed to build Tk applications" >> configInfo
	@echo "# (generated by the configure script):" >> configInfo
	@echo "TK_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
	@echo "TK_LIBS = @LIBS@" >> configInfo







>
>
>







 







|
|
|







70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
...
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# to -g, change the following line:
CFLAGS = @CFLAGS@

# Linker options (-L/.../lib) necessary to find the TCL
# and curses libraries (if any).  It is (hopefully) filled in
# properly by the configure script.
LDFLAGS =		@LDFLAGS@

# Linker options when compiling a shared object
SHOBJLDFLAGS =          @SHOBJLDFLAGS@

# Preprocessor options (-I/.../include) necessary to find the TCL
# and curses header files (if any).  It is (hopefully) filled in
# properly by the configure script.
CPPFLAGS =		@CPPFLAGS@

# Preprocessor definitions.  It should be filled in properly by the
................................................................................
all: @TARGETS@

libctk.a: $(OBJS)
	rm -f libctk.a
	ar cr libctk.a $(OBJS)
	$(RANLIB) libctk.a

libctk.@SHOBJEXT@: $(OBJS)
	rm -f libctk.@SHOBJEXT@
	$(CC) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o libctk.@SHOBJEXT@ $(OBJS) $(LIBS)

configInfo: Makefile
	@rm -f configInfo
	@echo "# Definitions and libraries needed to build Tk applications" >> configInfo
	@echo "# (generated by the configure script):" >> configInfo
	@echo "TK_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
	@echo "TK_LIBS = @LIBS@" >> configInfo