Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Use make automatic variables to specify files
Browse files Browse the repository at this point in the history
This fixes some out of tree build issues that were present when manually
specifying the path names
  • Loading branch information
hyperair committed Jul 8, 2010
1 parent c893687 commit c2998a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions GKeyFile/Makefile.am
Expand Up @@ -24,13 +24,13 @@ module_SCRIPTS = gkeyfile-sharp.dll.config


all: gkeyfile-sharp.dll all: gkeyfile-sharp.dll


$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA) $(API): $(RAW_API) $(METADATA)
cp $(srcdir)/$(RAW_API) $(API) cp $< $@
chmod u+w $(API) chmod u+w $@
$(FIXUP) --api=$(API) --metadata=$(srcdir)/$(METADATA) $(FIXUP) --api=$@ --metadata=$(lastword $^)


$(GENERATED_SRCS): $(API) $(GENERATED_SRCS): $(API)
$(CODEGEN) --generate $(API) $(GLIB_SHARP_CFLAGS) --outdir=$(GENERATED_SRCDIR) --customdir=$(srcdir) --assembly-name=gkeyfile-sharp $(CODEGEN) --generate $< $(GLIB_SHARP_CFLAGS) --outdir=$(GENERATED_SRCDIR) --customdir=$(srcdir) --assembly-name=gkeyfile-sharp


gkeyfile-sharp.dll: AssemblyInfo.cs $(GENERATED_SRCS) gkeyfile-sharp.dll: AssemblyInfo.cs $(GENERATED_SRCS)
$(CSC) -keyfile:$(top_srcdir)/gkeyfile-sharp.snk -out:$@ -unsafe -target:library $(GLIB_SHARP_LIBS) $^ $(CSC) -keyfile:$(top_srcdir)/gkeyfile-sharp.snk -out:$@ -unsafe -target:library $(GLIB_SHARP_LIBS) $^
Expand Down

0 comments on commit c2998a9

Please sign in to comment.