diff options
| author | Roland Reichwein <mail@reichwein.it> | 2023-01-13 17:40:09 +0100 | 
|---|---|---|
| committer | Roland Reichwein <mail@reichwein.it> | 2023-01-13 17:40:09 +0100 | 
| commit | c0d9d61e3330d4f69a9547cc3d0e62970fb7427e (patch) | |
| tree | ffc906ba3ddbe97dbf1042b14063caa7debe141d /plugins/fcgi/Makefile | |
| parent | d14582a1d92e036780166a0b5ec0494d7353cc75 (diff) | |
Added webapp-runner
Diffstat (limited to 'plugins/fcgi/Makefile')
| -rw-r--r-- | plugins/fcgi/Makefile | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/fcgi/Makefile b/plugins/fcgi/Makefile index e878c5d..81502c4 100644 --- a/plugins/fcgi/Makefile +++ b/plugins/fcgi/Makefile @@ -27,11 +27,14 @@ PROGSRC=\  SRC=$(PROGSRC) -all: $(PROJECTNAME).so +all: $(PROJECTNAME).so webapp-runner  $(PROJECTNAME).so: $(SRC:.cpp=.o)  	$(CXX) $(CXXFLAGS) $^ -shared $(LIBS) -o $@ +webapp-runner: webapp-runner.o fastcgiprocess.o +	$(CXX) $(LDFLAGS) $^ $(LDLIBS) $(LIBS) -o $@ +  %.d: %.cpp  	$(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $< @@ -45,13 +48,14 @@ ADD_DEP=Makefile  install:  	mkdir -p $(DESTDIR)/usr/lib/webserver/plugins  	cp $(PROJECTNAME).so $(DESTDIR)/usr/lib/webserver/plugins +	cp webapp-runner $(DESTDIR)/usr/bin  # misc ---------------------------------------------------  debs: $(DISTROS)  clean: -	-rm -f *.o *.so *.d +	-rm -f *.o *.so *.d webapp-runner  .PHONY: clean install all  | 
