Update of /cvsroot/gtk2hs/gtk2hs/mk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16252/mk
Modified Files:
common.mk
Log Message:
Apply a couple of patches that we had in our old c2hs tree to our new one.
This makes c2hs understand hierarchical module names and fixes the handling of
typedef'ed C types.
Also make GConfValue.chs & GConfClient.chs work with our new c2hs. It's not
entirely obvious to me if this is an improvement in c2hs or a regression.
Index: common.mk
===================================================================
RCS file: /cvsroot/gtk2hs/gtk2hs/mk/common.mk,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- common.mk 1 Dec 2004 13:19:28 -0000 1.39
+++ common.mk 8 Dec 2004 00:08:13 -0000 1.40
@@ -11,8 +11,8 @@
$(SOURCEDIRS))))
LINK = $(strip $(HC) -o $@ $($(NAME)_HCFLAGS) \
- $(addprefix -package ,$($(NAME)_PACKAGEDEPS)) \
- $(AM_LDFLAGS) $($(NAME)_LDFLAGS))
+ $(addprefix -package ,$($(NAME)_PACKAGEDEPS)) \
+ $(AM_LDFLAGS) $($(NAME)_LDFLAGS))
.hs.o: $(CONFIG_H)
@echo Building for $(NAME)
@@ -75,7 +75,7 @@
--precomp=$($(NAME)_PRECOMP) $($(NAME)_HEADER))
.chs.pp.chs: $(CONFIG_H)
- echo Preprocessing for $(NAME)
+ @echo Preprocessing for $(NAME)
$(strip $(HSCPP) $(AM_CPPFLAGS) \
$(if $(NAME),$($(NAME)_CPPFLAGS) $($(NAME)_CFLAGS),$(CPPFLAGS)) \
$(addprefix -include ,$(CONFIG_H)) \
|